WIN_W = 440 WIN_H = 200 BOT_PANEL_H = 70 ;--------------------------------------------------------------------- CANCEL_BUTTON_ID = 1+BT_HIDE HOME_BUTTON_ID = 2 REBOOT_BUTTON_ID = 3 POWEROFF_BUTTON_ID = 4 CHECKBOX_BUTTON_ID = 5+BT_HIDE ;--------------------------------------------------------------------- TEXT_HOME: db 'Home',0 TEXT_ENTER: db 'Enter',0 TEXT_END: db 'End',0 TEXT_CANCEL: db 'x',0 ;--------------------------------------------------------------------- if lang eq ru TEXT_WTITLE: db 'Завершение работы',0 TEXT_RDSAVE1: db 'Сохранить изменения, сделанные в',0 TEXT_RDSAVE2: db 'процессе работы в системе (Ctrl+S)',0 TEXT_KERNEL: db 'Ядро',0 TEXT_REBOOT: db 'Перезагрузка',0 TEXT_OFF: db 'Выключение',0 TEXT_SAVING: db 'Сохранение образа...',0 else if lang eq ge TEXT_WTITLE: db 'Shutdown computer',0 TEXT_RDSAVE1: db 'Save all changes that were done',0 TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0 TEXT_KERNEL: db 'Kernel',0 TEXT_REBOOT: db 'Neustart',0 TEXT_OFF: db 'Beenden',0 TEXT_SAVING: db 'Saving RAM-drive...',0 else if lang eq it TEXT_WTITLE: db 'Shutdown computer',0 TEXT_RDSAVE1: db 'Save all changes that were done',0 TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0 TEXT_KERNEL: db 'Kernel',0 TEXT_REBOOT: db 'Riavvio',0 TEXT_OFF: db 'Spegni',0 TEXT_SAVING: db 'Saving RAM-drive...',0 else TEXT_WTITLE: db 'Shutdown computer',0 TEXT_RDSAVE1: db 'Save all changes that were done',0 TEXT_RDSAVE2: db 'during system work (Ctrl+S)',0 TEXT_KERNEL: db 'Kernel',0 TEXT_REBOOT: db 'Reboot',0 TEXT_OFF: db 'Power off',0 TEXT_SAVING: db 'Saving RAM-drive...',0 end if ;--------------------------------------------------------------------- rdsave: dd SSF_START_APP,0,hide,0,0 db '/sys/rdsave',0 hide db 'h',0 asettings db 'settings',0 aautosave db 'autosave',0 ini_file db '/sys/settings/rdsave.ini',0 ;--------------------------------------------------------------------- ;Lib_DATA system_dir_libini db '/sys/lib/libini.obj',0 ;--------------------------------------------------------------------- l_libs_start: library02 l_libs system_dir_libini+9, library_path, system_dir_libini, libini_import end_l_libs: ;--------------------------------------------------------------------- align 4 libini_import: init_lib dd a_init ini_get_int dd aini_get_int ini_set_int dd aini_set_int dd 0,0 a_init db 'lib_init',0 aini_get_int db 'ini_get_int',0 aini_set_int db 'ini_set_int',0 ;--------------------------------------------------------------------- checkbox_sharedname db 'CHECKBOX',0 checkbox_img dd ? ;---------------------------------------------------------------------