Handle_t GContext_t
Graphics context handle.
ULong_t Pixel_t
Pixel value.
Handle_t FontStruct_t
Pointer to font structure.
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t SetTextFont
Option_t Option_t TPoint TPoint DrawText
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
Option_t Option_t TPoint TPoint const char text
The color creation and management class.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
Encapsulate fonts used in the GUI system.
FontStruct_t GetFontStruct() const
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Encapsulate a graphics context used in the low level graphics.
This class handles GUI labels.
virtual ~TGLabel()
Delete label.
void SetTextJustify(Int_t tmode)
Set text justification.
FontStruct_t GetFontStruct() const
void Layout() override
Layout label.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
Int_t f3DStyle
3D style (0 - normal, kRaisedFrame - raised, kSunkenFrame - sunken)
void SetText(const char *newText)
TGLabel(const TGLabel &)=delete
Bool_t HasOwnFont() const
Returns kTRUE if text attributes are unique.
Bool_t fDisabled
if kTRUE label looks disabled (shaded text)
static const TGGC * fgDefaultGC
GContext_t fNormGC
graphics context used for drawing label
Int_t GetTextJustify() const
void DoRedraw() override
Redraw label widget.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a label widget as a C++ statement(s) on output stream out.
Int_t GetTopMargin() const
virtual void SetText(TGString *newText)
Set new text in label.
static const TGGC & GetDefaultGC()
Static returning label default graphics context.
void SetText(Int_t number)
void Set3DStyle(Int_t style)
Bool_t fHasOwnFont
kTRUE - font defined locally, kFALSE - globally
Bool_t IsDisabled() const
TGLabel & operator=(const TGLabel &)=delete
void SetForegroundColor(Pixel_t fore) override
Int_t fMRight
margin right
TGFont * fFont
font to draw label
Int_t GetBottomMargin() const
Int_t GetLeftMargin() const
GContext_t GetNormGC() const
UInt_t fTHeight
text height
Int_t fWrapLength
wrap length
static FontStruct_t GetDefaultFontStruct()
Static returning label default font struct.
const char * GetTitle() const override
Returns title of object.
virtual void ChangeText(const char *newText)
TGDimension GetDefaultSize() const override
Return default size.
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
Int_t GetWrapLength() const
Int_t fTMode
text alignment
Bool_t fTextChanged
has text changed
static const TGFont * fgDefaultFont
virtual void Disable(Bool_t on=kTRUE)
Int_t fMBottom
margin bottom
Int_t fTFlags
text flags (see TGFont.h ETextLayoutFlags)
TGTextLayout * fTLayout
text layout
void SetWrapLength(Int_t wl)
const TGString * GetText() const
TGString * fText
label text
Int_t GetRightMargin() const
virtual void SetTitle(const char *label)
TGClient * fClient
Connection to display server.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
Is used to keep track of string measurement information when using the text layout facilities.
ROOT GUI Window base class.
const char * Data() const