diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 18:31:27 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 18:31:27 +0100 |
| commit | f1794edcc60f6a27e622884c82397bb77e2aa280 (patch) | |
| tree | ca1bf9aa40a612e8e7b1d1a76ff65bdddabd1add /docs/adr | |
| parent | GUI: Insert-only close, freeze mouse look at the source (diff) | |
| download | hl2h-f1794edcc60f6a27e622884c82397bb77e2aa280.tar.gz hl2h-f1794edcc60f6a27e622884c82397bb77e2aa280.zip | |
GUI: wire real feature state and config
Replace the dummy preview controls with the actual settings:
- cards bind directly to the feature state and the existing option
variables; Active/Bind now drive the same gates as the text menu;
- every feature persists active+bind, including movement, melee and spread;
- config path and build info are real; Reload config re-reads the INI;
- Reset defaults is two-click, restores feature settings/binds and keeps
the GUI layout;
- window position, category and expanded cards persist under [gui] in the
same config file; layout saves on drag/category/expand/close;
- mouse bind capture handles all five buttons and consumes the click so it
cannot re-arm immediately;
- Active/Bind tooltips and full scancode names.
The old text tree stays on F1 for one verification pass.
Diffstat (limited to 'docs/adr')
| -rw-r--r-- | docs/adr/0001-custom-isurface-gui.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/adr/0001-custom-isurface-gui.md b/docs/adr/0001-custom-isurface-gui.md index 5525844..21fc7f6 100644 --- a/docs/adr/0001-custom-isurface-gui.md +++ b/docs/adr/0001-custom-isurface-gui.md | |||
| @@ -53,7 +53,7 @@ path. | |||
| 53 | - No new runtime dependency or GL context management. | 53 | - No new runtime dependency or GL context management. |
| 54 | - The GUI remains inside the engine's VGUI paint path, so it inherits the | 54 | - The GUI remains inside the engine's VGUI paint path, so it inherits the |
| 55 | existing font registration and in-game overlay behavior. | 55 | existing font registration and in-game overlay behavior. |
| 56 | - The old text menu is removed once the GUI reaches feature parity. During | 56 | - The GUI drives the real feature state/config. The old text menu is removed |
| 57 | development the GUI is built alongside the text menu; Insert toggles the | 57 | after a verification pass; Insert toggles the GUI and F1 keeps the old tree |
| 58 | GUI and F1 keeps the old tree accessible. The replacement is complete only | 58 | accessible until then. The replacement is complete when the old tree is |
| 59 | when the old tree is deleted. | 59 | deleted. |
