12#ifndef ROOT_TGStatusBar
13#define ROOT_TGStatusBar
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 text
The base class for composite widgets (menu bars, list boxes, etc.).
Encapsulate fonts used in the GUI system.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Encapsulate a graphics context used in the low level graphics.
A composite frame that layout their children in horizontal way.
Provides a StatusBar widget.
virtual ~TGStatusBar()
Delete status bar widget.
static FontStruct_t GetDefaultFontStruct()
Return default font structure in use.
void AddText(const char *text, Int_t partidx=0)
Int_t * fParts
size of parts (in percent of total width)
static const TGGC & GetDefaultGC()
Return default graphics context in use.
const char * GetText(Int_t partidx=0) const
return text in the part partidx
Int_t * fXt
x position for each part
void DrawBorder() override
Draw the status bar border (including cute 3d corner).
void DoRedraw() override
Redraw status bar.
static const TGFont * fgDefaultFont
void Draw3DCorner(Bool_t corner)
Int_t fYt
y drawing position (depending on font)
TGDimension GetDefaultSize() const override
Return default size.
TGCompositeFrame * GetBarPart(Int_t npart) const
Returns bar part.
virtual void SetText(TGString *text, Int_t partidx=0)
Set text in partition partidx in status bar.
TGStatusBar & operator=(const TGStatusBar &)=delete
Int_t fNpart
number of parts
static TGGC * fgDefaultGC
virtual void SetParts(Int_t npart)
Divide the status bar in npart equal sized parts.
Bool_t f3DCorner
draw 3D corner (drawn by default)
TGStatusBar(const TGStatusBar &)=delete
TGStatusBarPart ** fStatusPart
frames containing statusbar text
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a status bar widget as a C++ statement(s) on output stream out.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
ROOT GUI Window base class.