GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ProgressBarAdditionalCreationData.cpp
Go to the documentation of this file.
1
#include "
ProgressBarAdditionalCreationData.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
9
AdditionalCreationData<ProgressBar>::AdditionalCreationData
(
int
minRange,
int
maxRange,
int
updateStep) :
10
minRange(minRange),
11
maxRange(maxRange),
12
updateStep(updateStep)
13
{
14
15
}
16
17
any
AdditionalCreationData<ProgressBar>::getData
()
const
18
{
19
return
make_any<tuple<int, int, int>>(minRange, maxRange, updateStep);
20
}
21
22
AdditionalCreationData<InfiniteProgressBar>::AdditionalCreationData
(
int
animationPeriod) :
23
animationPeriod(animationPeriod)
24
{
25
26
}
27
28
any
AdditionalCreationData<InfiniteProgressBar>::getData
()
const
29
{
30
return
make_any<int>(animationPeriod);
31
}
32
}
33
}
ProgressBarAdditionalCreationData.h
gui_framework::utility::AdditionalCreationData::getData
virtual std::any getData() const
Definition
AdditionalCreationData.h:22
gui_framework::utility::AdditionalCreationData::AdditionalCreationData
AdditionalCreationData()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Utility
AdditionalCreationData
ProgressBarAdditionalCreationData.cpp
Generated by
1.12.0