tmpdisk/t_gui.c: make disk selection better visible

git-svn-id: svn://kolibrios.org@6047 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-01-10 15:31:02 +00:00
parent ea730a853f
commit ba5bd0f954
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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);
}
}
}