Initial commit

This commit is contained in:
drof
2026-11-05 02:19:09 +01:00
commit 13f8503697
125 changed files with 17029 additions and 0 deletions
+15
View File
@@ -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
);
}