diff options
author | Joe <rbo@gmx.us> | 2024-02-23 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-02-23 20:20:20 +0100 |
commit | 4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b (patch) | |
tree | 4aa26b4ace090637ec18628cf9d48576301d182c /src/i_insert.go | |
parent | go (diff) | |
download | hardflip-4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b.tar.gz hardflip-4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b.tar.bz2 hardflip-4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b.tar.xz hardflip-4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b.tar.zst hardflip-4d3b5de7a94afcdbe2e27b2e74de02311ddb0b6b.zip |
tmp
Diffstat (limited to 'src/i_insert.go')
-rw-r--r-- | src/i_insert.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/i_insert.go b/src/i_insert.go index e6e7b13..321ac25 100644 --- a/src/i_insert.go +++ b/src/i_insert.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/i_insert.go - * Wed Feb 21 19:41:56 2024 + * Fri Feb 23 16:01:46 2024 * Joe * * insert a new host @@ -51,6 +51,11 @@ package main +func i_draw_text_box(ui HardUI, line int, label, content string) { + i_draw_text(ui.s, ui.dim[W] / 2 - len(label) - 1, line, ui.dim[W] / 2, line, ) + // TODO: here + // i_draw_box(ui.s, ) +} func i_draw_insert_panel(ui HardUI, in *HostNode) { if len(in.Name) == 0 { return @@ -64,5 +69,4 @@ func i_draw_insert_panel(ui HardUI, in *HostNode) { i_draw_box(ui.s, win.L, win.T, win.R, win.B, ui.style[STYLE_BOX], ui.style[STYLE_HEAD], " Insert - " + in.Name + " ", true) - // TODO: here } |