1 #ifndef DENGINE_PROGRESSBARV_H 2 #define DENGINE_PROGRESSBARV_H 4 #include "../UIComponent.h" 5 #include "../../Vec2.h" 52 #endif //DENGINE_PROGRESSBARV_H void SetFillColor(SDL_Color color)
Sets the fill color of the progress bar.
Definition: ProgressBarV.h:34
void Render() override
The render method of a component.
Definition: ProgressBarV.cpp:10
A verticle progress bar Variables are: xpos - The x position of the progress bar ypos - The y positio...
Definition: ProgressBarV.h:15
A vector composed of two points.
Definition: Vec2.h:11
A component of a UI window.
Definition: UIComponent.h:14
void Setup(dengine::Vec2 initPos, int initAmount=0)
Initializes required parameters.
Definition: ProgressBarV.h:22
int completed
Definition: ProgressBarV.h:46
SDL_Color fillColor
Definition: ProgressBarV.h:48
void SetCompleted(int completeAmount)
Sets the filled progress of the progress bar.
Definition: ProgressBarV.h:42
void Update() override
The update method of a component.
Definition: ProgressBarV.cpp:8
dengine::Vec2 position
Definition: ProgressBarV.h:47