12 #ifndef ROOT_TGColorSelect 13 #define ROOT_TGColorSelect 119 void PreviewColor(
Pixel_t color);
120 void PreviewAlphaColor(
ULong_t color);
166 {
Emit(
"ColorSelected(Pixel_t)", color ? color :
GetColor()); }
168 {
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)
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)
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual TGDimension GetDefaultSize() const
default size
const TGWindow * fMsgWindow