overlay: simplify various input controls by introducing new custom ImGUI widgets (#536)

## Description of change

* Add a red `x` button to replace `Clear` button in binding tabs
(Buttons/Analog/Lights).
* Add a gray `x` button to replace `Clear` button in options tabs next
to input widgets
* Add helper for truncating text and adding ellipsis (...) to deal with
text overflow in tables.
* Reword some UI text for clarity
This commit is contained in:
bicarus
2026-01-28 02:17:40 -08:00
committed by GitHub
parent c3b9ce3fdc
commit 94f009991a
4 changed files with 218 additions and 87 deletions
+1
View File
@@ -88,6 +88,7 @@ namespace overlay::windows {
Button *button,
const GameAPI::Buttons::State button_state,
const float button_velocity);
void clear_button(Button &button);
void build_analogs(const std::string &name, std::vector<Analog> *analogs);
void edit_analog_popup(Analog &analog);