summaryrefslogtreecommitdiff
path: root/ui.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-18 17:05:25 +1100
committerquou <quou@disroot.org>2025-01-18 17:05:25 +1100
commitdd4829eb05c9193e37e8dfa952bae967c6ca60c8 (patch)
tree71c614457cd9b3bc9339a80633bbc9b6a480f567 /ui.hpp
parent092248465a980e7ccf13b19d3d447e78443ac911 (diff)
functions to set labels to int, float and hex numbers
Diffstat (limited to 'ui.hpp')
-rw-r--r--ui.hpp3
1 files changed, 3 insertions, 0 deletions
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 {