Old 21st June 2010, 13:18   #1
Junior Member
Join Date: Jun 2010
Posts: 5
adjusting images in ListView


In my plugin I use List View with icons. But color of icons have to be changed when user selects other color theme. I see that it takes place for icons used in library plagin. So

1. Does winamp give methods to adjust color of icon for paticular color theme? (In file ml_ipc_0313.h there are messages for working with MLIMAGELIST)
2. If winamp gives these methods can somebody to give example of using them?
3. In any case I would like to have example of using MLIMAGELIST (I could find nothing about using MLIMAGELIST, except header ml_ipc_0313.h)

thanks in advance
alcrux is offline   Reply With Quote
Old 21st June 2010, 13:40   #2
Join Date: Sep 2003
Posts: 27,877
i had thought there were was an example in one of the ml plug-in examples in the sdk which may show how to use the imagelist stuff from ml_ipc_0313.h. if you have a look at the icons used with a resource editor you can see how they're meant to be done (has been a while since i last did it but i think it's meant to be a greyscale image).

i guess i'll have to find some time to sort out a mini example (just can't give an eta on time as i'm time limited due to other projects currently).

DrO is offline   Reply With Quote
Go Back   Winamp & SHOUTcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump