MyGUI
3.4.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_TabItem.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_TAB_ITEM_H_
8
#define MYGUI_TAB_ITEM_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_TextBox.h
"
12
#include "
MyGUI_TabControl.h
"
13
14
namespace
MyGUI
15
{
16
20
class
MYGUI_EXPORT
TabItem
:
21
public
TextBox
// FIXME temporary use TextBox instead of Widget for caption
22
{
23
MYGUI_RTTI_DERIVED
(
TabItem
)
24
25
public
:
26
TabItem
();
27
29
void
setCaption(
const
UString
& _value)
override
;
31
const
UString
& getCaption()
const override
;
32
34
void
setButtonWidth(
int
_value =
DEFAULT
);
35
36
protected
:
37
void
initialiseOverride()
override
;
38
void
shutdownOverride()
override
;
39
40
void
setPropertyOverride(
const
std::string& _key,
const
std::string& _value)
override
;
41
};
42
43
}
// namespace MyGUI
44
45
#endif
// MYGUI_TAB_ITEM_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition:
MyGUI_Platform.h:89
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition:
MyGUI_RTTI.h:48
MyGUI_TabControl.h
MyGUI_TextBox.h
MyGUI::TabItem
widget description should be here.
Definition:
MyGUI_TabItem.h:22
MyGUI::TextBox
widget description should be here.
Definition:
MyGUI_TextBox.h:21
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition:
MyGUI_UString.h:135
MyGUI
Definition:
MyGUI_ActionController.h:15
MyGUI::DEFAULT
const int DEFAULT
Definition:
MyGUI_Macros.h:18
Generated by
1.9.4