23 #ifndef __MYGUI_LIST_BOX_H__
24 #define __MYGUI_LIST_BOX_H__
44 size_t getItemCount()
const {
return mItemsInfo.size(); }
53 void removeItemAt(
size_t _index);
56 void removeAllItems();
59 void swapItemsAt(
size_t _index1,
size_t _index2);
62 size_t findItemIndexWith(
const UString& _name);
88 template <
typename ValueType>
89 ValueType * getItemDataAt(
size_t _index,
bool _throw =
true)
91 return Base::getItemDataAt<ValueType>(_index, _throw);
99 void setItemNameAt(
size_t _index,
const UString& _name);
102 const UString& getItemNameAt(
size_t _index);
109 void beginToItemAt(
size_t _index);
131 void shutdownWidgetSkin();
137 std::string mSkinLine;
140 typedef std::vector<UString> VectorUTFString;
141 VectorUTFString mItemsInfo;
147 #endif // __MYGUI_LIST_BOX_H__