TGedMarkerSelect Class Reference

#include <TGedMarkerSelect.h>

Inheritance diagram for TGedMarkerSelect:

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

Public Member Functions

 TGedMarkerSelect (const TGWindow *p, Style_t markerStyle, Int_t id)
virtual ~TGedMarkerSelect ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
Style_t GetMarkerStyle () const
void SetMarkerStyle (Style_t pattern)
virtual void MarkerSelected (Style_t marker=0)
virtual void SavePrimitive (ostream &out, Option_t *="")
virtual TGDimension GetDefaultSize () const
 TGedMarkerSelect (const TGWindow *p, Style_t markerStyle, Int_t id)
virtual ~TGedMarkerSelect ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
Style_t GetMarkerStyle () const
void SetMarkerStyle (Style_t pattern)
virtual void MarkerSelected (Style_t marker=0)
virtual void SavePrimitive (ostream &out, Option_t *="")
virtual TGDimension GetDefaultSize () const

Protected Member Functions

virtual void DoRedraw ()
virtual void DoRedraw ()

Protected Attributes

Style_t fMarkerStyle
const TGPicturefPicture
const TGPicturefPicture

Detailed Description

Definition at line 56 of file TGedMarkerSelect.h.


Constructor & Destructor Documentation

TGedMarkerSelect::TGedMarkerSelect ( const TGWindow p,
Style_t  markerStyle,
Int_t  id 
)

Definition at line 138 of file TGedMarkerSelect.cxx.

References fPicture, gClient, TGClient::GetDefaultRoot(), SetMarkerStyle(), and TGedSelect::SetPopup().

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

Definition at line 66 of file TGedMarkerSelect.h.

References fPicture, TGClient::FreePicture(), and gClient.

TGedMarkerSelect::TGedMarkerSelect ( const TGWindow p,
Style_t  markerStyle,
Int_t  id 
)

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

Definition at line 66 of file TGedMarkerSelect.h.

References fPicture, TGClient::FreePicture(), and gClient.


Member Function Documentation

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

Reimplemented from TGedSelect.

Definition at line 165 of file TGedMarkerSelect.cxx.

References TGedSelect::DoRedraw(), TGPicture::Draw(), TGFrame::Draw3dRectangle(), TGFrame::fBorderWidth, TGedSelect::fDrawGC, TGFrame::fHeight, TGObject::fId, fPicture, TGButton::fState, TGGC::GetGC(), TGFrame::GetShadowGC(), gVirtualX, h, TGWidget::IsEnabled(), kButtonDown, kSunkenFrame, w, x, and y.

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

Reimplemented from TGFrame.

Definition at line 150 of file TGedMarkerSelect.cxx.

References TGWidget::fMsgWindow, TGWidget::fWidgetId, GET_MSG(), GET_SUBMSG(), kC_MARKERSEL, kMAR_SELCHANGED, kTRUE, MK_MSG(), TGFrame::SendMessage(), and SetMarkerStyle().

Style_t TGedMarkerSelect::GetMarkerStyle (  )  const [inline]

Definition at line 69 of file TGedMarkerSelect.h.

References fMarkerStyle.

Referenced by MarkerSelected(), and TStyleManager::ModMarkerStyle().

void TGedMarkerSelect::SetMarkerStyle ( Style_t  pattern  ) 

Definition at line 197 of file TGedMarkerSelect.cxx.

References fMarkerStyle, fPicture, TGClient::FreePicture(), gClient, GetMarkerByNumber(), TGClient::GetPicture(), MarkerSelected(), and TGClient::NeedRedraw().

Referenced by ProcessMessage(), TAttMarkerEditor::SetModel(), TGedMarkerSelect(), and TStyleManager::UpdateEditor().

virtual void TGedMarkerSelect::MarkerSelected ( Style_t  marker = 0  )  [inline, virtual]

Definition at line 71 of file TGedMarkerSelect.h.

References TQObject::Emit(), GetMarkerStyle(), and marker.

Referenced by SetMarkerStyle().

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

Reimplemented from TGCheckButton.

Definition at line 217 of file TGedMarkerSelect.cxx.

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

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

Reimplemented from TGCheckButton.

Definition at line 73 of file TGedMarkerSelect.h.

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

Reimplemented from TGedSelect.

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

Reimplemented from TGFrame.

Style_t TGedMarkerSelect::GetMarkerStyle (  )  const [inline]

Definition at line 69 of file TGedMarkerSelect.h.

References fMarkerStyle.

void TGedMarkerSelect::SetMarkerStyle ( Style_t  pattern  ) 

virtual void TGedMarkerSelect::MarkerSelected ( Style_t  marker = 0  )  [inline, virtual]

Definition at line 71 of file TGedMarkerSelect.h.

References TQObject::Emit(), GetMarkerStyle(), and marker.

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

Reimplemented from TGCheckButton.

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

Reimplemented from TGCheckButton.

Definition at line 73 of file TGedMarkerSelect.h.


Member Data Documentation

Style_t TGedMarkerSelect::fMarkerStyle [protected]

Definition at line 59 of file TGedMarkerSelect.h.

Referenced by GetMarkerStyle(), SavePrimitive(), and SetMarkerStyle().

const TGPicture* TGedMarkerSelect::fPicture [protected]

Definition at line 60 of file TGedMarkerSelect.h.

Referenced by DoRedraw(), SetMarkerStyle(), TGedMarkerSelect(), and ~TGedMarkerSelect().

const TGPicture* TGedMarkerSelect::fPicture [protected]

Definition at line 60 of file TGedMarkerSelect.h.


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