From dd4829eb05c9193e37e8dfa952bae967c6ca60c8 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 18 Jan 2025 17:05:25 +1100 Subject: functions to set labels to int, float and hex numbers --- ui.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui.hpp') diff --git a/ui.hpp b/ui.hpp index e904cfe..ea51717 100644 --- a/ui.hpp +++ b/ui.hpp @@ -226,6 +226,9 @@ struct UI { void on_render() override; void set_text(const char* s); + void set_int(int v); + void set_hex(uint64_t v); + void set_float(float v); }; struct Button : Label { -- cgit v1.2.3-54-g00ecf