GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
TrackbarControlAdditionalCreationData.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace gui_framework
8{
9 namespace utility
10 {
12 template<>
14 {
15 protected:
19 bool noTicks;
20
21 public:
22 AdditionalCreationData(bool autoTicks = true, HorizontalTrackbarControl::horizontalTickPosition position = HorizontalTrackbarControl::horizontalTickPosition::bottom, bool selectionRange = false, bool noTicks = false);
23
24 virtual std::any getData() const;
25
26 virtual ~AdditionalCreationData() = default;
27 };
28
30 template<>
32 {
33 protected:
37 bool noTicks;
38
39 public:
40 AdditionalCreationData(bool autoTicks = true, VerticalTrackbarControl::verticalTickPosition position = VerticalTrackbarControl::verticalTickPosition::left, bool selectionRange = false, bool noTicks = false);
41
42 virtual std::any getData() const;
43
44 virtual ~AdditionalCreationData() = default;
45 };
46 }
47}
#define GUI_FRAMEWORK_API
Standard horizontal trackbar control.
Standard vertical trackbar control.
Base templated class for component creators.