summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 18:36:31 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 18:36:31 +0100
commit8ba97262a0219d7defd928d7bfb5f4214f235fc8 (patch)
treeae7e56661007bda80e61e776a5c123866349da43 /src/hl2h.h
parentGUI: wire real feature state and config (diff)
downloadhl2h-8ba97262a0219d7defd928d7bfb5f4214f235fc8.tar.gz
hl2h-8ba97262a0219d7defd928d7bfb5f4214f235fc8.zip
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.
Diffstat (limited to '')
-rw-r--r--src/hl2h.h3
1 files changed, 1 insertions, 2 deletions
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 {
185}; 185};
186 186
187// --------------------------------------------------------------------------- 187// ---------------------------------------------------------------------------
188// feature state / settings (owned by menu.cpp until the text menu is removed) 188// feature state / settings (owned by menu.cpp alongside config)
189// --------------------------------------------------------------------------- 189// ---------------------------------------------------------------------------
190 190
191struct FeatureState { 191struct FeatureState {
@@ -268,7 +268,6 @@ bool head_position(int idx, Vector &out);
268int aim_points(int idx, unsigned group_mask, Vector *out, int max); 268int aim_points(int idx, unsigned group_mask, Vector *out, int max);
269 269
270void outer_draw(); 270void outer_draw();
271void menu_force_close();
272void gui_handle_input(); 271void gui_handle_input();
273void gui_draw(); 272void gui_draw();
274bool gui_is_open(); 273bool gui_is_open();