Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
ProgressBar.hpp
1#pragma once
2
3#include "Element.hpp"
4
5namespace Chesto {
6
7class ProgressBar : public Element
8{
9public:
11 void render(Element* parent);
12 float percent = 0;
13
14 int color;
15 bool dimBg = false;
16
17};
18
19} // namespace Chesto
Element * parent
the parent element (reference only, not owned)
Definition: Element.hpp:116
void render(Element *parent)
display the current state of the display
Definition: ProgressBar.cpp:14