diff options
author | quou <quou@disroot.org> | 2025-02-07 00:27:35 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-02-07 00:27:35 +1100 |
commit | 2dfa9cfaec5e6e96c8193af5504ffd0b6a8e9a69 (patch) | |
tree | 2020116df1f519b46ad2d8fc9b1f2b754af9be1a /ui.hpp | |
parent | 7686aae2667fffd798ee2f0dc7ca1252a36612c5 (diff) |
ui int input
Diffstat (limited to 'ui.hpp')
-rw-r--r-- | ui.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -234,6 +234,13 @@ struct UI { void set_val(float v); }; + struct Int_Input : Input { + int val; + Int_Input(UI* ui, Element* parent); + void on_message(const Message& m) override; + void set_val(int v); + }; + struct Slider : Element { Float_Input* input; float minval, maxval; |