GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
HorizontalTrackbarControlStyles.cpp
Go to the documentation of this file.
1
#include "
HorizontalTrackbarControlStyles.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
styles
8
{
9
HorizontalTrackbarControlStyles::HorizontalTrackbarControlStyles
(
HorizontalTrackbarControl::horizontalTickPosition
position)
10
{
11
this->
appendStyle
(TBS_HORZ);
12
13
this->
appendStyle
(position ==
HorizontalTrackbarControl::horizontalTickPosition::bottom
? TBS_BOTTOM : (position ==
HorizontalTrackbarControl::horizontalTickPosition::top
? TBS_TOP : TBS_BOTH));
14
}
15
}
16
}
HorizontalTrackbarControlStyles.h
gui_framework::HorizontalTrackbarControl::horizontalTickPosition
horizontalTickPosition
Definition
HorizontalTrackbarControl.h:12
gui_framework::HorizontalTrackbarControl::horizontalTickPosition::bottom
@ bottom
gui_framework::HorizontalTrackbarControl::horizontalTickPosition::top
@ top
gui_framework::interfaces::IStyles::appendStyle
void appendStyle(LONG_PTR style)
Append new WinAPI style.
Definition
IStyles.cpp:23
gui_framework::styles::HorizontalTrackbarControlStyles::HorizontalTrackbarControlStyles
HorizontalTrackbarControlStyles(HorizontalTrackbarControl::horizontalTickPosition position)
Definition
HorizontalTrackbarControlStyles.cpp:9
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Styles
Components
Trackbars
HorizontalTrackbarControlStyles.cpp
Generated by
1.12.0