Plutonium framework API  0.3
Simple UI framework for libnx and SDL2
pu::ui::elm::ProgressBar Class Reference

#include <elm_ProgressBar.hpp>

Inheritance diagram for pu::ui::elm::ProgressBar:
pu::ui::elm::Element

Public Member Functions

 ProgressBar (i32 X, i32 Y, i32 Width, i32 Height, double MaxValue)
 
i32 GetX ()
 
void SetX (i32 X)
 
i32 GetY ()
 
void SetY (i32 Y)
 
i32 GetWidth ()
 
void SetWidth (i32 Width)
 
i32 GetHeight ()
 
void SetHeight (i32 Height)
 
Color GetColor ()
 
void SetColor (Color Color)
 
Color GetProgressColor ()
 
void SetProgressColor (Color Color)
 
double GetProgress ()
 
void SetProgress (double Progress)
 
void IncrementProgress (double Progress)
 
void DecrementProgress (double Progress)
 
void SetMaxValue (double Max)
 
double GetMaxValue ()
 
void FillProgress ()
 
void ClearProgress ()
 
bool IsCompleted ()
 
void OnRender (render::Renderer::Ref &Drawer, i32 X, i32 Y)
 
void OnInput (u64 Down, u64 Up, u64 Held, Touch Pos)
 
- Public Member Functions inherited from pu::ui::elm::Element
 Element ()
 
virtual ~Element ()
 
bool IsVisible ()
 
void SetVisible (bool Visible)
 
void SetParent (void *Base)
 
void * GetParent ()
 
void SetHorizontalAlign (HorizontalAlign Align)
 
HorizontalAlign GetHorizontalAlign ()
 
void SetVerticalAlign (VerticalAlign Align)
 
VerticalAlign GetVerticalAlign ()
 
bool HasParent ()
 
i32 GetProcessedX ()
 
i32 GetProcessedY ()
 

Additional Inherited Members

- Protected Attributes inherited from pu::ui::elm::Element
bool visible
 
HorizontalAlign halign
 
VerticalAlign valign
 
void * parent
 

Constructor & Destructor Documentation

pu::ui::elm::ProgressBar::ProgressBar ( i32  X,
i32  Y,
i32  Width,
i32  Height,
double  MaxValue 
)

Member Function Documentation

void pu::ui::elm::ProgressBar::ClearProgress ( )
void pu::ui::elm::ProgressBar::DecrementProgress ( double  Progress)
void pu::ui::elm::ProgressBar::FillProgress ( )
Color pu::ui::elm::ProgressBar::GetColor ( )
i32 pu::ui::elm::ProgressBar::GetHeight ( )
virtual

Implements pu::ui::elm::Element.

double pu::ui::elm::ProgressBar::GetMaxValue ( )
double pu::ui::elm::ProgressBar::GetProgress ( )
Color pu::ui::elm::ProgressBar::GetProgressColor ( )
i32 pu::ui::elm::ProgressBar::GetWidth ( )
virtual

Implements pu::ui::elm::Element.

i32 pu::ui::elm::ProgressBar::GetX ( )
virtual

Implements pu::ui::elm::Element.

i32 pu::ui::elm::ProgressBar::GetY ( )
virtual

Implements pu::ui::elm::Element.

void pu::ui::elm::ProgressBar::IncrementProgress ( double  Progress)
bool pu::ui::elm::ProgressBar::IsCompleted ( )
void pu::ui::elm::ProgressBar::OnInput ( u64  Down,
u64  Up,
u64  Held,
Touch  Pos 
)
virtual

Implements pu::ui::elm::Element.

void pu::ui::elm::ProgressBar::OnRender ( render::Renderer::Ref &  Drawer,
i32  X,
i32  Y 
)
virtual

Implements pu::ui::elm::Element.

void pu::ui::elm::ProgressBar::SetColor ( Color  Color)
void pu::ui::elm::ProgressBar::SetHeight ( i32  Height)
void pu::ui::elm::ProgressBar::SetMaxValue ( double  Max)
void pu::ui::elm::ProgressBar::SetProgress ( double  Progress)
void pu::ui::elm::ProgressBar::SetProgressColor ( Color  Color)
void pu::ui::elm::ProgressBar::SetWidth ( i32  Width)
void pu::ui::elm::ProgressBar::SetX ( i32  X)
void pu::ui::elm::ProgressBar::SetY ( i32  Y)

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