OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
GUIProgressBar Class Reference

#include <GUIProgressBar.h>

Public Types

enum class  Type { TYPE_None = 0 , TYPE_Fullscreen = 1 , TYPE_Box = 2 }
 

Public Member Functions

bool Initialize (Type type)
 
void Reset (uint8_t uMaxProgress)
 
void Progress ()
 
void Release ()
 
void Draw ()
 
bool IsActive ()
 

Protected Attributes

int uX = 0
 
int uY = 0
 
int uWidth = 0
 
int uHeight = 0
 
uint8_t uProgressMax = 0
 
uint8_t uProgressCurrent = 0
 
Type uType = TYPE_None
 
GraphicsImageprogressbar_dungeon = nullptr
 
GraphicsImageprogressbar_loading = nullptr
 
GraphicsImageloading_bg = nullptr
 
int turnHourIconId = 0
 

Member Enumeration Documentation

◆ Type

enum class GUIProgressBar::Type
strong
Enumerator
TYPE_None 
TYPE_Fullscreen 
TYPE_Box 

Member Function Documentation

◆ Draw()

void GUIProgressBar::Draw ( )

◆ Initialize()

bool GUIProgressBar::Initialize ( Type  type)

◆ IsActive()

bool GUIProgressBar::IsActive ( )

◆ Progress()

void GUIProgressBar::Progress ( )

◆ Release()

void GUIProgressBar::Release ( )

◆ Reset()

void GUIProgressBar::Reset ( uint8_t  uMaxProgress)

Member Data Documentation

◆ loading_bg

GraphicsImage* GUIProgressBar::loading_bg = nullptr
protected

◆ progressbar_dungeon

GraphicsImage* GUIProgressBar::progressbar_dungeon = nullptr
protected

◆ progressbar_loading

GraphicsImage* GUIProgressBar::progressbar_loading = nullptr
protected

◆ turnHourIconId

int GUIProgressBar::turnHourIconId = 0
protected

◆ uHeight

int GUIProgressBar::uHeight = 0
protected

◆ uProgressCurrent

uint8_t GUIProgressBar::uProgressCurrent = 0
protected

◆ uProgressMax

uint8_t GUIProgressBar::uProgressMax = 0
protected

◆ uType

Type GUIProgressBar::uType = TYPE_None
protected

◆ uWidth

int GUIProgressBar::uWidth = 0
protected

◆ uX

int GUIProgressBar::uX = 0
protected

◆ uY

int GUIProgressBar::uY = 0
protected

The documentation for this class was generated from the following files: