Subversion Repositories Kolibri OS

Rev

Rev 6644 | Rev 9456 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6642 leency 1
empty_label: db '                                             ',0
2
TEXT_HOME: db 'Home',0
3
TEXT_ENTER: db 'Enter',0
4
TEXT_END: db 'End',0
5
TEXT_CANCEL: db 'x',0
6
 
7
strlen_var dd 0
8
 
4044 heavyiron 9
if lang eq ru
6642 leency 10
	TEXT_TITLE: db 'Завершение работы',0
6644 leency 11
	TEXT_RDSAVE1: db 'Сохранить изменения, сделанные в',0
12
	TEXT_RDSAVE2: db 'процессе работы в системе (Ctrl+S)',0
6642 leency 13
	TEXT_KERNEL: db 'Ядро',0
14
	TEXT_REBOOT: db 'Перезагрузка',0
15
	TEXT_OFF: db 'Выключение',0
4044 heavyiron 16
else if lang eq ge
6642 leency 17
	TEXT_TITLE: db 'Shutdown computer',0
18
	TEXT_RDSAVE1: db 'Save all changes that were done',0
19
	TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
20
	TEXT_KERNEL: db 'Kernel',0
21
	TEXT_REBOOT: db 'Neustart',0
22
	TEXT_OFF: db 'Beenden',0
4044 heavyiron 23
else if lang eq it
6642 leency 24
	TEXT_TITLE: db 'Shutdown computer',0
25
	TEXT_RDSAVE1: db 'Save all changes that were done',0
26
	TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
27
	TEXT_KERNEL: db 'Kernel',0
28
	TEXT_REBOOT: db 'Riavvio',0
29
	TEXT_OFF: db 'Spegni',0
4044 heavyiron 30
else
6642 leency 31
	TEXT_TITLE: db 'Shutdown computer',0
32
	TEXT_RDSAVE1: db 'Save all changes that were done',0
33
	TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0
34
	TEXT_KERNEL: db 'Kernel',0
35
	TEXT_REBOOT: db 'Reboot',0
36
	TEXT_OFF: db 'Power off',0
4044 heavyiron 37
end if
38
 
39
rdsave:
8532 IgorA 40
        dd  SSF_START_APP,0,hide,0,0
4213 heavyiron 41
        db  '/sys/rdsave',0
42
;---------------------------------------------------------------------
43
;Lib_DATA
44
system_dir_Boxlib       db '/sys/lib/box_lib.obj',0
45
system_dir_libini       db '/sys/lib/libini.obj',0
46
;---------------------------------------------------------------------
47
l_libs_start:
48
 
8532 IgorA 49
library01  l_libs system_dir_Boxlib+9, library_path, system_dir_Boxlib, Box_lib_import
50
library02  l_libs system_dir_libini+9, library_path, system_dir_libini, libini_import
4213 heavyiron 51
 
52
end_l_libs:
53
;---------------------------------------------------------------------
54
align 4
55
Box_lib_import:
8532 IgorA 56
init_checkbox    dd      aInit_checkbox
57
check_box_draw   dd      aCheck_box_draw
58
check_box_mouse  dd      aCheck_box_mouse
4213 heavyiron 59
;version_ch2       dd      aVersion_ch2
8532 IgorA 60
                  dd 0,0
61
aInit_checkbox   db 'init_checkbox2',0
62
aCheck_box_draw  db 'check_box_draw2',0
63
aCheck_box_mouse db 'check_box_mouse2',0
4213 heavyiron 64
;aVersion_ch2      db 'version_ch2',0
65
;---------------------------------------------------------------------
66
align 4
67
libini_import:
68
init_lib     dd a_init
69
ini_get_int  dd aini_get_int
70
ini_set_int  dd aini_set_int
8532 IgorA 71
             dd 0,0
4213 heavyiron 72
a_init       db 'lib_init',0
73
aini_get_int db 'ini_get_int',0
74
aini_set_int db 'ini_set_int',0
75
;---------------------------------------------------------------------
76
 
6642 leency 77
check1 check_box2 32 shl 16 +15, 70 shl 16 +15,6,0xffffff,0x757575,0x00CC00, empty_label, ch_flag_middle
4213 heavyiron 78
 
79
hide        db 'h',0
80
asettings   db 'settings',0
81
aautosave   db 'autosave',0
82
ini_file db  '/sys/settings/rdsave.ini',0
4266 heavyiron 83
 
84
 
5665 Pathoswith 85
If fade=1
86
 
4266 heavyiron 87
color21 dd 0x01505890
88
color22 dd 0xbfbfbf
89
color23 dd 0xa49fa1
90
 
91
color24 dd 0x590011
92
color25 dd 0x593700
93
color26 dd 0x373737
94
color27 dd 0x003700
95
 
96
color28 dd 0x90bfbfbf
5665 Pathoswith 97
 
4266 heavyiron 98
else
99
 
100
if lang eq ru
101
  label7:
102
      db   'Сохранение образа...',0
103
else
104
  label7:
105
      db   'Saving RAM-drive...',0
106
end if
107
 
108
end if