This repository has been archived on 2026-11-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-11-05 02:19:09 +01:00

16 lines
989 B
C++

#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
);
}