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