|
| | CText (CNxFont *font, const CNxString &text, nxgl_coord_t width) |
| |
| virtual | ~CText (void) |
| |
| virtual void | setText (const CNxString &text) |
| |
| virtual void | setText (FAR const char *text) |
| |
| virtual void | setText (const nxwidget_char_t text) |
| |
| virtual void | append (const CNxString &text) |
| |
| virtual void | insert (const CNxString &text, const int index) |
| |
| virtual void | remove (const int startIndex) |
| |
| virtual void | remove (const int startIndex, const int count) |
| |
| void | setLineSpacing (nxgl_coord_t lineSpacing) |
| |
| void | setWidth (nxgl_coord_t width) |
| |
| void | setFont (CNxFont *font) |
| |
| const int | getLineLength (const int lineNumber) const |
| |
| const int | getLineTrimmedLength (const int lineNumber) const |
| |
| const nxgl_coord_t | getLinePixelLength (const int lineNumber) const |
| |
| const nxgl_coord_t | getLineTrimmedPixelLength (const int lineNumber) const |
| |
| const int32_t | getPixelHeight (void) const |
| |
| const uint8_t | getPixelWidth (void) const |
| |
| const uint8_t | getLineSpacing (void) const |
| |
| const uint8_t | getLineHeight (void) const |
| |
| const int | getLineCount (void) const |
| |
| CNxFont * | getFont (void) const |
| |
| void | stripTopLines (const int lines) |
| |
| void | wrap (void) |
| |
| void | wrap (int charIndex) |
| |
| const int | getLineContainingCharIndex (const int index) const |
| |
| const int | getLineStartIndex (const int line) const |
| |
| | CNxString () |
| |
| | CNxString (FAR const char *text) |
| |
| | CNxString (const nxwidget_char_t letter) |
| |
| | CNxString (const CNxString &string) |
| |
| virtual | ~CNxString () |
| |
| CStringIterator * | newStringIterator (void) const |
| |
| void | copyToCharArray (FAR nxwidget_char_t *buffer) const |
| |
| void | setText (const CNxString &text) |
| |
| void | setText (FAR const char *text) |
| |
| void | setText (FAR const nxwidget_char_t *text, int nchars) |
| |
| void | setText (const nxwidget_char_t text) |
| |
| void | append (const CNxString &text) |
| |
| void | insert (const CNxString &text, const int index) |
| |
| void | remove (const int startIndex) |
| |
| void | remove (const int startIndex, const int count) |
| |
| const unsigned int | getLength (void) const |
| |
| const unsigned int | getAllocSize (void) const |
| |
| const nxwidget_char_t | getCharAt (int index) const |
| |
| const int | indexOf (nxwidget_char_t letter) const |
| |
| const int | indexOf (nxwidget_char_t letter, int startIndex) const |
| |
| const int | indexOf (nxwidget_char_t letter, int startIndex, int count) const |
| |
| const int | lastIndexOf (nxwidget_char_t letter) const |
| |
| const int | lastIndexOf (nxwidget_char_t letter, int startIndex) const |
| |
| const int | lastIndexOf (nxwidget_char_t letter, int startIndex, int count) const |
| |
| CNxString * | subString (int startIndex) const |
| |
| CNxString * | subString (int startIndex, int length) const |
| |
| CNxString & | operator= (const CNxString &string) |
| |
| CNxString & | operator= (const char *string) |
| |
| CNxString & | operator= (nxwidget_char_t letter) |
| |
| int | compareTo (const CNxString &string) const |
| |
This class functions as a wrapper around a char array offering more advanced functionality - it can wrap text, calculate its height in pixels, calculate the width of a row, etc.
Definition at line 108 of file ctext.hxx.