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

Fragment content that changes color in a TBStyleEdit. More...

#include <tb_style_edit_content.h>

Inheritance diagram for tb::TBTextFragmentContentTextColor:
tb::TBTextFragmentContent

Public Member Functions

 TBTextFragmentContentTextColor (const TBColor &color)
 
virtual void Paint (TBTextFragment *fragment, int32_t translate_x, int32_t translate_y, TBTextProps *props)
 
virtual bool GetAllowBreakBefore ()
 
virtual bool GetAllowBreakAfter ()
 
- Public Member Functions inherited from tb::TBTextFragmentContent
virtual void UpdatePos (int, int)
 Update the position of the content, relative to the first line of text (no scrolling applied). More...
 
virtual void Click (TBTextFragment *, int, uint32_t)
 
virtual int32_t GetWidth (TBFontFace *, TBTextFragment *)
 
virtual int32_t GetHeight (TBFontFace *, TBTextFragment *)
 
virtual int32_t GetBaseline (TBFontFace *font, TBTextFragment *fragment)
 
virtual uint32_t GetType ()
 Get type of fragment content. More...
 

Public Attributes

TBColor color
 

Detailed Description

Fragment content that changes color in a TBStyleEdit.


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