Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBTextFragmentContentWidget Class Reference
Inheritance diagram for tb::TBTextFragmentContentWidget:
tb::TBTextFragmentContent

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...
 

Member Function Documentation

void tb::TBTextFragmentContentWidget::UpdatePos ( int  ,
int   
)
virtual

Update the position of the content, relative to the first line of text (no scrolling applied).

Reimplemented from tb::TBTextFragmentContent.


The documentation for this class was generated from the following file: