GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseComponentParser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Utility/ComponentSettings.h
"
4
5
namespace
gui_framework
6
{
7
namespace
parsers
8
{
10
struct
GUI_FRAMEWORK_API
BaseComponentParser
11
{
12
std::wstring
className
;
13
utility::ComponentSettings
settings
;
14
std::array<uint8_t, 3>
backgroundColor
;
15
std::array<uint8_t, 3>
textColor
;
16
17
public
:
18
BaseComponentParser
();
19
20
virtual
void
parse(
const
json::utility::jsonObject& description);
21
22
virtual
~BaseComponentParser
() =
default
;
23
};
24
}
25
}
ComponentSettings.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::BaseComponentParser::backgroundColor
std::array< uint8_t, 3 > backgroundColor
Definition
BaseComponentParser.h:14
gui_framework::parsers::BaseComponentParser::~BaseComponentParser
virtual ~BaseComponentParser()=default
gui_framework::parsers::BaseComponentParser::settings
utility::ComponentSettings settings
Definition
BaseComponentParser.h:13
gui_framework::parsers::BaseComponentParser::className
std::wstring className
Definition
BaseComponentParser.h:12
gui_framework::parsers::BaseComponentParser::textColor
std::array< uint8_t, 3 > textColor
Definition
BaseComponentParser.h:15
gui_framework::utility::ComponentSettings
All settings for windows.
Definition
ComponentSettings.h:11
GUIFramework
src
Deserialization
Parsers
BaseComponentParser.h
Generated by
1.12.0