CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Graphics::UI::Component Namespace Reference

Classes

struct  DataType
 
struct  DataType< double >
 
struct  DataType< float >
 
struct  DataType< Int32 >
 
struct  DataType< Int64 >
 
struct  DataType< UInt32 >
 
struct  DataType< UInt64 >
 

Functions

bool checkbox (const String &label, bool &value)
 
bool colorEditor (const String &label, Vector3f &value)
 
bool colorEditor (const String &label, Vector4f &value)
 
template<typename T >
bool drag (const String &label, T &value, const float velocity, T min, T max)
 
template<typename T >
bool drag (const String &label, T &value, const double velocity, T min, T max)
 
template<typename T >
bool drag (const String &label, T &value, const float velocity, T min)
 
template<typename T >
bool drag (const String &label, T &value, const double velocity, T min)
 
template<typename T >
bool drag (const String &label, T &value, const float velocity)
 
template<typename T >
bool drag (const String &label, T &value, const double velocity)
 
template<typename T , int D>
bool drag (const String &label, TVector< D, T > &value, const float velocity, T min, T max)
 
template<typename T , int D>
bool drag (const String &label, TVector< D, T > &value, const double velocity, T min, T max)
 
template<typename T , int D>
bool drag (const String &label, TVector< D, T > &value, const float velocity)
 
template<typename T , int D>
bool drag (const String &label, TVector< D, T > &value, const double velocity)
 
template<typename T , int C, int R>
bool drag (const String &label, TMatrix< C, R, T > &value, const double velocity, T min, T max)
 
template<typename T >
bool slider (const String &label, T &value, const T min, const T max)
 
template<typename Builder >
bool window (const String &title, Builder &&builder)
 

Function Documentation

◆ checkbox()

bool CeresEngine::Graphics::UI::Component::checkbox ( const String label,
bool value 
)
inline

◆ colorEditor() [1/2]

bool CeresEngine::Graphics::UI::Component::colorEditor ( const String label,
Vector3f &  value 
)
inline

◆ colorEditor() [2/2]

bool CeresEngine::Graphics::UI::Component::colorEditor ( const String label,
Vector4f &  value 
)
inline

◆ drag() [1/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const double  velocity 
)
inline

◆ drag() [2/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const double  velocity,
T  min 
)
inline

◆ drag() [3/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const double  velocity,
T  min,
T  max 
)
inline

◆ drag() [4/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const float  velocity 
)
inline

◆ drag() [5/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const float  velocity,
T  min 
)
inline

◆ drag() [6/11]

template<typename T >
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
T value,
const float  velocity,
T  min,
T  max 
)
inline

◆ drag() [7/11]

template<typename T , int C, int R>
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
TMatrix< C, R, T > &  value,
const double  velocity,
T  min,
T  max 
)
inline

◆ drag() [8/11]

template<typename T , int D>
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
TVector< D, T > &  value,
const double  velocity 
)
inline

◆ drag() [9/11]

template<typename T , int D>
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
TVector< D, T > &  value,
const double  velocity,
T  min,
T  max 
)
inline

◆ drag() [10/11]

template<typename T , int D>
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
TVector< D, T > &  value,
const float  velocity 
)
inline

◆ drag() [11/11]

template<typename T , int D>
bool CeresEngine::Graphics::UI::Component::drag ( const String label,
TVector< D, T > &  value,
const float  velocity,
T  min,
T  max 
)
inline

◆ slider()

template<typename T >
bool CeresEngine::Graphics::UI::Component::slider ( const String label,
T value,
const T  min,
const T  max 
)
inline

◆ window()

template<typename Builder >
bool CeresEngine::Graphics::UI::Component::window ( const String title,
Builder &&  builder 
)
inline