| Subject | : | Modifying OS/2 icon resources safely? |
| Author | : | RobertM |
| Date | : | 25 May, 2005 on 05:33 |
| Hi, A few questions that some of the brilliant minds out here can hopefully help me with: Can anyone give me some direction on how to modify OS/2's icon resouces safely for things like (but not necessarily limited to) the following?
I know some utilities will on-the-fly draw other icons (like I think xWP), but I'd rather have a method that doesnt require that overhead (I'm finding in large folders with icons changed that way, it can often take a VERY long time for the folder to open or sometimes even lock the GUI itself)
I'm thinking from what work I've done on the icon sets I'm playing with that icon sizes (wrong dimensions that need to be scaled - or - too large - or - both) seem to consume a decent amount of system resources; (which is another reason for my first question - seems a lot less if the icon is already the default icon for an object type).
|
| Subject | : | Re:Modifying OS/2 icon resources safely? |
| Author | : | tex |
| Date | : | 25 May, 2005 on 12:04 |
| [quote]RobertM (25 May, 2005 05:47): Hi, A few questions that some of the brilliant minds out here can hopefully help me with: Can anyone give me some direction on how to modify OS/2's icon resouces safely for things like (but not necessarily limited to) the following? [html]<UL> Robert The following is a toolkit for eCS icon themes. It may contain some information that you can use. http://www.cs-club.org/~alex/os2/utils/it_kit.zip David |
| Subject | : | Re:Modifying OS/2 icon resources safely? |
| Author | : | RobertM |
| Date | : | 25 May, 2005 on 21:53 |
Thanks David, will look into it. - Rob |
| Subject | : | Re:Modifying OS/2 icon resources safely? |
| Author | : | davidfor |
| Date | : | 26 May, 2005 on 03:36 |
| Rob, Alex Taylor's Icon Toolkit is a good place to start. It lists all the icons that can be replaced, plus has some tools to build resource files to replace them in the DLLs. While it is aimed at being used with eCS and it's Icon Theme Manager, the information and resource files are usable with Warp 4. I don't know if a non-eCS version of the Icon Theme Manager exists. There is also Martin Lafaix's Resource Manager package. This has functions to change resources in executables. It should be capable of changing the icons. Some icons can also be changed via the INI files. The LXLite package includes a utility to do this for the main icons. Unfortunately, the last time I tried this, it didn't work. I'm assuming something has changed with recent fixpacks or eCS, as I did use it successfully sometime ago. As to sizes, the icons supplied in OS/2 tend to be 16*16, 20*20, 32*32 and 40*40. And some are in both colour and black & white. But, I've also seen 48*48 icons in there. My memory tells me that OS/2 uses 16*16 and 32*32 for lower resolution, and 20*20 and 40*40 for higher resolutions is correct, but, it's been a while since I've seen the statement. For more information, the source of XWorkplace should include something. Looking at its documentation may help as well. Asking a question like this in the newsgroups is always good as the knowledgeable OS/2 programmers tend to be there. Lastly, are you creating new icons, or, working from a published set on the net? In either case, I'm sure the rest of us will be interested to see them.
|
| Subject | : | Re:Modifying OS/2 icon resources safely? |
| Author | : | BigWarpGuy |
| Date | : | 26 May, 2005 on 14:13 |
| I have noticed that PMView is an option where one can save a picture or photo as an OS/2 icon. Does this work with the theme editor that was mentioned?
--- BigWarpGuy - - - - - - - - - - - - - - - - - - OS/2 Warp-ed/eComStation-ed to the very end. - - - - - - - - - - - - - - - - - |
| Subject | : | Re:Modifying OS/2 icon resources safely? |
| Author | : | davidfor |
| Date | : | 27 May, 2005 on 01:44 |
| The Icon Toolkit can use any valid OS/2 icon that has appropriate resolutions. So, you can use an icon that PMView has created.
--- David |