TG16ColorSelector


class description - source file - inheritance tree

class TG16ColorSelector : public TGCompositeFrame


    public:
TG16ColorSelector TG16ColorSelector(const TGWindow* p) TG16ColorSelector TG16ColorSelector(const TG16ColorSelector&) virtual void ~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 const TGWindow* fMsgWindow TGColorFrame* fCe[16]

Class Description

                                                                      
 TGColorFrame, TG16ColorSelector, TGColorPopup and TGColorSelect.     
                                                                      
 The TGColorFrame is a small framw 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(ULong_t pixel)                                         
                                                                      


TG16ColorSelector(const TGWindow *p) : TGCompositeFrame(p, 10, 10)

~TG16ColorSelector()

void SetActive(Int_t newat)

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)



Inline Functions


                    Int_t GetActive()
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        TG16ColorSelector TG16ColorSelector(const TG16ColorSelector&)


Author: Bertrand Bellenot + Fons Rademakers 22/08/02
Last update: root/gui:$Name: $:$Id: TGColorSelect.cxx,v 1.1 2002/09/14 00:35:05 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.