12 #ifndef ROOT_TGColorSelect
13 #define ROOT_TGColorSelect
170 {
Emit(
"ColorSelected(Pixel_t)", color ? color :
GetColor()); }
172 {
Emit(
"AlphaColorSelected(ULong_t)", colptr); }
void SetAlphaColor(ULong_t color, Bool_t emit=kTRUE)
Set color.
void SetActive(Int_t newat)
Set active color frame.
void SetActive(Bool_t in)
virtual Bool_t HandleButton(Event_t *event)
Handle button events in TGColorFrame.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
void SetEnabled(Bool_t e=kTRUE)
Set enabled or disabled state of button.
virtual void AlphaColorSelected(ULong_t colptr=0)
TG16ColorSelector & operator=(const TG16ColorSelector &)
void Rename(const char *title)
TGColorPopup * fColorPopup
void Disable()
Set state of widget as disabled.
virtual void SetTitle(const char *label)
virtual void DrawBorder()
Draw TGColorFrame border.
virtual ~TG16ColorSelector()
TG16ColorSelector destructor.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save a color select widget as a C++ statement(s) on output stream out.
#define ClassDef(name, id)
TGColorSelect(const TGColorSelect &)
virtual Bool_t HandleButton(Event_t *event)
Handle button events for TGColorSelect.
TG16ColorSelector(const TG16ColorSelector &)
void Emit(const char *signal)
Acitvate signal without args.
const TGWindow * fMsgWindow
TGColorSelect & operator=(const TGColorSelect &)
TGColorFrame & operator=(const TGColorFrame &)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process messages for TGColorSelect.
TGColorFrame(const TGColorFrame &)
void SetDown(Bool_t on=kTRUE, Bool_t emit=kFALSE)
void DrawTriangle(GContext_t gc, Int_t x, Int_t y)
Draw triangle (arrow) on which user can click to open TGColorPopup.
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process messages for TG16ColorSelector.
virtual void ColorSelected(Pixel_t color=0)
virtual ~TGColorSelect()
TGColorSelect destructor.
void Enable(Bool_t on=kTRUE)
Set state of widget as enabled.
virtual TGDimension GetDefaultSize() const
default size
virtual void DoRedraw()
Redraw TGColorSelect widget.
const TGWindow * fMsgWindow