diff options
author | Joe <rbo@gmx.us> | 2024-05-07 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-07 20:20:20 +0200 |
commit | 53664b1a4b62adcd744685c703c5050baaa02a08 (patch) | |
tree | 32213946dbcd2457f7fea7c0a46fa1f53fc0eef3 /src/i_info.go | |
parent | text change (diff) | |
download | hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.gz hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.bz2 hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.xz hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.zst hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.zip |
new opts
Diffstat (limited to 'src/i_info.go')
-rw-r--r-- | src/i_info.go | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/i_info.go b/src/i_info.go index 442a828..4802feb 100644 --- a/src/i_info.go +++ b/src/i_info.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/i_info.go - * Fri Jan 19 18:44:13 2024 + * Tue May 07 10:23:39 2024 * Joe * * interfacing informations about items @@ -282,6 +282,20 @@ func i_info_rdp(ui HardUI, host *HostNode, line int) int { if line += 1; line > ui.dim[H] - 3 { return line } i_draw_text(ui.s, (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line, + ui.style[TITLE_STYLE], "Full screen: ") + i_draw_text(ui.s, + (ui.dim[W] / 3) + 16, line, ui.dim[W] - 2, line, + ui.style[DEF_STYLE], strconv.FormatBool(host.FullScr)) + if line += 1; line > ui.dim[H] - 3 { return line } + i_draw_text(ui.s, + (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line, + ui.style[TITLE_STYLE], "Multi monitor: ") + i_draw_text(ui.s, + (ui.dim[W] / 3) + 18, line, ui.dim[W] - 2, line, + ui.style[DEF_STYLE], strconv.FormatBool(host.MultiMon)) + if line += 1; line > ui.dim[H] - 3 { return line } + i_draw_text(ui.s, + (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line, ui.style[TITLE_STYLE], "Quality: ") i_draw_text(ui.s, (ui.dim[W] / 3) + 12, line, ui.dim[W] - 2, line, |