1
Programming / Re: Bigicons
« on: December 05, 2023, 04:38:02 pm »
I showed the ugly side of what can happen. Here is what the good side looks like..
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi RichI then selected Use custom icons and and Dynamic setting it to 56, closed and rebooted.
Nothing changed. The text was still named bigicons.txt.
The filename must not be changed.QuoteI was wonder if this feature was ever tested.
Yes, both at the time of its inclusion in AOS 5.0, and within the last week in response to your postings. WFM.
I replaced my copy of 'bigicons.txt' with yours, then restarted the WPS. Entries that you hadn't changed, such as folders, font palette, and color palette, all came up with the appropriate PNG icon.
It occurs to me that you had previously been replacing icons manually on an object-by-object basis. Doing so would override any changes you've made to the defaults. Have you tried pressing the "Reset icon" button that's displayed when 'png' is selected? Also, the "Browse" button should bring up a file selection dialog that points at the currently active 'bigicons' directory. Does it point at the correct directory?
If problems persist, perhaps you could post a representative sample of your icons (10-20) for objects I'm likely to have, such as stuff in System Setup. This would let me do more comprehensive testing.
I noticed all the icons listed are not in the bigicons folder.
That figures - it was always a mess. (Don't blame meI worked on the code, someone else handled the icons). I see it has been cleaned up a bit but still needs work.
Basically, don't worry about what's in the BIGICONS folder or in 'bigicons.txt'. Consider it a blank slate you can use to do whatever you want. Make a copy then delete stuff you don't want to support and add stuff you do - not just programs but WPS classes and file types too. It's your choice, not "theirs"...
To make things easier, open 'config.sys' and locate "SET BIGICONS=", then change the path to point at your icons folder. While your folder can be anywhere, the final product (say, 'DGicons') should probably go in 'x:\sys\icons' for consistency.
Rich, it may be some time before I have anything ready to try. I noticed all the icons listed are not in the bigicons folder. The folders are easy. It is the other icons. Building pngs I don't see takes time. If I am right, I can even add more program icons to the text and these icons won't be available unless the program is installed. I am also reducing the icons to 80x80. This is a good middle of the road size to lower or increase.PNGs can be used if Dynamic icons are selected in the folder properties menu. There is no default PNG for each folder and icon. You have to manually select a PNG for a PNG to be used for each program object or folder..
David, it's far simpler and "automated" than that. In x\SYS\ICONS\BIGICONS there are over 200 png icons. Their use is controlled by 'bigicons.txt' (also in that directory). It's broken down into categories like WPS class, file type, object ID, etc. Make a backup copy then have at it (you may want to deliver a customized version with your png icon sets).
To get custom icons enabled, goto 'System Setup->Workplace Shell->Icon Size' (it's the very last tab) and check "Use custom icons". On that page, you can also make Dynamic icons the default and set the default size. You have to restart for custom icons to kick in. The other settings are live and happen immediately.
Note: the "default" default size produces icons whose physical size is the same as they would be if you were running your display at 1024*768. For example, at 1920*1080 you need a 56*56 pixel icon to get the same physical size you'd get at 1024*768 using a 40 pixel icon. At UHD (3840*2160), icons have to be 112 pixels to be that size.