MyGUI  3.2.1
MyGUI_MultiListItem.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_MULTI_LIST_ITEM_H__
00008 #define __MYGUI_MULTI_LIST_ITEM_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 #include "MyGUI_TextBox.h"
00012 #include "MyGUI_TabControl.h"
00013 #include "MyGUI_ResizingPolicy.h"
00014 
00015 namespace MyGUI
00016 {
00017 
00021     class MYGUI_EXPORT MultiListItem :
00022         public TextBox
00023     {
00024         MYGUI_RTTI_DERIVED( MultiListItem )
00025 
00026     public:
00027         MultiListItem();
00028 
00030         virtual void setCaption(const UString& _value);
00032         virtual const UString& getCaption();
00033 
00034         void setItemResizingPolicy(ResizingPolicy _value);
00035 
00036         void setItemWidth(int _value);
00037 
00038     protected:
00039         virtual void initialiseOverride();
00040         virtual void shutdownOverride();
00041 
00042         virtual void setPropertyOverride(const std::string& _key, const std::string& _value);
00043 
00044     private:
00045         MultiListBox* getOwner();
00046 
00047     };
00048 
00049 } // namespace MyGUI
00050 
00051 #endif // __MYGUI_MULTI_LIST_ITEM_H__