Rev 8917 | Rev 8943 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8917 | Rev 8927 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //Leency, Veliant, Punk_Joker, PavelYakov & KolibriOS Team 2008-2021 |
1 | //Leency, Veliant, Punk_Joker, PavelYakov & KolibriOS Team 2008-2021 |
2 | //GNU GPL license. |
2 | //GNU GPL license. |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line 4... | ||
4 | // 70.5 - get volume info and label |
4 | // 70.5 - get volume info and label |
5 | 5 | ||
6 | #define ABOUT_TITLE "EOLITE 5 RC2" |
6 | #define ABOUT_TITLE "EOLITE 5 RC3" |
Line 7... | Line 7... | ||
7 | #define TITLE_EOLITE "Eolite File Manager 5 RC2" |
7 | #define TITLE_EOLITE "Eolite File Manager 5 RC3" |
8 | #define TITLE_KFM "Kolibri File Manager 2 RC2"; |
8 | #define TITLE_KFM "Kolibri File Manager 2 RC3"; |
9 | 9 | ||
10 | #define MEMSIZE 1024 * 250 |
10 | #define MEMSIZE 1024 * 250 |
Line 652... | Line 652... | ||
652 | } |
652 | } |
Line 653... | Line 653... | ||
653 | 653 | ||
654 | void DrawFuncButtonsInKfm() |
654 | void DrawFuncButtonsInKfm() |
655 | { |
655 | { |
656 | int i, x=0, len, min_w=0, padding; |
656 | int i, x=0, len, min_w=0, padding; |
657 | for (i=0; i<10; i++) min_w += strlen(kfm_func[i])*6 + 2; |
657 | for (i=0; i<10; i++) min_w += strlen(kfm_func[i])+2*6 + 2; |
658 | padding = Form.cwidth - min_w + 4 / 10; |
658 | padding = Form.cwidth - min_w + 4 / 10; |
659 | for (i=0; i<10; i++) { |
659 | for (i=0; i<10; i++) { |
660 | len = strlen(kfm_func[i])*6 + padding; |
660 | len = strlen(kfm_func[i])+2*6 + padding; |
661 | if (i==9) len = Form.cwidth - x - 3; |
661 | if (i==9) len = Form.cwidth - x - 3; |
662 | DrawFuncButton(x+1, Form.cheight - 19, len, i+KFM_FUNC_ID+1, kfm_func[i]); |
662 | DrawFuncButton(x+1, Form.cheight - 19, len, i+KFM_FUNC_ID+1, i+1, kfm_func[i]); |
663 | x += len + 2; |
663 | x += len + 2; |
664 | } |
664 | } |
Line 665... | Line 665... | ||
665 | } |
665 | } |