GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IProgressBarColor.h
Go to the documentation of this file.
1#pragma once
2
3#include "Core.h"
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
11 {
12 private:
13 HWND progressBarHandle;
14 COLORREF progressBarBackgroundColor;
15 COLORREF progressBarColor;
16
17 public:
18 IProgressBarColor(HWND progressBarHandle);
19
20 virtual void setProgressBarBackgroundColor(uint8_t red, uint8_t green, uint8_t blue);
21
22 virtual void setProgressBarColor(uint8_t red, uint8_t green, uint8_t blue);
23
24 virtual COLORREF getProgressBarBackgroundColor() const final;
25
26 virtual COLORREF getProgressBarColor() const final;
27
28 virtual ~IProgressBarColor() = default;
29 };
30 }
31}
#define GUI_FRAMEWORK_API
Provides coloring for progress bars.