Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
OvUI::Widgets::Visual::ProgressBar Class Reference

#include <ProgressBar.h>

Inheritance diagram for OvUI::Widgets::Visual::ProgressBar:
OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 ProgressBar (float p_fraction=0.0f, const OvMaths::FVector2 &p_size={ 0.0f, 0.0f }, const std::string &p_overlay="")
- Public Member Functions inherited from OvUI::Widgets::AWidget
 AWidget ()
virtual void Draw () override
void LinkTo (const AWidget &p_widget)
void Destroy ()
bool IsDestroyed () const
void SetParent (Internal::WidgetContainer *p_parent)
bool HasParent () const
Internal::WidgetContainerGetParent ()
- Public Member Functions inherited from OvUI::Plugins::Pluginable
 ~Pluginable ()
template<typename T , typename... Args>
T & AddPlugin (Args &&... p_args)
template<typename T >
T * GetPlugin ()
void ExecutePlugins ()
void RemoveAllPlugins ()

Public Attributes

float fraction
OvMaths::FVector2 size
std::string overlay
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
bool lineBreak = true

Protected Member Functions

void _Draw_Impl () override

Additional Inherited Members

- Protected Attributes inherited from OvUI::Widgets::AWidget
std::string m_widgetID = "?"
bool m_autoExecutePlugins = true

Detailed Description

Simple widget that display a progress bar

Constructor & Destructor Documentation

◆ ProgressBar()

OvUI::Widgets::Visual::ProgressBar::ProgressBar ( float  p_fraction = 0.0f,
const OvMaths::FVector2 p_size = { 0.0f, 0.0f },
const std::string &  p_overlay = "" 


p_overlay@project: Overload
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Member Function Documentation

◆ _Draw_Impl()

void OvUI::Widgets::Visual::ProgressBar::_Draw_Impl ( )

Member Data Documentation

◆ fraction

float OvUI::Widgets::Visual::ProgressBar::fraction

◆ overlay

std::string OvUI::Widgets::Visual::ProgressBar::overlay

◆ size

OvMaths::FVector2 OvUI::Widgets::Visual::ProgressBar::size

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