MyGUI  3.2.1
MyGUI_TabItem.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_TAB_ITEM_H__
00008 #define __MYGUI_TAB_ITEM_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 #include "MyGUI_TextBox.h"
00012 #include "MyGUI_TabControl.h"
00013 
00014 namespace MyGUI
00015 {
00016 
00020     class MYGUI_EXPORT TabItem :
00021         public TextBox // FIXME пока для кэпшена вместо виджета текст (Bug #190)
00022     {
00023         MYGUI_RTTI_DERIVED( TabItem )
00024 
00025     public:
00026         TabItem();
00027 
00029         virtual void setCaption(const UString& _value);
00031         virtual const UString& getCaption();
00032 
00034         void setButtonWidth(int _value = DEFAULT);
00035 
00036     protected:
00037         virtual void initialiseOverride();
00038         virtual void shutdownOverride();
00039 
00040         virtual void setPropertyOverride(const std::string& _key, const std::string& _value);
00041     };
00042 
00043 } // namespace MyGUI
00044 
00045 #endif // __MYGUI_TAB_ITEM_H__