TGedPatternFrame Class Reference

#include <TGedPatternSelect.h>

Inheritance diagram for TGedPatternFrame:

TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGedPatternFrame (const TGWindow *p, Style_t pattern, Int_t width=40, Int_t height=20)
virtual ~TGedPatternFrame ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual void DrawBorder ()
void SetActive (Bool_t in)
Style_t GetPattern () const
 TGedPatternFrame (const TGWindow *p, Style_t pattern, Int_t width=40, Int_t height=20)
virtual ~TGedPatternFrame ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual void DrawBorder ()
void SetActive (Bool_t in)
Style_t GetPattern () const

Static Public Member Functions

static void SetFillStyle (TGGC *gc, Style_t fstyle)
static void SetFillStyle (TGGC *gc, Style_t fstyle)

Protected Member Functions

virtual void DoRedraw ()
virtual void DoRedraw ()

Protected Attributes

const TGWindowfMsgWindow
Bool_t fActive
Style_t fPattern
TGToolTipfTip
char fTipText [5]
const TGWindowfMsgWindow
TGToolTipfTip

Static Protected Attributes

static TGGCfgGC
static TGGCfgGC

Detailed Description

Definition at line 69 of file TGedPatternSelect.h.


Constructor & Destructor Documentation

TGedPatternFrame::TGedPatternFrame ( const TGWindow p,
Style_t  pattern,
Int_t  width = 40,
Int_t  height = 20 
)

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

Definition at line 84 of file TGedPatternSelect.h.

References fTip.

TGedPatternFrame::TGedPatternFrame ( const TGWindow p,
Style_t  pattern,
Int_t  width = 40,
Int_t  height = 20 
)

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

Definition at line 84 of file TGedPatternSelect.h.

References fTip.


Member Function Documentation

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

Reimplemented from TGFrame.

Definition at line 141 of file TGedPatternSelect.cxx.

References TGFrame::DoRedraw(), TGFrame::fHeight, TGObject::fId, fPattern, TGFrame::fWidth, gVirtualX, and SetFillStyle().

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

Reimplemented from TGFrame.

Definition at line 118 of file TGedPatternSelect.cxx.

References Event_t::fCode, fMsgWindow, fPattern, Event_t::fType, kButtonPress, kC_PATTERNSEL, kPAT_CLICK, kPAT_SELCHANGED, kTRUE, MK_MSG(), and TGFrame::SendMessage().

Bool_t TGedPatternFrame::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 104 of file TGedPatternSelect.cxx.

References fTip, Event_t::fType, TGToolTip::Hide(), kEnterNotify, kTRUE, and TGToolTip::Reset().

void TGedPatternFrame::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 132 of file TGedPatternSelect.cxx.

References TGFrame::Draw3dRectangle(), TGFrame::fHeight, TGObject::fId, TGFrame::fWidth, TGFrame::GetBckgndGC(), gVirtualX, kDoubleBorder, and kSunkenFrame.

void TGedPatternFrame::SetActive ( Bool_t  in  )  [inline]

Definition at line 90 of file TGedPatternSelect.h.

References fActive, gClient, and TGClient::NeedRedraw().

Referenced by TGedPatternSelector::SetActive().

Style_t TGedPatternFrame::GetPattern (  )  const [inline]

Definition at line 91 of file TGedPatternSelect.h.

References fPattern.

void TGedPatternFrame::SetFillStyle ( TGGC gc,
Style_t  fstyle 
) [static]

Definition at line 154 of file TGedPatternSelect.cxx.

References gClient, TGClient::GetDefaultRoot(), TGObject::GetId(), gStipples, gVirtualX, kFillSolid, kFillStippled, TGGC::SetFillStyle(), and TGGC::SetStipple().

Referenced by TGedPatternSelect::DoRedraw(), DoRedraw(), G__G__Ged_281_0_8(), and G__setup_memfuncTGedPatternFrame().

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

Reimplemented from TGFrame.

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

Reimplemented from TGFrame.

virtual Bool_t TGedPatternFrame::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

virtual void TGedPatternFrame::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

void TGedPatternFrame::SetActive ( Bool_t  in  )  [inline]

Definition at line 90 of file TGedPatternSelect.h.

References fActive, gClient, and TGClient::NeedRedraw().

Style_t TGedPatternFrame::GetPattern (  )  const [inline]

Definition at line 91 of file TGedPatternSelect.h.

References fPattern.

static void TGedPatternFrame::SetFillStyle ( TGGC gc,
Style_t  fstyle 
) [static]


Member Data Documentation

const TGWindow* TGedPatternFrame::fMsgWindow [protected]

Definition at line 72 of file TGedPatternSelect.h.

Referenced by HandleButton().

Bool_t TGedPatternFrame::fActive [protected]

Definition at line 73 of file TGedPatternSelect.h.

Referenced by SetActive().

Style_t TGedPatternFrame::fPattern [protected]

Definition at line 74 of file TGedPatternSelect.h.

Referenced by DoRedraw(), GetPattern(), and HandleButton().

TGGC* TGedPatternFrame::fgGC [static, protected]

Definition at line 75 of file TGedPatternSelect.h.

TGToolTip* TGedPatternFrame::fTip [protected]

Definition at line 76 of file TGedPatternSelect.h.

Referenced by HandleCrossing(), and ~TGedPatternFrame().

char TGedPatternFrame::fTipText [protected]

Definition at line 77 of file TGedPatternSelect.h.

const TGWindow* TGedPatternFrame::fMsgWindow [protected]

Definition at line 72 of file TGedPatternSelect.h.

TGGC* TGedPatternFrame::fgGC [static, protected]

Definition at line 75 of file TGedPatternSelect.h.

TGToolTip* TGedPatternFrame::fTip [protected]

Definition at line 76 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