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