/programs/cmm/eolite/Eolite.c |
---|
21,7 → 21,6 |
#include "..\lib\patterns\history.h" |
//images |
#include "imgs\toolbar.txt" |
#include "imgs\left_p.txt" |
#include "imgs\icons.txt" |
94,8 → 93,8 |
byte CMD_REFRESH; |
//struct t_settings { |
int sort_num=2, |
show_dev_name=true, |
char sort_num=2; |
bool show_dev_name=true, |
real_files_names_case=false, |
info_after_copy=false, |
two_panels=false, |
532,6 → 531,12 |
} |
} |
void DrawFavButton(int x) |
{ |
_PutImage(x,10,20,22,#fav); |
DefineButton(x,11,20-2,22-2,61+BT_HIDE+BT_NOFRAME,0); |
} |
void draw_window() |
{ |
DefineAndDrawWindow(WinX+rand_n,WinY+rand_n,WinW,WinH,0x73,NULL,TITLE,0); |
540,16 → 545,13 |
if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; } |
if (Form.width < 480) { MoveSize(OLD,OLD,480,OLD); return; } |
GetProcessInfo(#Form, SelfInfo); //if win_size changed |
PutPaletteImage(#toolbar,246,34,0,0,8,#toolbar_pal); |
_PutImage(0,0,246,34,#toolbar); |
DrawBar(127, 8, 1, 25, col_graph); |
for (j=0; j<3; j++) DefineButton(toolbar_buttons_x[j]+2,5+2,31-5,29-5,21+j+BT_HIDE,NULL); |
for (j=3; j<6; j++) DefineButton(toolbar_buttons_x[j],5,31,29,21+j+BT_HIDE,NULL); |
DrawBar(246,0, Form.cwidth - 246, 34, col_work); |
if (!show_breadcrumb) { |
DrawRectangle(246,12,Form.cwidth - 303,16,col_graph); |
DefineButton(Form.cwidth - 32,6,27,28,51+BT_HIDE+BT_NOFRAME,0); //about |
PutPaletteImage(#goto_about,56,34,Form.width-65,0,8,#goto_about_pal); |
} |
_PutImage(Form.cwidth-17,11,6,18,#dots); |
DefineButton(Form.cwidth-24,7,20,25,51+BT_HIDE+BT_NOFRAME,0); //dots |
//main rectangles |
DrawRectangle(1,40,Form.cwidth-3,Form.cheight - 42,col_graph); |
DrawRectangle(0,39,Form.cwidth-1,Form.cheight - 40,col_palette[4]); //bg |
/programs/cmm/eolite/imgs/goto_about.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/toolbar.txt |
---|
File deleted |
\ No newline at end of file |
/programs/cmm/eolite/imgs/dots.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/fav.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/left_p.txt |
---|
1,4 → 1,4 |
unsigned char blue_hl[sizeof(file "imgs\blue_hl8.raw")]= FROM "imgs\blue_hl8.raw"; |
unsigned char blue_hl[]= FROM "imgs\blue_hl8.raw"; |
dword blue_hl_pal[]= {0x0001699C,0x0000699C,0x00026A9C,0x0002699C, |
0x00036A9C,0x00046B9C,0x00046A9C,0x00056B9D,0x00046B9D,0x00066C9D, |
0x00066C9E,0x00056C9D,0x00076D9E,0x00086E9F,0x00066D9E,0x00086D9E, |
17,10 → 17,6 |
0x001E7AA8,0x001C79A6,0x001575A4,0x00207CA8,0x001E7AA7,0x001D79A7, |
0x001976A4,0x00217CA8,0x00227CA8,0x00207BA8,0x001976A5,0x001473A3,0}; |
unsigned char devices[18*204]= FROM "imgs\dev.raw"; |
unsigned char factions[14*39] = FROM "imgs\actions.raw"; |
unsigned char logo[] = FROM "imgs\logo.raw"; |
dword logo_pal = {0x0000FF00,0x007C047C,0x00940494,0x00903490,0x00B092AE, |
0x00D43CD4,0x008B0C8B,0x00AE75AE,0x00DF6CDF,0x00AC14AC,0x00976993, |
31,4 → 27,10 |
0x00E96A1B,0x00B72491,0x00EC9404,0x00F69C04,0x00FCA404,0x00FCB404, |
0x00FCB80A,0x00FCAC04,0x00AB1BAB,0x00940C94,0x009C0494,0x00770777, |
0x00F4A404,0x00FCBD10,0x00FBBC17,0x00FCC417,0x00FCC628,0x00FCBE17, |
0x00FBBD1F,0x00FCCC34,0x00FBB618,0x00B9A8B8}; |
0x00FBBD1F,0x00FCCC34,0x00FBB618,0x00B9A8B8}; |
unsigned char fav[] = FROM "imgs\fav.raw"; |
unsigned char dots[] = FROM "imgs\dots.raw"; |
unsigned char toolbar[] = FROM "imgs\toolbar.raw"; |
unsigned char devices[]= FROM "imgs\dev.raw"; |
unsigned char factions[] = FROM "imgs\actions.raw"; |
/programs/cmm/eolite/imgs/png/icons.raw.c-- |
---|
File deleted |
\ No newline at end of file |
/programs/cmm/eolite/imgs/png/rb.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/png/dots.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/png/fav.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/imgs/png/toolbar.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/programs/cmm/eolite/imgs/toolbar.raw |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/programs/cmm/eolite/include/breadcrumbs.h |
---|
2,8 → 2,11 |
PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
void DrawPathBar() |
{ |
PathShow.area_size_x = Form.cwidth-306; |
DrawBar(PathShow.start_x-3, PathShow.start_y-4, PathShow.area_size_x+2, 15, 0xFFFfff); |
PathShow.area_size_x = Form.cwidth-300; |
DrawBar(PathShow.start_x-3, PathShow.start_y-6, PathShow.area_size_x+3, 19, 0xFFFfff); |
DrawRectangle(PathShow.start_x-4,PathShow.start_y-7,PathShow.area_size_x+4,20,col_graph); |
DrawBar(PathShow.start_x-4, PathShow.start_y+14, PathShow.area_size_x+4, 1, MixColors(col_work,0xFFFfff,120)); |
DrawFavButton(PathShow.start_x+PathShow.area_size_x); |
PathShow_prepare stdcall(#PathShow); |
PathShow_draw stdcall(#PathShow); |
} |
34,7 → 37,10 |
DrawBreadcrumbButton(btn.x, btn.y, btn.w, btn.h, i+BREADCRUMB_ID, text_line); |
btn.x += btn.w; |
} |
DrawBar(btn.x+1,btn.y-1,Form.cwidth-btn.x-5,btn.h+3,col_work); |
//DrawFavButton(btn.x); |
//btn.x+=20; |
btn.x++; |
DrawBar(btn.x,btn.y-1,Form.cwidth-btn.x-25,btn.h+3,col_work); |
} |
/programs/cmm/eolite/include/settings.h |
---|
52,7 → 52,7 |
else if (id==24) two_panels ^= true; |
else if (id==32) show_breadcrumb ^= true; |
else if (id==25) { files.item_h++; files_active.item_h = files_inactive.item_h = files.item_h; } |
else if (id==26) && (files.item_h>16) files.item_h--; |
else if (id==26) && (files.item_h>15) files_inactive.item_h = files.item_h = files.item_h-1; |
else if (id==30) { label.size.pt++; IF(!label.changeSIZE()) label.size.pt--; BigFontsChange(); } |
else if (id==31) { label.size.pt--; IF(!label.changeSIZE()) label.size.pt++; BigFontsChange(); } |
EventRedrawWindow(Form.left,Form.top); |
/programs/cmm/eolite/include/translations.h |
---|
1,5 → 1,5 |
#define TITLE "Eolite File Manager v3.51" |
#define ABOUT_TITLE "EOLITE 3.51" |
#define TITLE "Eolite File Manager v3.55" |
#define ABOUT_TITLE "EOLITE 3.55" |
#ifdef LANG_RUS |
?define T_FILE " ©«" |