I'm trying to create a dropdown Chooser gadget using a AISS image for the click-on display to activate the drop-down, and have one minor(?) problem. Everything works as it should except that I can't get anything but a ghosted image displayed.
SDK is 53.24
chooser.h is 53.21 (29.9.2013)
Chooser gadget ver is 53.18 (09/12/2010)
AmigaOne X1000 AmigaOS 4.1 upd 6
Using Tags BITMAP_SourceFile, BITMAP_SelectSourceFile, and BITMAP_DisabledSourceFile
for filnames "TBImages:increase", "TBImages:increase_s", and "TBImages:increase_g"
(plus BITMAP_Screen and BITMAP_Masking)
I can successfully call BitMapObject().
ChooserObject() with tag GAImage for that image object is good.
But the image comes up ghosted, though the dropdown on click works fine.
Setting GADisable to FALSE does not change the image.
Setting GADisabled to TRUE does disable the gadget, but the image does not change.
Setting up the image with only BITMAP_SourceFile works the same, except the image looks more like an algorithmically disabled normal image than the "TBImages:increase_g".
Setting up and creating a Button gadget with the same AISS images has no such problems.
It sure looks as if there is a bug in Chooser gadget dropdown with an image that always displays the ghosted mode.
Is this a known bug, or is there something else I need to do?
If you post a simple test program (source code) I can test if this still applies with the latest beta version and try to fix it if necessary.
Here it is TstChooserImg.c
It shows an Image Button and an Image Dropdown Chooser.
The CheckBox next to each with enable and disable them.
The Button works.
The Dropdown Chooser works as well, but shows only the the Disabled Image that was assigned.
Thanks. I've just fixed the bug in the latest chooser.gadget version (V53.21).
Great, I'll use the standard text dropdown and look forward to the next release.