13 standard_classes::progressBar,
16 styles::DefaultStyles(),
25 updateStep(updateStep)
32 SendMessageW(
handle, PBM_SETPOS, newPosition, NULL);
37 SendMessageW(
handle, PBM_STEPIT, NULL, NULL);
42 SendMessageW(
handle, PBM_DELTAPOS, position, NULL);
85 IProgressBarColor::setProgressBarBackgroundColor(red, green, blue);
92 IProgressBarColor::setProgressBarBackgroundColor(red, green, blue);
102 using json::utility::jsonObject;
107 current.data.push_back({
"minRange"s,
static_cast<int64_t
>(
minRange) });
108 current.data.push_back({
"maxRange"s,
static_cast<int64_t
>(
maxRange) });
110 current.data.push_back({
"updateStep"s,
static_cast<int64_t
>(
updateStep) });
Base class for all windows, controls, etc.
virtual json::JSONBuilder getStructure() const override
const std::wstring windowName
virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue)
Base class for all windows that has children windows.
virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue) final override
Not implemented.
virtual int getMaxRange() const final
virtual void setUpdateStep(int updateStep) final
virtual int getMinRange() const final
virtual void setMaxRange(int maxRange) final
virtual void update() final
virtual void advancePosition(int position) final
virtual void setMinRange(int minRange) final
virtual void setProgressBarBackgroundColor(uint8_t red, uint8_t green, uint8_t blue) final override
Inherited from IProgressBarColor.
BaseProgressBar(const std::wstring &progressBarName, const utility::ComponentSettings &settings, BaseComposite *parent, int minRange=defaultMinRange, int maxRange=defaultMaxRange, int updateStep=defaultUpdateStep)
virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue) final override
Same as setProgressBarBackgroundColor.
virtual json::JSONBuilder getStructure() const override
virtual int getUpdateStep() const final
void throwNotImplementedException(string_view methodName, string_view className)
string to_string(wstring_view stringToConvert, uint32_t codepage)
All settings for windows.