Iridescence 1.00
Embedded Graphic Framework
Loading...
Searching...
No Matches
ds_progress_dialog.h
1/* Copyright (C) 2017 - 2024, Thornwave Labs Inc - All Rights Reserved.
2 * Unauthorized copying of this file, via any medium is strictly prohibited.
3 * Proprietary and confidential.
4 * Written by Razvan Turiac <razvan.turiac@thornwave.com>
5*/
6
7#ifndef _DS_PROGRESS_DIALOG_H
8#define _DS_PROGRESS_DIALOG_H
9
10
11#include <ds_dialog_base.h>
12#include <ds_progress_bar.h>
13
14
15
23{
24public:
33 DsProgressDialog(DsView* parent, DsColor dialog_color, uint32_t corner_radius, DsSize bar_size);
34
35
43
44
52
60
61
69
70
78
79
87
88
96
97
98private:
99 DsProgressBar* mProgressBar;
100};
101
102#endif
DsColor is a class that represents a 4 channel color (Alpha, Red, Green, Blue).
Definition ds_color.h:53
DsDialogBase is a class that implements a generic dialog base class.
Definition ds_dialog_base.h:24
DsProgressBar is a class that implements a progress bar.
Definition ds_progress_bar.h:18
DsProgressDialog is a class that implements a progress indicator dialog.
Definition ds_progress_dialog.h:23
DsProgressDialog & setProgressTotal(float total)
Sets the total progress value (at 100%)
DsProgressDialog & setBarActiveColor(DsColor color)
Sets the active color of the progress bar.
DsProgressDialog & setBarBorderThickness(uint8_t thickness)
Sets the border thickness of the progress bar.
DsProgressDialog & setBarCornerRadius(uint16_t radius)
Sets the corner radius of the progress bar.
DsProgressDialog & setBarBorderColor(DsColor color)
Sets the border color of the progress bar.
DsProgressDialog & setProgressValue(float value)
Sets the current progress value (between 0 and total)
DsProgressDialog(DsView *parent, DsColor dialog_color, uint32_t corner_radius, DsSize bar_size)
Creates a DsProgressDialog view.
DsProgressDialog & setBarTrackColor(DsColor color)
Sets the track color of the progress bar.
DsSize is class that represents the 2D size of a graphic object (width, height) as integer values.
Definition ds_geometry.h:780
DsView is a base class that represents any view on the screen.
Definition ds_view.h:40