MyGUI
3.2.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_TextView.h
Go to the documentation of this file.
1
6
#ifndef __MYGUI_TEXT_VIEW_H__
7
#define __MYGUI_TEXT_VIEW_H__
8
9
#include "
MyGUI_Prerequest.h
"
10
#include "
MyGUI_TextureUtility.h
"
11
#include "
MyGUI_TextViewData.h
"
12
#include "
MyGUI_IFont.h
"
13
14
namespace
MyGUI
15
{
16
17
class
TextView
18
{
19
public
:
20
TextView
();
21
22
void
update
(
const
UString
& _text,
IFont
* _font,
int
_height,
Align
_align,
VertexColourType
_format,
int
_maxWidth = -1);
23
24
size_t
getCursorPosition
(
const
IntPoint
& _value);
25
26
IntPoint
getCursorPoint
(
size_t
_position);
27
28
const
IntSize
&
getViewSize
()
const
;
29
30
size_t
getTextLength
()
const
;
31
32
const
VectorLineInfo
&
getData
()
const
;
33
34
private
:
35
IntSize
mViewSize;
36
size_t
mLength;
37
VectorLineInfo
mLineInfo;
38
int
mFontHeight;
39
};
40
41
}
// namespace MyGUI
42
43
#endif // __MYGUI_TEXT_VIEW_H__
Generated by
1.8.3.1