aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-11 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-11 20:20:20 +0200
commit516d518cf4f2d72d743ac04ae0a60b8e09b88a70 (patch)
treec926a7cf88147521a7463a6fcd5512c43750de21 /src/i_insert.go
parentthink we're fine (diff)
downloadhardflip-516d518cf4f2d72d743ac04ae0a60b8e09b88a70.tar.gz
hardflip-516d518cf4f2d72d743ac04ae0a60b8e09b88a70.tar.bz2
hardflip-516d518cf4f2d72d743ac04ae0a60b8e09b88a70.tar.xz
hardflip-516d518cf4f2d72d743ac04ae0a60b8e09b88a70.tar.zst
hardflip-516d518cf4f2d72d743ac04ae0a60b8e09b88a70.zip
no way look at the date on events
Diffstat (limited to '')
-rw-r--r--src/i_insert.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index f87510d..3d30dd7 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -287,6 +287,13 @@ func i_draw_insert_rdp(ui HardUI, line int, win Quad, in *HostNode) int {
i_draw_text_box(ui, win.T + line, win, "Pass", in.Pass,
INS_RDP_PASS, ui.insert_sel, false)
if line += 2; win.T + line >= win.B { return line }
+ text = "---- RDP File ----"
+ i_draw_text(ui.s, ui.dim[W] / 2 - len(text) / 2, win.T + line, win.R - 1,
+ win.T + line, ui.style[DEF_STYLE], text)
+ if line += 2; win.T + line >= win.B { return line }
+ i_draw_text_box(ui, win.T + line, win, "Pass", in.RDPFile,
+ INS_RDP_FILE, ui.insert_sel, false)
+ if line += 2; win.T + line >= win.B { return line }
i_draw_ok_butt(ui, win.T + line, INS_RDP_OK, ui.insert_sel)
return line
}