GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
TrackbarControlParser.cpp
Go to the documentation of this file.
2
3using namespace std;
4
5namespace 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}
virtual void parse(const json::utility::jsonObject &description)
void parse(const json::utility::jsonObject &description) override