From 8ba97262a0219d7defd928d7bfb5f4214f235fc8 Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 18:36:31 +0100 Subject: GUI: fix footer clipping; remove the old text menu - Right-align the footer hint and size the config label from the remaining width, so "INS close" is no longer truncated. - Delete the text-tree menu now that the GUI has feature parity: remove the tree/input/render code, the F1 toggle and menu_force_close. - Keep only held-key polling for feature binds; poll it every frame from outer_draw. - Update CONTEXT/ADR: the GUI is the only menu. --- src/hl2h.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/hl2h.h') diff --git a/src/hl2h.h b/src/hl2h.h index 678c5af..0f03925 100644 --- a/src/hl2h.h +++ b/src/hl2h.h @@ -185,7 +185,7 @@ enum AimBone { }; // --------------------------------------------------------------------------- -// feature state / settings (owned by menu.cpp until the text menu is removed) +// feature state / settings (owned by menu.cpp alongside config) // --------------------------------------------------------------------------- struct FeatureState { @@ -268,7 +268,6 @@ bool head_position(int idx, Vector &out); int aim_points(int idx, unsigned group_mask, Vector *out, int max); void outer_draw(); -void menu_force_close(); void gui_handle_input(); void gui_draw(); bool gui_is_open(); -- cgit v1.2.3