GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ButtonParser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Deserialization/Parsers/BaseComponentParser.h
"
4
5
namespace
gui_framework
6
{
7
namespace
parsers
8
{
10
struct
GUI_FRAMEWORK_API
ButtonParser
:
public
BaseComponentParser
11
{
12
std::wstring
text
;
13
std::string
onClickFunctionName
;
14
std::string
onClickFunctionModule
;
15
std::string
pathToModule
;
16
17
public
:
18
ButtonParser
() =
default
;
19
20
void
parse(
const
json::utility::jsonObject& description)
override
;
21
22
~ButtonParser
() =
default
;
23
};
24
}
25
}
BaseComponentParser.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::parsers::BaseComponentParser
Parse BaseComponent properties.
Definition
BaseComponentParser.h:11
gui_framework::parsers::ButtonParser
Parse Button specific properties.
Definition
ButtonParser.h:11
gui_framework::parsers::ButtonParser::onClickFunctionName
std::string onClickFunctionName
Definition
ButtonParser.h:13
gui_framework::parsers::ButtonParser::~ButtonParser
~ButtonParser()=default
gui_framework::parsers::ButtonParser::onClickFunctionModule
std::string onClickFunctionModule
Definition
ButtonParser.h:14
gui_framework::parsers::ButtonParser::ButtonParser
ButtonParser()=default
gui_framework::parsers::ButtonParser::text
std::wstring text
Definition
ButtonParser.h:12
gui_framework::parsers::ButtonParser::pathToModule
std::string pathToModule
Definition
ButtonParser.h:15
GUIFramework
src
Deserialization
Parsers
Buttons
ButtonParser.h
Generated by
1.12.0