forked from KolibriOS/kolibrios
Eolite: bugfixes
git-svn-id: svn://kolibrios.org@8847 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ff0745456b
commit
4fc7d26119
@ -85,11 +85,3 @@ void DrawDot(dword x,y) {
|
||||
PutPixel(x,y+3,col_pxl);
|
||||
PutPixel(x+3,y+3,col_pxl);
|
||||
}
|
||||
|
||||
void DrawCaptButtonSmallText(dword x,y,w,h,id,color_b, color_t,text)
|
||||
{
|
||||
dword tx = -strlen(text)*6+w/2+x;
|
||||
dword ty = h/2-3+y;
|
||||
DefineButton(x,y,w,h,id,color_b);
|
||||
WriteText(tx,ty,0x80,color_t,text);
|
||||
}
|
@ -223,7 +223,7 @@ void LoadIcons()
|
||||
icons16_selected.load("/sys/icons16.png");
|
||||
icons16_selected.replace_2colors(0xffFFFfff, col.selec, 0xffCACBD6, selected_shadow);
|
||||
if (col.list_bg!=0xFFFfff) {
|
||||
icons16_selected.replace_2colors(0xffFFFfff, col.list_bg, 0xffCACBD6, non_white_shadow);
|
||||
icons16_default.replace_2colors(0xffFFFfff, col.list_bg, 0xffCACBD6, non_white_shadow);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user