mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 09:49:41 +03:00
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:
parent
ea730a853f
commit
ba5bd0f954
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user