GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
TrackbarControlAdditionalCreationData.cpp
Go to the documentation of this file.
1
#include "
TrackbarControlAdditionalCreationData.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
9
AdditionalCreationData<HorizontalTrackbarControl>::AdditionalCreationData
(
bool
autoTicks,
HorizontalTrackbarControl::horizontalTickPosition
position,
bool
selectionRange,
bool
noTicks) :
10
autoTicks(autoTicks),
11
position(position),
12
selectionRange(selectionRange),
13
noTicks(noTicks)
14
{
15
16
}
17
18
any
AdditionalCreationData<HorizontalTrackbarControl>::getData
()
const
19
{
20
return
make_any<tuple<bool, HorizontalTrackbarControl::horizontalTickPosition, bool, bool>>(autoTicks, position, selectionRange, noTicks);
21
}
22
23
AdditionalCreationData<VerticalTrackbarControl>::AdditionalCreationData
(
bool
autoTicks,
VerticalTrackbarControl::verticalTickPosition
position,
bool
selectionRange,
bool
noTicks) :
24
autoTicks(autoTicks),
25
position(position),
26
selectionRange(selectionRange),
27
noTicks(noTicks)
28
{
29
30
}
31
32
any
AdditionalCreationData<VerticalTrackbarControl>::getData
()
const
33
{
34
return
make_any<tuple<bool, VerticalTrackbarControl::verticalTickPosition, bool, bool>>(autoTicks, position, selectionRange, noTicks);
35
}
36
}
37
}
TrackbarControlAdditionalCreationData.h
gui_framework::HorizontalTrackbarControl::horizontalTickPosition
horizontalTickPosition
Definition
HorizontalTrackbarControl.h:12
gui_framework::VerticalTrackbarControl::verticalTickPosition
verticalTickPosition
Definition
VerticalTrackbarControl.h:12
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
TrackbarControlAdditionalCreationData.cpp
Generated by
1.12.0