Subversion Repositories Kolibri OS

Rev

Rev 5612 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5612 Rev 5614
Line -... Line 1...
-
 
1
#ifndef AUTOBUILD
-
 
2
	#include "lang.h--"
-
 
3
#endif
-
 
4
 
1
#define MEMSIZE 0x100000
5
#define MEMSIZE 0x100000
2
#include "..\lib\kolibri.h" 
6
#include "..\lib\kolibri.h" 
3
#include "..\lib\strings.h" 
7
#include "..\lib\strings.h" 
4
#include "..\lib\mem.h" 
8
#include "..\lib\mem.h" 
5
#include "..\lib\file_system.h"
9
#include "..\lib\file_system.h"
Line 7... Line 11...
7
#include "..\lib\gui.h"
11
#include "..\lib\gui.h"
8
#include "..\lib\obj\box_lib.h"
12
#include "..\lib\obj\box_lib.h"
9
#include "..\lib\obj\proc_lib.h"
13
#include "..\lib\obj\proc_lib.h"
10
#include "..\lib\obj\libio_lib.h"
14
#include "..\lib\obj\libio_lib.h"
Line 11... Line -...
11
 
-
 
12
#include "lang.h--"
-
 
13
 
15
 
14
#ifdef LANG_RUS
16
#ifdef LANG_RUS
15
	?define T_FILE "” ©«"
17
	?define T_FILE "” ©«"
16
	?define T_TYPE "’¨¯"
18
	?define T_TYPE "’¨¯"
17
	?define T_SIZE " §¬¥à"
19
	?define T_SIZE " §¬¥à"
Line 57... Line 59...
57
	char sub_menu4[5];
59
	char sub_menu4[5];
58
	byte end;
60
	byte end;
59
};
61
};
60
#endif
62
#endif
Line 61... Line 63...
61
 
63
 
Line 62... Line 64...
62
#define TITLE "Calypte v0.1"
64
#define TITLE "Calypte v0.11"
63
 
65
 
64
#define TOPPANELH 19
66
#define TOPPANELH 19
65
#define BOTPANELH 10
67
#define BOTPANELH 10
Line 86... Line 88...
86
};
88
};
Line 87... Line 89...
87
 
89
 
88
filter filter2;
90
filter filter2;
Line 89... Line 91...
89
menu_text_struct menu_text_area1;
91
menu_text_struct menu_text_area1;
Line 90... Line 92...
90
 
92
 
91
char win_title[4096] = "Calypte v0.1";
93
char win_title[4096] = "Calypte v0.11";
92
 
94
 
93
int
95
int
Line 137... Line 139...
137
	mem_Init();
139
	mem_Init();
138
	if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_LOAD_BOX_LIB);
140
	if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_LOAD_BOX_LIB);
139
	if (load_dll2(libio, #libio_init,1)!=0) notify(ERROR_LOAD_LIBIO);
141
	if (load_dll2(libio, #libio_init,1)!=0) notify(ERROR_LOAD_LIBIO);
140
	if (load_dll2(Proc_lib, #OpenDialog_init,0)!=0) notify(ERROR_LOAD_PROC_LIB);
142
	if (load_dll2(Proc_lib, #OpenDialog_init,0)!=0) notify(ERROR_LOAD_PROC_LIB);
141
	OpenDialog_init stdcall (#o_dialog);
143
	OpenDialog_init stdcall (#o_dialog);
-
 
144
	
142
	SetEventMask(0x27);
145
	SetEventMask(0x27);
143
	loop()
146
	loop()
144
	{
147
	{
145
      switch(WaitEvent())
148
      switch(WaitEvent())
146
      {
149
      {