MyGUI 3.4.1
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
14namespace MyGUI
15{
16
21 public TextBox // FIXME temporary use TextBox instead of Widget for caption
22 {
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_
#define MYGUI_EXPORT
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:48
widget description should be here.
Definition: MyGUI_TabItem.h:22
widget description should be here.
Definition: MyGUI_TextBox.h:21
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
const int DEFAULT
Definition: MyGUI_Macros.h:18