16 MenuClickableEntryCfg(
const std::string& _name,
const std::string& _text,
const std::string& _iconPath = std::string());
32 void setName(
const std::string& _name) { m_name = _name; };
33 const std::string&
getName(
void)
const {
return m_name; };
35 void setText(
const std::string& _text) { m_text = _text; };
36 const std::string&
getText(
void)
const {
return m_text; };
38 void setIconPath(
const std::string& _iconPath) { m_iconPath = _iconPath; };
39 const std::string&
getIconPath(
void)
const {
return m_iconPath; };
41 void setToolTip(
const std::string& _toolTip) { m_toolTip = _toolTip; };
42 const std::string&
getToolTip(
void)
const {
return m_toolTip; };
47 std::string m_iconPath;
48 std::string m_toolTip;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30