Page 1 of 1

GetColor Gadget Button

Posted: Tue Jan 14, 2014 3:02 am
by tbreeden
The Reaction GetColor.gadget makes a nice button with the current color selection as its background,
then pops up the Color Wheel when you click on the button.

There does not seem to be any way to put a text label on the button, as GETCOLOR_TitleText only labels the popup window
and GA_Text seems to be ignored.

If I didn't miss something, it would be nice to be able to put a short text on this button.

Thanks,

Tom

Re: GetColor Gadget Button

Posted: Thu Jan 16, 2014 9:46 am
by javierdlr
tbreeden wrote:The Reaction GetColor.gadget makes a nice button with the current color selection as its background,
then pops up the Color Wheel when you click on the button.

There does not seem to be any way to put a text label on the button, as GETCOLOR_TitleText only labels the popup window
and GA_Text seems to be ignored.

If I didn't miss something, it would be nice to be able to put a short text on this button.

Thanks,

Tom
Reading getcolor_gd autodoc it doesn't have GA_Text tag, you can add a label maybe.

Code: Select all

CHILD_Label, IIntuition->NewObject(NULL, "label.image",
 LABEL_Text, "Wheel color label",
TAG_DONE),

Re: GetColor Gadget Button

Posted: Thu Jan 16, 2014 4:09 pm
by tbreeden
Reading getcolor_gd autodoc it doesn't have GA_Text tag, you can add a label maybe.
Yes, no problema.

Tom