50 fFontStruct(font), fHasOwnFont(
kFALSE), fColumn(column), fRow(row),
72 fFontStruct(font), fHasOwnFont(
kFALSE), fColumn(column), fRow(row),
141 Int_t max_ascent = 0, max_descent = 0;
145 fTHeight = max_ascent + max_descent;
304 Int_t lx = 0, ly = 0;
347 Int_t max_ascent = 0, max_descent = 0;
351 fTHeight = max_ascent + max_descent;
include TDocParser_001 C image html pict1_TDocParser_001 png width
TGFont * GetFont(const char *font, Bool_t fixedDefault=kTRUE)
Get a font from the font pool.
const TGResourcePool * GetResourcePool() const
FontStruct_t GetFontStruct() const
virtual void DoRedraw()
Redraw the frame.
virtual void SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
virtual void Move(Int_t x, Int_t y)
Move frame.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual Pixel_t GetBackground() const
static Pixel_t fgWhitePixel
static Pixel_t fgBlackPixel
TGGC * GetGC(GCValues_t *values, Bool_t rw=kFALSE)
Get the best matching graphics context depending on values.
TGGC * FindGC(const TGGC *gc)
Find graphics context. Returns 0 in case gc is not found.
void SetFont(FontH_t v)
Set font.
const GCValues_t * GetAttributes() const
TGGCPool * GetGCPool() const
virtual void SetString(const char *s)
const char * GetString() const
virtual void Draw(Drawable_t id, GContext_t gc, Int_t x, Int_t y)
Draw string.
virtual void SelectColumn()
Select the column that this TGTableCell belongs to.
virtual void SetTextJustify(Int_t tmode)
Set the text justify mode of the cell to mode.
static const TGFont * fgDefaultFont
virtual void SetLabel(const char *label)
Set the label of this cell to label.
static const TGGC * fgDefaultGC
virtual UInt_t GetWidth() const
virtual void Resize(UInt_t width, UInt_t height)
Resize the TGTableCell.
virtual void DrawCopy(Handle_t id, Int_t x, Int_t y)
Draw list view item in other window.
virtual void SetFont(FontStruct_t font)
Changes text font.
virtual void SelectRow()
Select the row that this TGTableCell belongs to.
virtual void Highlight()
Highlight the this TGTableCell.
virtual void SetImage(TGPicture *image)
Set the image that this cell contains to image.
virtual void MoveDraw(Int_t x, Int_t y)
Move the TGTableCell and redraw it.
TGTableCell(const TGWindow *p=0, TGTable *table=0, TGString *label=0, UInt_t row=0, UInt_t column=0, UInt_t width=80, UInt_t height=25, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0, Bool_t resize=kTRUE)
TGTableCell constructor.
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
virtual void DoRedraw()
Redraw the TGTableCell.
virtual ~TGTableCell()
TGTableCell destructor.
void Init(Bool_t resize)
Initialise the TGTableCell.
virtual void DrawBorder()
Draw the cell border.
virtual void Select()
Select this TGTableCell.
static const TGGC & GetDefaultGC()
Return default graphics context.
virtual UInt_t GetHeight() const
virtual const TGTableHeader * GetColumnHeader(const UInt_t column) const
Const version of GetColumnHeader();.
virtual const TGTableHeader * GetRowHeader(const UInt_t row) const
Const version of GetRowHeader();.
virtual Pixel_t GetRowBackground(UInt_t row) const
Get the background collor for row.