Short: Use 3 bitplane icons on >8 color WB (OS3.x, patch.library) Author: drizzt@trashcan.mcnet.de (Martin Hauner) Uploader: m.hauner@tu-bs.de (Martin Hauner) Type: util/wb Replaces: util/wb/SetPens1.0.lha PatchWBPens is a patch like MagicColors for displaying icons stripped to 3 bitplanes in the correct colors on a Workbench screen with more than 8 colors. I wrote it because I didn't get MagicColors so far that icons are displayed in the correct colors when the Workbench opens for the first time. It looks not very perfect when they have at first the wrong colors and then after a few seconds change to the correct ones. PatchWBPens is nearly a complete rewrite of SetPens1.0. Features PatchWBPens will set the correct color pens when: - the Workbench opens for the first time, - the Workbench was temporarily closed, (normally done by graphics programs to get more memory) - the palette prefs has changed. Requirements - It needs the patch.library V3 from Stefan Fuchs (util/libs/PatchLibV3.lha) (included) - AmigaOS 3.x. (not included ;) Installation Just insert the following line anywhere before LoadWB. User-Startup will be fine. run <>NIL: PatchWBPens Misc - You may remove PatchWBPens anytime by sending a break signal (CTRL-C). Though there is no reason to do that. - Is it possible that setting new pen colors will not work correctly when the palette has changed, i.e. not all pens are changed to the new colors. If that is really the case, PatchWBPens sets the new colors before the Workbench (IPrefs) has changed the colors itself. You can correct this by telling PatchWBPens to delay its work by n/50 seconds. ( run <>NIL: PatchWBPens n ) The default value for n is 1. - PatchWBPens OpenWorkBench patch will not be called, if you have installed PatchControl, which is a replacment for SetMan. With SetMan it will work WITHOUT any problem. I have no idea what is wrong here. Problems, Questions? write to: drizzt@trashcan.mcnet.de By the way, would be nice to get any response if anyone else than me is really using it... ;-) ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 6788 3776 44.3% 11-Aug-94 19:08:02 patch.library 7621 3344 56.1% 13-Aug-94 18:35:16 Patch.man 1352 840 37.8% 24-Nov-95 11:54:24 PatchWBPens 2234 1109 50.3% 07-Dec-95 14:36:20 PatchWBPens.readme -------- ------- ----- --------- -------- 17995 9069 49.6% 14-Dec-95 01:51:44 4 files