Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
namespace ui
|
||||
{
|
||||
extern bool in_range(const math::position_t<float>& _position, const math::dimension_t<float>& _dimension);
|
||||
extern void section(const math::position_t<float>& _position, const math::dimension_t<float>& _dimension, respawn::color_t color, const char* name);
|
||||
extern void checkbox(const math::position_t<float> _position, const char* text, bool* variable);
|
||||
extern void checkbox_triple(const math::position_t<float> _position, const char* text, int* variable);
|
||||
extern void slider(math::position_t<float> _position, math::dimension_t<float> _dimension, const char* text, int* variable, int min, int max);
|
||||
extern void slider_float(math::position_t<float> _position, math::dimension_t<float> _dimension, const char* text, float* variable, float min, float max);
|
||||
extern bool button(
|
||||
const math::position_t<float>& _position, const math::dimension_t<float>& _dimension,
|
||||
respawn::color_t background_color, respawn::color_t text_color, const char* text
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user