diff options
author | Joe <rbo@gmx.us> | 2024-04-15 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-15 20:20:20 +0200 |
commit | 494f868e4ba40c39b291a1eee5f94a0c94035b42 (patch) | |
tree | 2d42bb5f48df27504f5f126656b65ac0a075c926 /src/i_insert.go | |
parent | maproad (diff) | |
download | hardflip-494f868e4ba40c39b291a1eee5f94a0c94035b42.tar.gz hardflip-494f868e4ba40c39b291a1eee5f94a0c94035b42.tar.bz2 hardflip-494f868e4ba40c39b291a1eee5f94a0c94035b42.tar.xz hardflip-494f868e4ba40c39b291a1eee5f94a0c94035b42.tar.zst hardflip-494f868e4ba40c39b291a1eee5f94a0c94035b42.zip |
gogo
Diffstat (limited to '')
-rw-r--r-- | src/i_insert.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i_insert.go b/src/i_insert.go index 1b87b3a..907f041 100644 --- a/src/i_insert.go +++ b/src/i_insert.go @@ -362,6 +362,11 @@ func i_draw_insert_rdp(ui HardUI, line int, win Quad, in *HostNode) int { 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 } + screensize := strconv.Itoa(int(in.Width)) + "x" + + strconv.Itoa(int(in.Height)) + i_draw_text_box(ui, win.T + line, win, "Window size", screensize, + INS_RDP_SCREENSIZE, ui.insert_sel, red) + if line += 1; 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 } |