TGHotString Class Reference

#include <TGString.h>

Inheritance diagram for TGHotString:

TGString TGString TString TString TString TString List of all members.

Public Member Functions

 TGHotString (const char *s)
Int_t GetHotChar () const
Int_t GetHotPos () const
virtual void Draw (Drawable_t id, GContext_t gc, Int_t x, Int_t y)
virtual void DrawWrapped (Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font)
 TGHotString (const char *s)
Int_t GetHotChar () const
Int_t GetHotPos () const
virtual void Draw (Drawable_t id, GContext_t gc, Int_t x, Int_t y)
virtual void DrawWrapped (Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font)

Protected Member Functions

void DrawHotChar (Drawable_t id, GContext_t gc, Int_t x, Int_t y)
void DrawHotChar (Drawable_t id, GContext_t gc, Int_t x, Int_t y)

Protected Attributes

char fHotChar
Int_t fHotPos
GContext_t fLastGC
Int_t fOff1
Int_t fOff2

Detailed Description

Definition at line 56 of file TGString.h.


Constructor & Destructor Documentation

TGHotString::TGHotString ( const char *  s  ) 

Definition at line 132 of file TGString.cxx.

References TString::Append(), fHotChar, fHotPos, fLastGC, fOff1, fOff2, p, and StrDup().

TGHotString::TGHotString ( const char *  s  ) 


Member Function Documentation

void TGHotString::DrawHotChar ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected]

Definition at line 229 of file TGString.cxx.

References TString::Data(), GCValues_t::fFont, fHotPos, fLastGC, GCValues_t::fMask, fOff1, fOff2, gVirtualX, and kGCFont.

Referenced by Draw(), and DrawWrapped().

Int_t TGHotString::GetHotChar (  )  const [inline]

Definition at line 71 of file TGString.h.

References fHotChar.

Referenced by TGMenuBar::BindMenu(), TGSplitButton::BindMenuKeys(), TGMenuBar::HandleKey(), TGSplitButton::HandleKey(), TGSplitButton::Init(), TGTextButton::Init(), TGCheckButton::Init(), TGRadioButton::Init(), TGSplitButton::SetText(), and TGTextButton::SetText().

Int_t TGHotString::GetHotPos (  )  const [inline]

Definition at line 72 of file TGString.h.

References fHotPos.

Referenced by TGCheckButton::DoRedraw(), TGTextButton::DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), TGMenuTitle::SavePrimitive(), TGRadioButton::SavePrimitive(), TGTextButton::SavePrimitive(), TGCheckButton::SavePrimitive(), and TGPopupMenu::SavePrimitive().

void TGHotString::Draw ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGString.

Definition at line 167 of file TGString.cxx.

References TString::Data(), DrawHotChar(), gVirtualX, and TString::Length().

Referenced by TGMenuTitle::DoRedraw(), and TGuiBldMenuTitle::DoRedraw().

void TGHotString::DrawWrapped ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y,
UInt_t  w,
FontStruct_t  font 
) [virtual]

Reimplemented from TGString.

Definition at line 177 of file TGString.cxx.

References chunk, TString::Data(), DrawHotChar(), fHotPos, gVirtualX, len, TString::Length(), and p.

void TGHotString::DrawHotChar ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected]

Int_t TGHotString::GetHotChar (  )  const [inline]

Definition at line 71 of file TGString.h.

References fHotChar.

Int_t TGHotString::GetHotPos (  )  const [inline]

Definition at line 72 of file TGString.h.

References fHotPos.

virtual void TGHotString::Draw ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGString.

virtual void TGHotString::DrawWrapped ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y,
UInt_t  w,
FontStruct_t  font 
) [virtual]

Reimplemented from TGString.


Member Data Documentation

char TGHotString::fHotChar [protected]

Definition at line 59 of file TGString.h.

Referenced by GetHotChar(), and TGHotString().

Int_t TGHotString::fHotPos [protected]

Definition at line 60 of file TGString.h.

Referenced by DrawHotChar(), DrawWrapped(), GetHotPos(), and TGHotString().

GContext_t TGHotString::fLastGC [protected]

Definition at line 62 of file TGString.h.

Referenced by DrawHotChar(), and TGHotString().

Int_t TGHotString::fOff1 [protected]

Definition at line 63 of file TGString.h.

Referenced by DrawHotChar(), and TGHotString().

Int_t TGHotString::fOff2 [protected]

Definition at line 64 of file TGString.h.

Referenced by DrawHotChar(), and TGHotString().


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