GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseTrackbarControl.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace gui_framework
7{
10 {
11 public:
12 BaseTrackbarControl(const std::wstring& trackbarName, const utility::ComponentSettings& settings, const styles::TrackbarControlStyles& styles, BaseComposite* parent);
13
14 virtual void clearSelection() final;
15
16 virtual LRESULT size() const final;
17
18 virtual void setMinRange(int min) final;
19
20 virtual void setMaxRange(int max) final;
21
22 virtual void setSelectionStart(int startPosition) final;
23
24 virtual void setSelectionEnd(int endPosition) final;
25
26 virtual LRESULT getPosition() const final;
27
28 virtual LRESULT getMinRange() const final;
29
30 virtual LRESULT getMaxRange() const final;
31
32 virtual LRESULT getSelectionStart() const final;
33
34 virtual LRESULT getSelectionEnd() const final;
35
41 virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue) final override;
42
45 virtual size_t getHash() const override = 0;
46
47 virtual json::JSONBuilder getStructure() const override;
48
49 virtual ~BaseTrackbarControl() = default;
50 };
51}
#define GUI_FRAMEWORK_API
Base class for all windows, controls, etc.
Base class for all windows that has children windows.
Base class for all tracbar controls.
virtual ~BaseTrackbarControl()=default
virtual size_t getHash() const override=0
Used as key in creators.