Eolite: bugfixes

git-svn-id: svn://kolibrios.org@8847 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2021-06-14 00:36:42 +00:00
parent ff0745456b
commit 4fc7d26119
2 changed files with 1 additions and 9 deletions

View File

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

View File

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