From 4fc7d261193e49ffaa843846451110501d58e73e Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 14 Jun 2021 00:36:42 +0000 Subject: [PATCH] Eolite: bugfixes git-svn-id: svn://kolibrios.org@8847 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/include/gui.h | 8 -------- programs/cmm/eolite/include/settings.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/programs/cmm/eolite/include/gui.h b/programs/cmm/eolite/include/gui.h index 8acc4e2578..44c1c6c75d 100644 --- a/programs/cmm/eolite/include/gui.h +++ b/programs/cmm/eolite/include/gui.h @@ -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); -} \ No newline at end of file diff --git a/programs/cmm/eolite/include/settings.h b/programs/cmm/eolite/include/settings.h index 9279b66ee5..cdf271d641 100644 --- a/programs/cmm/eolite/include/settings.h +++ b/programs/cmm/eolite/include/settings.h @@ -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); } }