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
3using namespace std;
4
5namespace 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}
virtual void parse(const json::utility::jsonObject &description)
void parse(const json::utility::jsonObject &description) override