Welcome, Guest. Please login or register.

Author Topic: Dynamic Icons  (Read 1879 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16878
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Dynamic Icons
« on: February 12, 2004, 01:11:22 AM »
Changing the icon image dynamically could be a bit of a hassle since it would actually involve modifying the .info files, resulting in a lot of disk extra accessing.

However, simply changing the colour is much easier. The icon.library could be patched to tint icons various colours depending on some user preference based on size or last modified parameters.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16878
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Dynamic Icons
« Reply #1 on: February 12, 2004, 01:34:37 AM »
@tony

Isnt the VAM inbox icon an appicon? In which case it can change under program control.

Normal icons are simply .info files kicking around your drive (or default ones in your env:sys/).

I do think that intercepting icon.library calls to render the icons tinted a particular colour to indicate status is achieveable.
int p; // A