#include <TGString.h>
Inheritance diagram for TGHotString:
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 |
Definition at line 56 of file TGString.h.
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 | ) |
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] |
Int_t TGHotString::GetHotPos | ( | ) | const [inline] |
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.
char TGHotString::fHotChar [protected] |
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] |
Int_t TGHotString::fOff1 [protected] |
Int_t TGHotString::fOff2 [protected] |