7#ifndef MYGUI_MENU_ITEM_H_
8#define MYGUI_MENU_ITEM_H_
35 void setFontName(
const std::string&
_value)
override;
38 void setFontHeight(
int _value)
override;
43 const UString& getItemName()
const;
49 template <
typename ValueType>
59 void setItemId(
const std::string&
_value);
61 const std::string& getItemId()
const;
64 size_t getItemIndex()
const;
70 template <
typename Type>
73 return mOwner->createItemChildT<
Type>(
this);
82 void setItemChildVisible(
bool _value);
90 bool getItemChecked()
const;
91 void setItemChecked(
bool _value);
95 IntSize _getContentSize()
const;
98 void initialiseOverride()
override;
99 void shutdownOverride()
override;
101 void setPropertyOverride(
const std::string&
_key,
const std::string&
_value)
override;
#define MYGUI_RTTI_DERIVED(DerivedType)
A UTF-16 string with implicit conversion to/from std::string and std::wstring.