TGColorDialog
class description - source file - inheritance tree
protected:
void UpdateHLSentries(ULong_t* c)
void UpdateRGBentries(ULong_t* c)
public:
TGColorDialog TGColorDialog(const TGWindow* p, const TGWindow* m, Int_t* retc = 0, ULong_t* color = 0)
TGColorDialog TGColorDialog(const TGColorDialog&)
virtual void ~TGColorDialog()
static TClass* Class()
virtual void CloseWindow()
virtual TClass* IsA() const
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
ULong_t fCurrentColor
Int_t* fRetc
ULong_t* fRetColor
TGColorPalette* fPalette
TGColorPalette* fCpalette
TGColorPick* fColors
TGFrame* fSample
TGTextEntry* fRte
TGTextEntry* fGte
TGTextEntry* fBte
TGTextEntry* fHte
TGTextEntry* fLte
TGTextEntry* fSte
TGTextBuffer* fRtb
TGTextBuffer* fGtb
TGTextBuffer* fBtb
TGTextBuffer* fHtb
TGTextBuffer* fLtb
TGTextBuffer* fStb
TGColorPalette, TGColorPick and TGColorDialog.
The TGColorPalette is a widget showing an matrix of color cells. The
colors can be set and selected.
The TGColorPick is a widget which allows a color to be picked from
HLS space. It consists of two elements: a color map window from
where the user can select the hue and saturation level of a color,
and a slider to select color's lightness.
Selecting a color in these two widgets will generate the event:
kC_COLORSEL, kCOL_CLICK, widget id, 0.
and the signal:
ColorSelected(ULong_t pixel)
The TGColorDialog presents a full featured color selection dialog.
It uses 2 TGColorPalette's and the TGColorPick widgets.
TGColorDialog(const TGWindow *p, const TGWindow *m,
Int_t *retc, ULong_t *color) :
TGTransientFrame(p, m, 200, 150, kHorizontalFrame)
~TGColorDialog()
void CloseWindow()
Called when window is closed via window manager.
void UpdateRGBentries(ULong_t *c)
void UpdateHLSentries(ULong_t *c)
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t /*parm2*/)
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGColorDialog TGColorDialog(const TGColorDialog&)
Author: Bertrand Bellenot + Fons Rademakers 22/08/02
Last update: root/gui:$Name: $:$Id: TGColorDialog.cxx,v 1.8 2003/03/17 16:38:03 rdm Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.