GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseInfiniteProgressBar.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace gui_framework
7{
10 public BaseComponent,
12 {
13 protected:
15
16 public:
22 BaseInfiniteProgressBar(const std::wstring& progressBarName, const utility::ComponentSettings& settings, BaseComposite* parent, int animationPeriod = NULL);
23
24 virtual void playAnimation() final;
25
26 virtual void stopAnimation() final;
27
30 virtual void setAnimationPeriod(int animationPeriod) final;
31
32 virtual int getAnimationPeriod() const final;
33
38 virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue) final override;
39
44 virtual void setProgressBarBackgroundColor(uint8_t red, uint8_t green, uint8_t blue) final override;
45
51 virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue) final override;
52
55 virtual size_t getHash() const override = 0;
56
57 virtual json::JSONBuilder getStructure() const override;
58
59 virtual ~BaseInfiniteProgressBar() = default;
60 };
61}
#define GUI_FRAMEWORK_API
Base class for all windows, controls, etc.
Base class for all windows that has children windows.
Base class for all non updatable progress bars.
Provides coloring for progress bars.