Hi!
I have loaded a very large Iconstrip and assigned it to a Listbox via "SetGadgetIconStrip(ListBox, IconStrip)".
I need the same images in another section of the app as well. So I really would hate to reload them again and keep them in system ram.
1. Can I directly "access" the images stored for the Listbox and draw them in another canvas as image or pixmap?
This way I would not need to hold another copy of the strip inside the system ram.
2. Is there a way to convert the Iconstrip to an image or pixmap. So I at least don't need to reload it again from hdd. I would convert it and it would stay in memory for later usage.
Don't know if these are truly beginner questions... ;)
Thanks as usual,
Grisu
I have loaded a very large Iconstrip and assigned it to a Listbox via "SetGadgetIconStrip(ListBox, IconStrip)".
I need the same images in another section of the app as well. So I really would hate to reload them again and keep them in system ram.
1. Can I directly "access" the images stored for the Listbox and draw them in another canvas as image or pixmap?
This way I would not need to hold another copy of the strip inside the system ram.
2. Is there a way to convert the Iconstrip to an image or pixmap. So I at least don't need to reload it again from hdd. I would convert it and it would stay in memory for later usage.
Don't know if these are truly beginner questions... ;)
Thanks as usual,
Grisu