library: libGed #include "TGedDrawPanel.h"

# TGedDrawPanel

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

## class TGedDrawPanel : public TGMainFrame

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

<-

`TGMainFrame`

<-

`TGedDrawPanel`

        protected:

                        TGedDrawPanel()
           virtual void AddRadioOption(TGRadioButton** group, const char* *const data, Int_t count)
                   void Build()
           virtual void Clean()
           virtual void DrawHistogram()
           virtual void ParseOption(const char *const options)
           virtual void ParseRadio(const char *const option, TGRadioButton** group, const char* *const data, Int_t index)
           virtual void ProcessSlider(Long_t submsg)
           virtual void ReadOption()
           virtual void Reset()
           virtual void SetHistogram(TObject* histogram, TPad* pad)
           virtual void SetRadio(TGRadioButton** group, Int_t count, Int_t index)

        public:

                          TGedDrawPanel(const TGedDrawPanel&)
                  virtual ~TGedDrawPanel()
           static TClass* Class()
             virtual void CloseWindow()
          virtual TClass* IsA() const
           virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
              static void ShowPanel(TObject* histogram, TPad* pad)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          static TGedDrawPanel* fDrawPanel
                 TGRadioButton* fType[12]
                 TGRadioButton* fCoords[4]
                 TGRadioButton* fErrors[5]
                TGDoubleSlider* fSlider
                       TObject* fHistogram
                          TPad* fRefPad
                        TString fOption

## Class Description

     TGedDrawPanel

void ShowPanel(TObject* histogram, TPad* pad)

TGedDrawPanel() : TGMainFrame(gClient->GetRoot(), 300, 500, kVerticalFrame)

~TGedDrawPanel()

void Build()

void SetRadio(TGRadioButton **group, Int_t count, Int_t index)

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

void CloseWindow()

void ProcessSlider(Long_t submsg)

     Control mousse events when slider is used in a drawpanel

void AddRadioOption(TGRadioButton **group, const char * const * const data, Int_t count)

void ReadOption()

void ParseRadio(const char * const option, TGRadioButton **group, const char * const * const data, Int_t count)

void ParseOption(const char * const option)

void DrawHistogram()

void Reset()

void Clean()

void SetHistogram(TObject* histogram, TPad* pad)

     Set default draw panel options.

### Inline Functions

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

Author: Marek Biskup, Ilka Antcheva 15/08/2003
Last update: root/ged:$Name: $:$Id: TGedDrawPanel.cxx,v 1.5 2004/02/19 15:36:45 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *