TGedSelect Class Reference

#include <TGedPatternSelect.h>

Inheritance diagram for TGedSelect:

TGCheckButton TGCheckButton TGTextButton TGTextButton TGTextButton TGTextButton TGButton TGButton TGButton TGButton TGButton TGButton TGButton TGButton TGedMarkerSelect TGedMarkerSelect TGedPatternSelect TGedPatternSelect List of all members.

Public Member Functions

 TGedSelect (const TGWindow *p, Int_t id)
virtual ~TGedSelect ()
virtual Bool_t HandleButton (Event_t *event)
virtual void Enable ()
virtual void Disable ()
virtual void SetPopup (TGedPopup *p)
 TGedSelect (const TGWindow *p, Int_t id)
virtual ~TGedSelect ()
virtual Bool_t HandleButton (Event_t *event)
virtual void Enable ()
virtual void Disable ()
virtual void SetPopup (TGedPopup *p)

Protected Member Functions

virtual void DoRedraw ()
void DrawTriangle (GContext_t gc, Int_t x, Int_t y)
virtual void DoRedraw ()
void DrawTriangle (GContext_t gc, Int_t x, Int_t y)

Protected Attributes

TGGCfDrawGC
TGedPopupfPopup
TGGCfDrawGC
TGedPopupfPopup

Detailed Description

Definition at line 129 of file TGedPatternSelect.h.


Constructor & Destructor Documentation

TGedSelect::TGedSelect ( const TGWindow p,
Int_t  id 
)

Definition at line 406 of file TGedPatternSelect.cxx.

References TGFrame::AddInput(), Enable(), GCValues_t::fBackground, fDrawGC, GCValues_t::fFillStyle, GCValues_t::fForeground, GCValues_t::fLineStyle, GCValues_t::fLineWidth, GCValues_t::fMask, fPopup, gClient, TGClient::GetColorByName(), TGClient::GetGC(), kButtonPressMask, kButtonReleaseMask, kButtonUp, kGCBackground, kGCFillStyle, kGCForeground, kGCLineStyle, kGCLineWidth, kLineSolid, kTRUE, and TGCheckButton::SetState().

TGedSelect::~TGedSelect (  )  [virtual]

Definition at line 431 of file TGedPatternSelect.cxx.

References TGObject::fClient, fDrawGC, fPopup, and TGClient::FreeGC().

TGedSelect::TGedSelect ( const TGWindow p,
Int_t  id 
)

virtual TGedSelect::~TGedSelect (  )  [virtual]


Member Function Documentation

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

Reimplemented from TGCheckButton.

Definition at line 493 of file TGedPatternSelect.cxx.

References TGFrame::DoRedraw(), DrawTriangle(), TGFrame::fBorderWidth, TGFrame::fHeight, TGObject::fId, TGButton::fState, TGFrame::fWidth, TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, h, TGWidget::IsEnabled(), kButtonDown, x, and y.

Referenced by TGedPatternSelect::DoRedraw(), and TGedMarkerSelect::DoRedraw().

void TGedSelect::DrawTriangle ( GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected]

Definition at line 546 of file TGedPatternSelect.cxx.

References TGObject::fId, gVirtualX, and points.

Referenced by DoRedraw().

Bool_t TGedSelect::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCheckButton.

Definition at line 441 of file TGedPatternSelect.cxx.

References Event_t::fCode, TGFrame::fHeight, TGObject::fId, fPopup, TGCheckButton::fPrevState, TGButton::fState, Event_t::fType, gClient, TGCompositeFrame::GetDefaultHeight(), TGClient::GetDefaultRoot(), TGCompositeFrame::GetDefaultWidth(), TGObject::GetId(), gVirtualX, TGFrame::HandleButton(), TGWidget::HasFocus(), TGWidget::IsEnabled(), kButton1, kButtonDown, kButtonPress, kButtonUp, kFALSE, kTRUE, TGedPopup::PlacePopup(), TGCheckButton::SetState(), and TGWidget::WantFocus().

void TGedSelect::Enable (  )  [virtual]

Definition at line 475 of file TGedPatternSelect.cxx.

References TGObject::fClient, kWidgetIsEnabled, TGClient::NeedRedraw(), and TGWidget::SetFlags().

Referenced by TGedSelect(), and TStyleManager::UpdateEditor().

void TGedSelect::Disable (  )  [virtual]

Definition at line 484 of file TGedPatternSelect.cxx.

References TGWidget::ClearFlags(), TGObject::fClient, kWidgetIsEnabled, and TGClient::NeedRedraw().

Referenced by TStyleManager::UpdateEditor().

virtual void TGedSelect::SetPopup ( TGedPopup p  )  [inline, virtual]

Definition at line 146 of file TGedPatternSelect.h.

References fPopup, and p.

Referenced by TGedMarkerSelect::TGedMarkerSelect(), and TGedPatternSelect::TGedPatternSelect().

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

Reimplemented from TGCheckButton.

void TGedSelect::DrawTriangle ( GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected]

virtual Bool_t TGedSelect::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCheckButton.

virtual void TGedSelect::Enable (  )  [virtual]

virtual void TGedSelect::Disable (  )  [virtual]

virtual void TGedSelect::SetPopup ( TGedPopup p  )  [inline, virtual]

Definition at line 146 of file TGedPatternSelect.h.

References fPopup, and p.


Member Data Documentation

TGGC* TGedSelect::fDrawGC [protected]

Definition at line 132 of file TGedPatternSelect.h.

Referenced by TGedPatternSelect::DoRedraw(), TGedMarkerSelect::DoRedraw(), TGedSelect(), and ~TGedSelect().

TGedPopup* TGedSelect::fPopup [protected]

Definition at line 133 of file TGedPatternSelect.h.

Referenced by HandleButton(), SetPopup(), TGedSelect(), and ~TGedSelect().

TGGC* TGedSelect::fDrawGC [protected]

Definition at line 132 of file TGedPatternSelect.h.

TGedPopup* TGedSelect::fPopup [protected]

Definition at line 133 of file TGedPatternSelect.h.


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