Eolite: star button as set default path

git-svn-id: svn://kolibrios.org@7386 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pavelyakov 2018-09-18 15:09:58 +00:00
parent 805d2a75c1
commit a9dcec7a11
2 changed files with 7 additions and 2 deletions

View File

@ -371,6 +371,11 @@ void main()
case 50...60: //Actions
FnProcess(id-50);
break;
case 61: // Set path as default
ini.path = GetIni(#eolite_ini_path, "EOLITE.INI");
ini.section = "Config";
ini.SetString("DefaultPath", #path, strlen(#path));
break;
case 100...120:
SystemDiscs.Click(id-100);
break;
@ -599,7 +604,7 @@ void main()
void DrawFavButton(int x)
{
_PutImage(x,10,20,22,#fav);
DefineButton(x,11,20-2,22-2,61+BT_HIDE+BT_NOFRAME,0);
DefineButton(x+1,11,20-2,22-3,61+BT_HIDE,NULL);
}
void draw_window()

View File

@ -42,7 +42,7 @@ void about_dialog()
WriteTextB(about_x+2,107,0x82,0xD49CD2,ABOUT_TITLE);
WriteTextB(about_x,105,0x82,0x9D129D,ABOUT_TITLE);
DrawRectangle3D(0,154,about_form.cwidth,1,system.color.work_dark,system.color.work_light);
WriteTextLines(7,163,0x90,system.color.work_text,"KolibriOS File Manager\nAuthors: Leency, Veliant\nPunk_Joker, Pavelyakov\n(c) 2008 - 2017",20);
WriteTextLines(7,163,0x90,system.color.work_text,"KolibriOS File Manager\nAuthors: Leency, Veliant\nPunk_Joker, Pavelyakov\n(c) 2008 - 2018",20);
#ifdef LANG_RUS
DrawStandartCaptButton(60,about_form.cheight-38,11,"ˆáâ®à¨ï ࠧࠡ®âª¨");
#endif