Hasty Badger
Small UI library (a branch of Turbo Badger)
|
Public Member Functions | |
TBTextFragmentContentWidget (TBWidget *parent, TBWidget *widget) | |
virtual void | UpdatePos (int x, int y) |
Update the position of the content, relative to the first line of text (no scrolling applied). More... | |
virtual int32_t | GetWidth (TBFontFace *font, TBTextFragment *fragment) |
virtual int32_t | GetHeight (TBFontFace *font, TBTextFragment *fragment) |
virtual int32_t | GetBaseline (TBFontFace *font, TBTextFragment *fragment) |
Public Member Functions inherited from tb::TBTextFragmentContent | |
virtual void | Paint (TBTextFragment *, int32_t, int32_t, TBTextProps *) |
virtual void | Click (TBTextFragment *, int, uint32_t) |
virtual bool | GetAllowBreakBefore () |
virtual bool | GetAllowBreakAfter () |
virtual uint32_t | GetType () |
Get type of fragment content. More... | |
|
virtual |
Update the position of the content, relative to the first line of text (no scrolling applied).
Reimplemented from tb::TBTextFragmentContent.