GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ProgressBarParser.cpp
Go to the documentation of this file.
1
#include "
ProgressBarParser.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
parsers
8
{
9
void
ProgressBarParser::parse
(
const
json::utility::jsonObject& description)
10
{
11
BaseComponentParser::parse
(description);
12
13
minRange
=
static_cast<
int
>
(description.getInt(
"minRange"
));
14
maxRange
=
static_cast<
int
>
(description.getInt(
"maxRange"
));
15
16
updateStep
=
static_cast<
int
>
(description.getInt(
"updateStep"
));
17
}
18
}
19
}
ProgressBarParser.h
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::parsers::BaseComponentParser::parse
virtual void parse(const json::utility::jsonObject &description)
Definition
BaseComponentParser.cpp:20
gui_framework::parsers::ProgressBarParser::minRange
int minRange
Definition
ProgressBarParser.h:12
gui_framework::parsers::ProgressBarParser::updateStep
int updateStep
Definition
ProgressBarParser.h:14
gui_framework::parsers::ProgressBarParser::parse
void parse(const json::utility::jsonObject &description) override
Definition
ProgressBarParser.cpp:9
gui_framework::parsers::ProgressBarParser::maxRange
int maxRange
Definition
ProgressBarParser.h:13
GUIFramework
src
Deserialization
Parsers
ProgressBars
ProgressBarParser.cpp
Generated by
1.12.0