TGedPatternSelect Class Reference

#include <TGedPatternSelect.h>

Inheritance diagram for TGedPatternSelect:

TGedSelect TGedSelect TGCheckButton TGCheckButton TGCheckButton TGCheckButton TGTextButton TGTextButton TGTextButton TGTextButton TGTextButton TGTextButton TGTextButton TGTextButton List of all members.

Public Member Functions

 TGedPatternSelect (const TGWindow *p, Style_t pattern, Int_t id)
virtual ~TGedPatternSelect ()
void SetPattern (Style_t pattern, Bool_t emit=kTRUE)
Style_t GetPattern () const
virtual TGDimension GetDefaultSize () const
virtual void PatternSelected (Style_t pattern=0)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void SavePrimitive (ostream &out, Option_t *="")
 TGedPatternSelect (const TGWindow *p, Style_t pattern, Int_t id)
virtual ~TGedPatternSelect ()
void SetPattern (Style_t pattern, Bool_t emit=kTRUE)
Style_t GetPattern () const
virtual TGDimension GetDefaultSize () const
virtual void PatternSelected (Style_t pattern=0)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void SavePrimitive (ostream &out, Option_t *="")

Protected Member Functions

virtual void DoRedraw ()
virtual void DoRedraw ()

Protected Attributes

Style_t fPattern

Detailed Description

Definition at line 151 of file TGedPatternSelect.h.


Constructor & Destructor Documentation

TGedPatternSelect::TGedPatternSelect ( const TGWindow p,
Style_t  pattern,
Int_t  id 
)

Definition at line 564 of file TGedPatternSelect.cxx.

References fPattern, gClient, TGClient::GetDefaultRoot(), SetPattern(), and TGedSelect::SetPopup().

virtual TGedPatternSelect::~TGedPatternSelect (  )  [inline, virtual]

Definition at line 160 of file TGedPatternSelect.h.

TGedPatternSelect::TGedPatternSelect ( const TGWindow p,
Style_t  pattern,
Int_t  id 
)

virtual TGedPatternSelect::~TGedPatternSelect (  )  [inline, virtual]

Definition at line 160 of file TGedPatternSelect.h.


Member Function Documentation

void TGedPatternSelect::DoRedraw (  )  [protected, virtual]

Reimplemented from TGedSelect.

Definition at line 590 of file TGedPatternSelect.cxx.

References TGedSelect::DoRedraw(), TGFrame::Draw3dRectangle(), TGFrame::fBorderWidth, TGedSelect::fDrawGC, TGFrame::fHeight, TGObject::fId, fPattern, TGButton::fState, gClient, TGClient::GetColorByName(), TGGC::GetGC(), TGFrame::GetShadowGC(), gVirtualX, h, TGWidget::IsEnabled(), kButtonDown, kSunkenFrame, TGedPatternFrame::SetFillStyle(), TGGC::SetForeground(), w, x, and y.

void TGedPatternSelect::SetPattern ( Style_t  pattern,
Bool_t  emit = kTRUE 
)

Definition at line 632 of file TGedPatternSelect.cxx.

References fPattern, gClient, TGClient::NeedRedraw(), and PatternSelected().

Referenced by ProcessMessage(), TParallelCoordEditor::SetModel(), TSpiderEditor::SetModel(), TH2Editor::SetModel(), TAttFillEditor::SetModel(), TGedPatternSelect(), and TStyleManager::UpdateEditor().

Style_t TGedPatternSelect::GetPattern (  )  const [inline]

Definition at line 163 of file TGedPatternSelect.h.

References fPattern.

Referenced by TStyleManager::ModFillStyle(), TStyleManager::ModFrameFillStyle(), TStyleManager::ModHistFillStyle(), TStyleManager::ModTitleStyle(), and PatternSelected().

virtual TGDimension TGedPatternSelect::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCheckButton.

Definition at line 164 of file TGedPatternSelect.h.

virtual void TGedPatternSelect::PatternSelected ( Style_t  pattern = 0  )  [inline, virtual]

Definition at line 165 of file TGedPatternSelect.h.

References TQObject::Emit(), and GetPattern().

Referenced by SetPattern().

Bool_t TGedPatternSelect::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGFrame.

Definition at line 575 of file TGedPatternSelect.cxx.

References TGWidget::fMsgWindow, TGWidget::fWidgetId, GET_MSG(), GET_SUBMSG(), kC_PATTERNSEL, kPAT_SELCHANGED, kTRUE, MK_MSG(), TGFrame::SendMessage(), and SetPattern().

void TGedPatternSelect::SavePrimitive ( ostream &  out,
Option_t = "" 
) [virtual]

Reimplemented from TGCheckButton.

Definition at line 643 of file TGedPatternSelect.cxx.

References TGWindow::fParent, fPattern, TGWindow::GetName(), and TGWidget::WidgetId().

virtual void TGedPatternSelect::DoRedraw (  )  [protected, virtual]

Reimplemented from TGedSelect.

void TGedPatternSelect::SetPattern ( Style_t  pattern,
Bool_t  emit = kTRUE 
)

Style_t TGedPatternSelect::GetPattern (  )  const [inline]

Definition at line 163 of file TGedPatternSelect.h.

References fPattern.

virtual TGDimension TGedPatternSelect::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCheckButton.

Definition at line 164 of file TGedPatternSelect.h.

virtual void TGedPatternSelect::PatternSelected ( Style_t  pattern = 0  )  [inline, virtual]

Definition at line 165 of file TGedPatternSelect.h.

References TQObject::Emit(), and GetPattern().

virtual Bool_t TGedPatternSelect::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGFrame.

virtual void TGedPatternSelect::SavePrimitive ( ostream &  out,
Option_t = "" 
) [virtual]

Reimplemented from TGCheckButton.


Member Data Documentation

Style_t TGedPatternSelect::fPattern [protected]

Definition at line 154 of file TGedPatternSelect.h.

Referenced by DoRedraw(), GetPattern(), SavePrimitive(), SetPattern(), and TGedPatternSelect().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1