GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
VerticalTrackbarControlCreator.cpp
Go to the documentation of this file.
1
#include "
VerticalTrackbarControlCreator.h
"
2
3
#include "
Components/Trackbars/VerticalTrackbarControl.h
"
4
5
using namespace
std;
6
7
namespace
gui_framework
8
{
9
namespace
utility
10
{
11
BaseComponent
*
VerticalTrackbarControlCreator::create
(
const
wstring& windowName,
const
utility::ComponentSettings
& settings,
const
any& additionalData,
BaseComposite
* parent)
12
{
13
auto
[autoTicks, position, selectionRange, noTicks] = any_cast<tuple<bool, VerticalTrackbarControl::verticalTickPosition, bool, bool>>(additionalData);
14
15
return
new
VerticalTrackbarControl
(windowName, settings, parent, autoTicks, position, selectionRange, noTicks);
16
}
17
}
18
}
VerticalTrackbarControl.h
VerticalTrackbarControlCreator.h
gui_framework::BaseComponent
Base class for all windows, controls, etc.
Definition
BaseComponent.h:17
gui_framework::BaseComposite
Base class for all windows that has children windows.
Definition
BaseComposite.h:23
gui_framework::VerticalTrackbarControl
Standard vertical trackbar control.
Definition
VerticalTrackbarControl.h:9
gui_framework::utility::VerticalTrackbarControlCreator::create
BaseComponent * create(const std::wstring &windowName, const utility::ComponentSettings &settings, const std::any &additionalData, BaseComposite *parent) override
Definition
VerticalTrackbarControlCreator.cpp:11
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::utility::ComponentSettings
All settings for windows.
Definition
ComponentSettings.h:11
GUIFramework
src
Utility
Creators
Components
Trackbars
VerticalTrackbarControlCreator.cpp
Generated by
1.12.0