24 November 2015, 17:10 | #1 |
Registered User
Join Date: Oct 2012
Location: South Shields
Posts: 812
|
Palette and icon questions
After a bit mucking around I finally figured out how to get the palette from CWB on my own Workbench install (using FullPalette). But I also want to apply this palette to Dopus5 but when I open the window the drive icons have a green and blue palette, how do I fix this?
Also in CWB when you open up a device on the main Workbench screen and all the icons are showing, when you drag the slider the icons slide immediately on screen instead of waiting until you let go of the slider. What patch or tool do I need to install to apply this myself to a normal Workbench 3? Finally i'm going to want to also have the menu that pops up when you press the right mouse button on Workbench, I will probably just look at what tool CWB is using for this later tonight but if anyone can tell me for sure now that would also be of help Thanks for reading/answering! |
25 November 2015, 14:03 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
With FullPalette you can lock colors. If they aren`t they can be changed by various programs. If all colors are locked DOpus5 can only use these colors.
Icons are drawn with a special palette. To be shown correct all these colors need to be there (available). If not similar colors are used but that may look bad. There are several patches that let scroll icons in realtime. MCP has one. Opaque or similar named. DOpus5 has a switch in the enviroument settings. Realtime icon scrolling is very slow, so only an eye candy. With MagicMenu you can popup menus wiht right mouse button but I`m not sure if you mean that. |
25 November 2015, 17:03 | #3 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
Pens 0 though 3 are always locked and can be set in Palette prefs. Pens 4 through 7 (for MagicWB) have to be locked by some kind of daemon. That's where FullPalette comes into play if you don't want to use MagicWB-Daemon. In case of different screens it depends on how the daemon works. I suppose that MagicWB-Daemon only works on the Workbench screen. I am not sure about FullPalette, but I think it can be configured to handle other screens, too. NewIcons or OS 3.5+ icons work differently. They indeed store colors and use pens which best match the colors. But they might have problems with different screen, too. I think newicons.library does not care about screens, it always handles the Workbench screen only. On another screen icons would look ugly unless they copy (and lock) the palette from Workbench. In OS 3.5+ you have to supply a screen pointer when opening an icon file, so there colors are not a problem on other screens. If you don't supply a screen pointer, you only get a four-colored icon (which looks ugly, too, but for other reasons). |
|
25 November 2015, 17:47 | #4 | |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Quote:
|
|
25 November 2015, 19:41 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Maybe the numbers you see are not pen numbers. Icon images are stored as bitplanes. Standard icons use two bitplanes, MagicWB icons use three bitplanes.
With two bitplanes you can select pens 0 - 3, with three bitplanes pens 0 - 7. It is impossible to reach other pen numbers with this amount of bitplanes. Well, one could hack the PlanePick and PlaneOnOff fields of the embedded Image structure, but I doubt that Workbench can deal with this, especially if you have a WBPattern set up. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[feature] palette | Asle | project.Maptapper | 2 | 06 July 2013 02:14 |
PNG Icon to Color Icon Converter? | Leandro Jardim | request.Apps | 1 | 24 May 2010 04:39 |
Standard Palette | Brakus | Coders. General | 3 | 04 May 2009 07:08 |
GfxRip Palette and Offset questions | stef80 | project.Sprites | 2 | 06 July 2007 19:59 |
All icons with same palette???? | Rochabian | support.Apps | 6 | 11 January 2007 18:30 |
|
|