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
class
ProgressBar
:
public
Element
6
{
7
public
:
8
ProgressBar
();
9
void
render
(
Element
*
parent
);
10
float
percent = 0;
11
12
int
color;
13
bool
dimBg =
false
;
14
15
int
width = 0;
16
};
Element
Definition:
Element.hpp:32
Element::parent
Element * parent
the parent element (can sometimes be null if it isn't set)
Definition:
Element.hpp:102
ProgressBar
Definition:
ProgressBar.hpp:6
ProgressBar::render
void render(Element *parent)
display the current state of the display
Definition:
ProgressBar.cpp:12
Generated by
1.9.4