My Project
 
Loading...
Searching...
No Matches
HighlightedText Class Reference

#include <highlightedtext.h>

Inheritance diagram for HighlightedText:
Collaboration diagram for HighlightedText:

Public Member Functions

 HighlightedText (float size)
 
void text (const std::string &value, int maxWidth)
 
void setColor (int n, int h)
 

Protected Member Functions

virtual void layout ()
 

Protected Attributes

BitmapTextMultiline * normal
 
BitmapTextMultiline * highlighted
 
int nColor = 0xFFFFFF
 
int hColor = 0xFFFF44
 

Constructor & Destructor Documentation

◆ HighlightedText()

HighlightedText::HighlightedText ( float size)
Here is the call graph for this function:

Member Function Documentation

◆ layout()

void HighlightedText::layout ( )
protectedvirtual

◆ setColor()

void HighlightedText::setColor ( int n,
int h )
Here is the caller graph for this function:

◆ text()

void HighlightedText::text ( const std::string & value,
int maxWidth )
Here is the caller graph for this function:

Member Data Documentation

◆ hColor

int HighlightedText::hColor = 0xFFFF44
protected

◆ highlighted

BitmapTextMultiline* HighlightedText::highlighted
protected

◆ nColor

int HighlightedText::nColor = 0xFFFFFF
protected

◆ normal

BitmapTextMultiline* HighlightedText::normal
protected

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