Ui improvements

This commit is contained in:
ahsanswr
2026-07-26 17:24:36 +02:00
committed by Guillaume Meunier
parent 4226485c57
commit 2e9f2c8646
21 changed files with 1560 additions and 1026 deletions
+3 -1
View File
@@ -251,7 +251,9 @@ public:
void vibrate_on_hover();
void set_hovered_item();
void set_controllers_enabled(bool value);
void tooltip(std::string_view text);
// anchor, if set, positions the tooltip above that display point (e.g. the mouse)
// instead of above the last item's rect
void tooltip(std::string_view text, std::optional<ImVec2> anchor = std::nullopt);
std::array<bool, 2> is_aim_interaction() const
{
return {aim_interaction[0] == 1, aim_interaction[1] == 1};