GetColor Gadget Button

This forum is for general developer support questions.
Post Reply
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 1:57 am
Location: Charlottesville, VA, USA
Contact:

GetColor Gadget Button

Post 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
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 389
Joined: Sun Jun 19, 2011 11:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: GetColor Gadget Button

Post 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),
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 1:57 am
Location: Charlottesville, VA, USA
Contact:

Re: GetColor Gadget Button

Post by tbreeden »

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

Tom
Post Reply