Rev 7375 | Rev 7398 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7375 | Rev 7386 | ||
---|---|---|---|
Line 369... | Line 369... | ||
369 | Open_Dir(#path,WITH_REDRAW); |
369 | Open_Dir(#path,WITH_REDRAW); |
370 | break; |
370 | break; |
371 | case 50...60: //Actions |
371 | case 50...60: //Actions |
372 | FnProcess(id-50); |
372 | FnProcess(id-50); |
373 | break; |
373 | break; |
- | 374 | case 61: // Set path as default |
|
- | 375 | ini.path = GetIni(#eolite_ini_path, "EOLITE.INI"); |
|
- | 376 | ini.section = "Config"; |
|
- | 377 | ini.SetString("DefaultPath", #path, strlen(#path)); |
|
- | 378 | break; |
|
374 | case 100...120: |
379 | case 100...120: |
375 | SystemDiscs.Click(id-100); |
380 | SystemDiscs.Click(id-100); |
376 | break; |
381 | break; |
377 | case POPUP_BTN1...POPUP_BTN2: |
382 | case POPUP_BTN1...POPUP_BTN2: |
378 | if (del_active) Del_File(id-POPUP_BTN2); |
383 | if (del_active) Del_File(id-POPUP_BTN2); |
Line 597... | Line 602... | ||
597 | } |
602 | } |
Line 598... | Line 603... | ||
598 | 603 | ||
599 | void DrawFavButton(int x) |
604 | void DrawFavButton(int x) |
600 | { |
605 | { |
601 | _PutImage(x,10,20,22,#fav); |
606 | _PutImage(x,10,20,22,#fav); |
602 | DefineButton(x,11,20-2,22-2,61+BT_HIDE+BT_NOFRAME,0); |
607 | DefineButton(x+1,11,20-2,22-3,61+BT_HIDE,NULL); |
Line 603... | Line 608... | ||
603 | } |
608 | } |
604 | 609 | ||
605 | void draw_window() |
610 | void draw_window() |