library: libGui
#include "TGColorSelect.h"

TG16ColorSelector


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

class TG16ColorSelector : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TG16ColorSelector

    protected:
TG16ColorSelector(const TG16ColorSelector&) TG16ColorSelector& operator=(const TG16ColorSelector&) public:
TG16ColorSelector(const TGWindow* p = 0) virtual ~TG16ColorSelector() static TClass* Class() Int_t GetActive() virtual TClass* IsA() const virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) void SetActive(Int_t newat) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fActive index of active color cell const TGWindow* fMsgWindow window handling container messages TGColorFrame* fCe[16] matrix of color cells

Class Description

                                                                      
 TGColorFrame, TG16ColorSelector, TGColorPopup and TGColorSelect.     
                                                                      
 The TGColorFrame is a small frame with border showing a specific     
 color.                                                               
                                                                      
 The TG16ColorSelector is a composite frame with 16 TGColorFrames.    
                                                                      
 The TGColorPopup is a popup containing a TG16ColorSelector and a     
 "More..." button which popups up a TGColorDialog allowing custom     
 color selection.                                                     
                                                                      
 The TGColorSelect widget is like a checkbutton but instead of the    
 check mark there is color area with a little down arrow. When        
 clicked on the arrow the TGColorPopup pops up.                       
                                                                      
 Selecting a color in this widget will generate the event:            
 kC_COLORSEL, kCOL_SELCHANGED, widget id, pixel.                      
 and the signal:                                                      
 ColorSelected(Pixel_t color)                                         
                                                                      

TG16ColorSelector(const TGWindow *p)
 TG16ColorSelector constructor.
 The TG16ColorSelector is a composite frame with 16 TGColorFrames.
TG16ColorSelector(const TG16ColorSelector& cs)
copy constructor
TG16ColorSelector& operator=(const TG16ColorSelector& cs)
assignment operator
~TG16ColorSelector()
 TG16ColorSelector destructor.
void SetActive(Int_t newat)
 Set active color frame.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
 Process messages for TG16ColorSelector.
Int_t GetActive()

Author: Bertrand Bellenot + Fons Rademakers 22/08/02
Last update: root/gui:$Name: $:$Id: TGColorSelect.cxx,v 1.22 2006/07/11 09:05:01 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.