diff options
author | Joe <rbo@gmx.us> | 2024-05-10 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-10 20:20:20 +0200 |
commit | 954dbb54bd41e964bb328cdb381d47ff2d468771 (patch) | |
tree | 0aa2a30c1f51ec9c3483c02bb6a1dc77e6b4ae24 /src/i_help.go | |
parent | better (diff) | |
download | hardflip-954dbb54bd41e964bb328cdb381d47ff2d468771.tar.gz hardflip-954dbb54bd41e964bb328cdb381d47ff2d468771.tar.bz2 hardflip-954dbb54bd41e964bb328cdb381d47ff2d468771.tar.xz hardflip-954dbb54bd41e964bb328cdb381d47ff2d468771.tar.zst hardflip-954dbb54bd41e964bb328cdb381d47ff2d468771.zip |
go
Diffstat (limited to '')
-rw-r--r-- | src/i_help.go | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/i_help.go b/src/i_help.go index 5c179fe..335d5d2 100644 --- a/src/i_help.go +++ b/src/i_help.go @@ -52,17 +52,21 @@ package main func i_draw_help(ui HardUI) { - if ui.dim[W] < 8 || ui.dim[H] < 4 { + if ui.dim[W] < 12 || ui.dim[H] < 6 { return } win := Quad{ - 4, - 4, - ui.dim[W] - 4, - ui.dim[H] - 4, + 6, + 3, + ui.dim[W] - 6, + ui.dim[H] - 3, } i_draw_box(ui.s, win.L, win.T, win.R, win.B, ui.style[BOX_STYLE], ui.style[HEAD_STYLE], " Keys ", true) + i_help_normal(ui) +} + +func i_help_normal(ui HardUI) { } |