appearance: fix tabs appearance according to new buttons style

git-svn-id: svn://kolibrios.org@6048 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-01-10 15:47:29 +00:00
parent ba5bd0f954
commit ae27a12047

View File

@ -234,8 +234,7 @@ void DrawTab(dword x,y, but_id, is_active, text)
col_bg=system.color.work; col_bg=system.color.work;
col_text=system.color.work_text; col_text=system.color.work_text;
} }
DrawRectangle(x,y, w,h, system.color.work_graph); DrawCaptButton(x,y, w-1,h+1, but_id, col_bg, col_text, text);
DrawCaptButton(x+1,y+1, w-2,h-1, but_id, col_bg, col_text, text);
_PutImage(x+6,y+4, 16,15, but_id-2*16*15*3+#icons); _PutImage(x+6,y+4, 16,15, but_id-2*16*15*3+#icons);
} }