Subversion Repositories Kolibri OS

Rev

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

Rev 7252 Rev 7259
Line 12... Line 12...
12
	#include "lang.h--"
12
	#include "lang.h--"
13
#endif
13
#endif
Line 14... Line 14...
14
 
14
 
Line 15... Line 15...
15
/* === TRANSLATIONS === */
15
/* === TRANSLATIONS === */
Line 16... Line 16...
16
 
16
 
17
#define T_WTITLE "EasyShot v1.0"
17
#define T_WTITLE "EasyShot v1.1"
18
 
18
 
19
#ifdef LANG_RUS
19
#ifdef LANG_RUS
20
	?define T_TAKE_SCREENSHOT "  ‘¤¥« âì áªà¨­è®â"
-
 
21
	?define T_SETTINGS " áâனª¨"
20
	?define T_TAKE_SCREENSHOT "  ‘¤¥« âì áªà¨­è®â"
-
 
21
	?define T_SETTINGS " áâனª¨"
-
 
22
	?define T_EDITBOX_FRAME " ãâì á®åà ­¥­¨ï áªà¨­è®â  "
22
	?define T_EDITBOX_FRAME " ãâì á®åà ­¥­¨ï áªà¨­è®â  "
23
	?define T_MINIMIZE "‘¢¥à­ãâì ®ª­® ¯à¨ á­¨¬ª¥"
23
	?define T_DELAY "‡ ¤¥à¦ª  ¢ ᥪ㭤 å"
24
	?define T_CONTINUOUS_SHOOTING "Continuous shooting"
24
	?define T_MINIMIZE "‘¢¥à­ãâì ®ª­® ¯à¨ á­¨¬ª¥"
25
	?define T_DELAY "‡ ¤¥à¦ª  ¢ ᥪ㭤 å"
25
	?define T_NO_DIR "' ¯ª  ­¥ áãé¥áâ¢ã¥â!' -E"
26
	?define T_NO_DIR "' ¯ª  ­¥ áãé¥áâ¢ã¥â!' -E"
26
	?define T_SET_PATH "‡ ¤ âì"
27
	?define T_SET_PATH "‡ ¤ âì"
27
#else
28
#else
28
	?define T_TAKE_SCREENSHOT "  Take a screenshot"
-
 
29
	?define T_SETTINGS "Settings"
29
	?define T_TAKE_SCREENSHOT "  Take a screenshot"
-
 
30
	?define T_SETTINGS "Settings"
-
 
31
	?define T_EDITBOX_FRAME " Save path "
30
	?define T_EDITBOX_FRAME " Save path "
32
	?define T_MINIMIZE "Minimize window"
31
	?define T_DELAY "Delay in seconds"
33
	?define T_CONTINUOUS_SHOOTING "Continuous shooting"
32
	?define T_MINIMIZE "Minimize window"
34
	?define T_DELAY "Delay in seconds"
Line 33... Line 35...
33
	?define T_NO_DIR "'Directory does not exists!' -E"
35
	?define T_NO_DIR "'Directory does not exists!' -E"
Line 56... Line 58...
56
edit_box edit_save = {250,25,100,0xffffff,0x94AECE,0xFFFfff,0xffffff,
58
edit_box edit_save = {250,25,100,0xffffff,0x94AECE,0xFFFfff,0xffffff,
57
	0x10000000,sizeof(save_path),#save_path,0, 0b};
59
	0x10000000,sizeof(save_path),#save_path,0, 0b};
Line 58... Line 60...
58
 
60
 
59
more_less_box delay = { 1, 0, 64, T_DELAY };
61
more_less_box delay = { 1, 0, 64, T_DELAY };
-
 
62
checkbox minimize = { T_MINIMIZE, true };
Line 60... Line 63...
60
checkbox minimize = { T_MINIMIZE, true };
63
checkbox continuous_shooting = { T_CONTINUOUS_SHOOTING, true };
61
 
64
 
62
 
65
 
Line 126... Line 129...
126
}
129
}
Line 127... Line 130...
127
 
130
 
128
void DrawMainContent()
131
void DrawMainContent()
129
{
132
{
130
	int take_scr_btn_width;
133
	int take_scr_btn_width;
131
	take_scr_btn_width = DrawIconButton(PD, PD, BTN_MAKE_SCREENSHOT, T_TAKE_SCREENSHOT, 44);
134
	take_scr_btn_width = DrawIconButton(PD, PD, BTN_MAKE_SCREENSHOT, T_TAKE_SCREENSHOT, 45);
132
	DrawIconButton(PD+take_scr_btn_width, PD, BTN_SETTINGS, " ", 10);	
135
	DrawIconButton(PD+take_scr_btn_width, PD, BTN_SETTINGS, " ", 10);	
Line 133... Line 136...
133
}
136
}
134
 
137