#include <TGedPatternSelect.h>
Inheritance diagram for TGedSelect:
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 | |
TGGC * | fDrawGC |
TGedPopup * | fPopup |
TGGC * | fDrawGC |
TGedPopup * | fPopup |
Definition at line 129 of file TGedPatternSelect.h.
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().
virtual TGedSelect::~TGedSelect | ( | ) | [virtual] |
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().
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.
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] |
Reimplemented from TGCheckButton.
virtual void TGedSelect::Enable | ( | ) | [virtual] |
virtual void TGedSelect::Disable | ( | ) | [virtual] |
virtual void TGedSelect::SetPopup | ( | TGedPopup * | p | ) | [inline, virtual] |
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.