Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvUI::Widgets::Sliders::SliderFloat Class Reference

#include <SliderFloat.h>

Inheritance diagram for OvUI::Widgets::Sliders::SliderFloat:
OvUI::Widgets::Sliders::SliderSingleScalar< float > OvUI::Widgets::DataWidget< float > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 SliderFloat (float p_min=0.0f, float p_max=1.0f, float p_value=0.5f, ESliderOrientation p_orientation=ESliderOrientation::HORIZONTAL, const std::string &p_label="", const std::string &p_format="%.3f")
 
- Public Member Functions inherited from OvUI::Widgets::Sliders::SliderSingleScalar< float >
 SliderSingleScalar (ImGuiDataType p_dataType, float p_min, float p_max, float p_value, ESliderOrientation p_orientation, const std::string &p_label, const std::string &p_format)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< float >
 DataWidget (float &p_dataHolder)
 
virtual void Draw () override
 
void NotifyChange ()
 
- Public Member Functions inherited from OvUI::Widgets::AWidget
 AWidget ()
 
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 ()
 

Additional Inherited Members

- Public Attributes inherited from OvUI::Widgets::Sliders::SliderSingleScalar< float >
float min
 
float max
 
float value
 
ESliderOrientation orientation
 
OvMaths::FVector2 verticalModeSize
 
std::string label
 
std::string format
 
OvTools::Eventing::Event< float > ValueChangedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 
- Protected Member Functions inherited from OvUI::Widgets::Sliders::SliderSingleScalar< float >
void _Draw_Impl () override
 
- Protected Attributes inherited from OvUI::Widgets::AWidget
Internal::WidgetContainerm_parent
 
std::string m_widgetID = "?"
 
bool m_autoExecutePlugins = true
 

Detailed Description

Slider widget of type float

Constructor & Destructor Documentation

◆ SliderFloat()

OvUI::Widgets::Sliders::SliderFloat::SliderFloat ( float  p_min = 0.0f,
float  p_max = 1.0f,
float  p_value = 0.5f,
ESliderOrientation  p_orientation = ESliderOrientation::HORIZONTAL,
const std::string &  p_label = "",
const std::string &  p_format = "%.3f" 
)

Constructor

Parameters
p_min
p_max
p_value
p_orientation
p_label
p_format@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

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