GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ProgressBarAdditionalCreationData.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AdditionalCreationData.h
"
4
#include "
Components/ProgressBars/ProgressBar.h
"
5
#include "
Components/ProgressBars/InfiniteProgressBar.h
"
6
7
namespace
gui_framework
8
{
9
namespace
utility
10
{
12
template
<>
13
class
GUI_FRAMEWORK_API
AdditionalCreationData
<
ProgressBar
>
14
{
15
protected
:
16
int
minRange
;
17
int
maxRange
;
18
int
updateStep
;
19
20
public
:
21
AdditionalCreationData
(
int
minRange = ProgressBar::defaultMinRange,
int
maxRange = ProgressBar::defaultMaxRange,
int
updateStep = ProgressBar::defaultUpdateStep);
22
23
virtual
std::any getData()
const
;
24
25
virtual
~AdditionalCreationData
() =
default
;
26
};
27
29
template
<>
30
class
GUI_FRAMEWORK_API
AdditionalCreationData
<
InfiniteProgressBar
>
31
{
32
protected
:
33
int
animationPeriod
;
34
35
public
:
36
AdditionalCreationData
(
int
animationPeriod = NULL);
37
38
virtual
std::any getData()
const
;
39
40
virtual
~AdditionalCreationData
() =
default
;
41
};
42
}
43
}
AdditionalCreationData.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
InfiniteProgressBar.h
ProgressBar.h
gui_framework::InfiniteProgressBar
Standard non updatable progress bar.
Definition
InfiniteProgressBar.h:12
gui_framework::ProgressBar
Standard updatable progress bar.
Definition
ProgressBar.h:12
gui_framework::utility::AdditionalCreationData< InfiniteProgressBar >::~AdditionalCreationData
virtual ~AdditionalCreationData()=default
gui_framework::utility::AdditionalCreationData< InfiniteProgressBar >::animationPeriod
int animationPeriod
Definition
ProgressBarAdditionalCreationData.h:33
gui_framework::utility::AdditionalCreationData< ProgressBar >::maxRange
int maxRange
Definition
ProgressBarAdditionalCreationData.h:17
gui_framework::utility::AdditionalCreationData< ProgressBar >::minRange
int minRange
Definition
ProgressBarAdditionalCreationData.h:16
gui_framework::utility::AdditionalCreationData< ProgressBar >::~AdditionalCreationData
virtual ~AdditionalCreationData()=default
gui_framework::utility::AdditionalCreationData< ProgressBar >::updateStep
int updateStep
Definition
ProgressBarAdditionalCreationData.h:18
gui_framework::utility::AdditionalCreationData
Base templated class for component creators.
Definition
AdditionalCreationData.h:12
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Utility
AdditionalCreationData
ProgressBarAdditionalCreationData.h
Generated by
1.12.0