aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-12 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-12 20:20:20 +0200
commitbca4186e5550006f99ba38017840e660aa4016b1 (patch)
tree96c982168cabae474aef68e7b5d1aa62491abf7b /src/i_insert.go
parentcool (diff)
downloadhardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.gz
hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.bz2
hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.xz
hardflip-bca4186e5550006f99ba38017840e660aa4016b1.tar.zst
hardflip-bca4186e5550006f99ba38017840e660aa4016b1.zip
commit
Diffstat (limited to 'src/i_insert.go')
-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 dac18a6..0e08f6c 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -358,6 +358,13 @@ func i_draw_insert_rdp(ui HardUI, line int, win Quad, in *HostNode) int {
}
red = false
if line += 2; win.T + line >= win.B { return line }
+ text = "---- Window settings ----"
+ 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, "Quality", RDP_QUALITY[in.Quality],
+ INS_RDP_QUALITY, ui.insert_sel, red)
+ 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
}