Eolite 4.41: show /cd disks without verification, improve app open time

git-svn-id: svn://kolibrios.org@7992 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-05-27 16:08:11 +00:00
parent e18f3d60f6
commit 04dc8faf5e
4 changed files with 16 additions and 9 deletions

View File

@ -335,7 +335,7 @@ void main()
break;
//Button pressed-----------------------------------------------------------------------------
case evButton:
id=GetButtonID();
id = @GetButtonID();
if (new_element_active) || (del_active) {
if (POPUP_BTN1==id) && (del_active) EventDelete();

View File

@ -110,7 +110,7 @@ void _SystemDiscs::Get()
for (j1=0; j1<dev_disc_num; j1++;)
{
sprintf(#sys_discs,"%s/%s",#dev_name,j1*304+ buf+72);
if (dir_exists(#sys_discs)) list.add(#sys_discs);
if (sys_discs[1]=='c') || (dir_exists(#sys_discs)) list.add(#sys_discs);
}
if (!strcmp(#sys_discs, "/rd/1"))
{

View File

@ -216,11 +216,13 @@ void LoadIcons()
icons16_default.replace_color(0xffCACBD6, MixColors(col.list_bg, 0, 200));
}
//ICONS32.PNG
if (big_icons.checked) {
icons32_default.load("/sys/icons32.png");
icons32_selected.load("/sys/icons32.png");
icons32_default.replace_color(0x00000000, col.list_bg);
icons32_selected.replace_color(0x00000000, col.selec);
}
}
void SetAppColors()
{
@ -281,7 +283,12 @@ void BigFontsChange()
void BigIconsSwitch()
{
if (big_icons.checked) icon_size=32; else icon_size=16;
if (big_icons.checked) {
icon_size=32;
LoadIcons();
} else {
icon_size=16;
}
BigFontsChange();
}

View File

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