forked from KolibriOS/kolibrios
software_widget: fix gap (tnx hidnplayr for report)
git-svn-id: svn://kolibrios.org@6192 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
29cc7502e3
commit
db17d90b8d
@ -118,14 +118,14 @@ byte draw_icons_from_section(dword key_value, key_name, sec_name, f_name)
|
|||||||
icon_id,
|
icon_id,
|
||||||
icon_char_pos;
|
icon_char_pos;
|
||||||
|
|
||||||
|
//do not show items located in /kolibrios/ if this directory not mounted
|
||||||
|
if (!strncmp(key_value, "/kolibrios/", 11)) && (!kolibrios_mounted) return true;
|
||||||
|
|
||||||
if (col==list.column_max) {
|
if (col==list.column_max) {
|
||||||
row++;
|
row++;
|
||||||
col=0;
|
col=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//do not show items located in /kolibrios/ if this directory not mounted
|
|
||||||
if (!strncmp(key_value, "/kolibrios/", 11)) && (!kolibrios_mounted) return true;
|
|
||||||
|
|
||||||
if (col==0) DrawBar(0, row * list.item_h + list_pos, Form.cwidth, list.item_h, LIST_BACKGROUND_COLOR);
|
if (col==0) DrawBar(0, row * list.item_h + list_pos, Form.cwidth, list.item_h, LIST_BACKGROUND_COLOR);
|
||||||
DefineButton(col*list.item_w+6, row*list.item_h + list_pos,list.item_w,list.item_h-5,list.count + 100 + BT_HIDE,0);
|
DefineButton(col*list.item_w+6, row*list.item_h + list_pos,list.item_w,list.item_h-5,list.count + 100 + BT_HIDE,0);
|
||||||
tmp = list.item_w/2;
|
tmp = list.item_w/2;
|
||||||
|
Loading…
Reference in New Issue
Block a user