Small UI fixes

git-svn-id: svn://kolibrios.org@7819 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-04-22 20:42:35 +00:00
parent f3e196d8aa
commit cb460e1265
4 changed files with 4 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -61,8 +61,6 @@ struct Eolite_colors
dword selec_active;
dword selec_inactive;
dword selec_text;
dword work;
dword graph;
dword list_bg;
dword list_gb_text;
dword list_text_hidden;
@ -534,6 +532,7 @@ void draw_window()
DrawRectangle(1,40,Form.cwidth-3,Form.cheight - 42-status_bar_h,sc.work_graph);
DrawRectangle(0,39,Form.cwidth-1,-show_status_bar.checked*status_bar_h + Form.cheight - 40,col.work_gradient[4]); //bg
for (i=0; i<6; i++) DrawBar(0, 34+i, Form.cwidth, 1, MixColors(sc.work_dark, sc.work, i*10));
for (i=0; i<6; i++) DrawBar(0, 5-i, Form.cwidth, 1, MixColors(sc.work_light, sc.work, i*10));
llist_copy(#files_active, #files);
strcpy(#active_path, #path);
DrawStatusBar();

View File

@ -228,6 +228,7 @@ void SetAppColors()
static dword bg_col;
dword old_list_bg_color = col.list_bg;
sc.get();
sc.work_dark = MixColors(0, sc.work, 35);
if (bg_col == sc.work) return;
bg_col = sc.work;
if (skin_is_dark())
@ -241,7 +242,6 @@ void SetAppColors()
col.lpanel = MixColors(sc.work_graph, sc.work, 65);
col.selec = col.selec_active = sc.button;
col.selec_text = sc.button_text;
sc.work_dark = MixColors(0, sc.work, 35);
if (col.list_bg==col.selec) col.selec = sc.work_graph; //for fucking skins
col.slider_bg_big = MixColors(0xCED0D0, sc.work, 35);
col.odd_line = MixColors(0xFFFfff, sc.work, 15);
@ -257,7 +257,6 @@ void SetAppColors()
col.lpanel = 0x00699C;
col.selec = col.selec_active = 0x94AECE;
col.selec_text = 0x000000;
sc.work_dark = MixColors(0, sc.work, 35);
col.slider_bg_big = 0xCDCFCF;
col.odd_line = 0xF1F1F1;
}

View File

@ -1,5 +1,5 @@
#define TITLE "Eolite File Manager 4.24"
#define ABOUT_TITLE "EOLITE 4.24"
#define TITLE "Eolite File Manager 4.24b"
#define ABOUT_TITLE "EOLITE 4.24b"
#ifdef LANG_RUS
?define T_FILE "” ©«"