MyGUI 3.4.1
Public Member Functions
MyGUI::TextView Class Reference

#include <MyGUI_TextView.h>

Public Member Functions

 TextView ()
 
void update (const UString::utf32string &_text, IFont *_font, int _height, Align _align, VertexColourType _format, int _maxWidth=-1)
 
size_t getCursorPosition (const IntPoint &_value) const
 
IntPoint getCursorPoint (size_t _position) const
 
const IntSizegetViewSize () const
 
size_t getTextLength () const
 
const VectorLineInfogetData () const
 

Detailed Description

Definition at line 18 of file MyGUI_TextView.h.

Constructor & Destructor Documentation

◆ TextView()

MyGUI::TextView::TextView ( )

Definition at line 94 of file MyGUI_TextView.cpp.

Member Function Documentation

◆ getCursorPoint()

IntPoint MyGUI::TextView::getCursorPoint ( size_t  _position) const

Definition at line 333 of file MyGUI_TextView.cpp.

◆ getCursorPosition()

size_t MyGUI::TextView::getCursorPosition ( const IntPoint _value) const

Definition at line 290 of file MyGUI_TextView.cpp.

◆ getData()

const VectorLineInfo & MyGUI::TextView::getData ( ) const

Definition at line 375 of file MyGUI_TextView.cpp.

◆ getTextLength()

size_t MyGUI::TextView::getTextLength ( ) const

Definition at line 370 of file MyGUI_TextView.cpp.

◆ getViewSize()

const IntSize & MyGUI::TextView::getViewSize ( ) const

Definition at line 365 of file MyGUI_TextView.cpp.

◆ update()

void MyGUI::TextView::update ( const UString::utf32string _text,
IFont _font,
int  _height,
Align  _align,
VertexColourType  _format,
int  _maxWidth = -1 
)

Definition at line 100 of file MyGUI_TextView.cpp.


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