17 ToolButtonCfg(
const std::string& _name,
const std::string& _text,
const std::string& _relativeIconPath = std::string(),
const MenuCfg& _menu =
MenuCfg());
31 void setText(
const std::string& _text) { m_text = _text; };
32 const std::string&
getText(
void)
const {
return m_text; };
34 void setIconPath(
const std::string& _relativeIconPath) { m_iconPath = _relativeIconPath; };
35 const std::string&
getIconPath(
void)
const {
return m_iconPath; };
39 std::string m_iconPath;
#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