MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
MyGUI_TextBox.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef __MYGUI_TEXT_BOX_H__
8
#define __MYGUI_TEXT_BOX_H__
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_Widget.h
"
12
13
namespace
MyGUI
14
{
15
19
class
MYGUI_EXPORT
TextBox
:
20
public
Widget
21
{
22
MYGUI_RTTI_DERIVED
(
TextBox
)
23
24
public:
25
TextBox
();
26
28
virtual
IntCoord
getTextRegion();
29
31
virtual
IntSize
getTextSize();
32
34
virtual
void
setCaption(const
UString
& _value);
36
virtual const
UString
& getCaption();
37
39
virtual
void
setFontName(const std::
string
& _value);
41
const std::
string
& getFontName();
42
44
virtual
void
setFontHeight(
int
_value);
46
int
getFontHeight();
47
49
virtual
void
setTextAlign(
Align
_value);
51
Align
getTextAlign();
52
54
virtual
void
setTextColour(const
Colour
& _value);
56
const
Colour
& getTextColour();
57
63
void
setCaptionWithReplacing(const std::
string
& _value);
64
66
virtual
void
setTextShadowColour(const
Colour
& _value);
68
const
Colour
& getTextShadowColour();
69
71
virtual
void
setTextShadow(
bool
_value);
73
bool
getTextShadow();
74
75
protected:
76
virtual
void
setPropertyOverride(const std::
string
& _key, const std::
string
& _value);
77
};
78
79
}
// namespace MyGUI
80
81
#endif // __MYGUI_TEXT_BOX_H__
Generated on Wed Aug 20 2014 00:03:33 for MyGUI by
1.8.3.1