From ba5bd0f9548dac92f175a3eebe6372a6a650f64c Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 10 Jan 2016 15:31:02 +0000 Subject: [PATCH] tmpdisk/t_gui.c: make disk selection better visible git-svn-id: svn://kolibrios.org@6047 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/browser/download_manager.h | 1 - programs/cmm/tmpdisk/t_gui.c | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/programs/cmm/browser/download_manager.h b/programs/cmm/browser/download_manager.h index 9667d1ed60..9996b9b39e 100644 --- a/programs/cmm/browser/download_manager.h +++ b/programs/cmm/browser/download_manager.h @@ -70,7 +70,6 @@ void Downloader() break; default: - if (DL_Form.width==0) break; //WTF? if (!downloader.MonitorProgress()) break; pb.max = downloader.data_full_size; if (pb.value != downloader.data_downloaded_size) diff --git a/programs/cmm/tmpdisk/t_gui.c b/programs/cmm/tmpdisk/t_gui.c index ccf52da16d..a944b823f6 100644 --- a/programs/cmm/tmpdisk/t_gui.c +++ b/programs/cmm/tmpdisk/t_gui.c @@ -231,7 +231,10 @@ void DrawTmpDisks() real_id = disk_list[i].Item[3] - '0'; WriteText(disk_pos_x[i]+25,disk_pos_y[i]+19, 0x80, 0x888888, ConvertSize(disk_sizes[real_id])); _PutImage(disk_pos_x[i]+5,disk_pos_y[i]+4, 14,14, 2*14*14*3+#icons); - if (selected==i) DrawRectangle(disk_pos_x[i], disk_pos_y[i], 65-1, 30-1, 0x00459A); + if (selected==i) { + DrawWideRectangle(disk_pos_x[i], disk_pos_y[i], 65, 30, 2, 0x0080FF); + PutPixel(disk_pos_x[i], disk_pos_y[i], 0xFFFfff); + } } }