MyGUI: MyGUI_TabItem.h Source File

MyGUI 3.2.2

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 virtual void setCaption(const UString& _value);
31 virtual const UString& getCaption();
32
34 void setButtonWidth(int _value = DEFAULT);
35
36 protected:
37 virtual void initialiseOverride();
38 virtual void shutdownOverride();
39
40 virtual void setPropertyOverride(const std::string& _key, const std::string& _value);
41 };
42
43 } // namespace MyGUI
44
45 #endif // MYGUI_TAB_ITEM_H_
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition: MyGUI_UString.h:168
MyGUI_Prerequest.h
MyGUI_TabControl.h
MyGUI::TextBox
TextBox properties. Skin childs. TextBox widget description should be here.
Definition: MyGUI_TextBox.h:19
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:65
MyGUI::TabItem
TabItem properties. Skin childs. TabItem widget description should be here.
Definition: MyGUI_TabItem.h:20
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:103
MyGUI::DEFAULT
const int DEFAULT
Definition: MyGUI_Macros.h:18
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI_TextBox.h