library: libGui
#include "TGColorDialog.h"


class description - source file - inheritance tree (.pdf)

class TGColorDialog : public TGTransientFrame

Inheritance Chart:

virtual void CloseWindow() virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) void UpdateHLSentries(Pixel_t* c) void UpdateRGBentries(Pixel_t* c) public:
TGColorDialog(const TGWindow* p = 0, const TGWindow* m = 0, Int_t* retc = 0, Pixel_t* color = 0) TGColorDialog(const TGColorDialog&) virtual ~TGColorDialog() static TClass* Class() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

Pixel_t fCurrentColor Int_t* fRetc Pixel_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

Class Description

 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(Pixel_t color)                                         
 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)


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.19 2005/09/05 13:33:08 rdm Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Class Hierarchy - 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.