12 #ifndef ROOT_TGColorSelect 13 #define ROOT_TGColorSelect 123 void PreviewColor(
Pixel_t color);
124 void PreviewAlphaColor(
ULong_t color);
170 {
Emit(
"ColorSelected(Pixel_t)", color ? color :
GetColor()); }
172 {
Emit(
"AlphaColorSelected(ULong_t)", colptr); }
virtual Bool_t ProcessMessage(Long_t, Long_t, Long_t)
void SetActive(Bool_t in)
virtual Bool_t HandleButton(Event_t *event)
Handle button events in TGColorFrame.
void SetEnabled(Bool_t e=kTRUE)
Set enabled or disabled state of button.
virtual void AlphaColorSelected(ULong_t colptr=0)
void Rename(const char *title)
TGColorPopup * fColorPopup
virtual void SetTitle(const char *label)
virtual void DrawBorder()
Draw TGColorFrame border.
virtual void DoRedraw()
Redraw the frame.
#define ClassDef(name, id)
void Emit(const char *signal)
Acitvate signal without args.
const TGWindow * fMsgWindow
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a frame widget as a C++ statement(s) on output stream out.
TGColorFrame & operator=(const TGColorFrame &)
TGColorFrame(const TGColorFrame &)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void SetDown(Bool_t on=kTRUE, Bool_t emit=kFALSE)
virtual void ColorSelected(Pixel_t color=0)
virtual TGDimension GetDefaultSize() const
default size
const TGWindow * fMsgWindow