Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4327 → Rev 4328

/programs/demos/use_mb/use_mb.asm
12,8 → 12,9
dd 0x0 ;library_path
dd cur_dir_path
 
include 'macros.inc'
include 'load_lib.mac'
include '../../macros.inc'
include '../../develop/libraries/box_lib/load_lib.mac'
include 'lang.inc'
 
@use_library
 
193,14 → 194,21
 
jmp still
 
 
if lang eq ru
txt136 db '¯à®á⮥',0
txt137 db '3 ª­®¯ª¨',0
txt138 db '3 áâப¨',0
txt139 db '¡®«ì讥',0
txt140 db 'mb_reinit',0
 
hed db 'à¨¬¥à ¨á¯®«ì§®¢ ­¨ï MsgBox',0
else
txt136 db 'Simple',0
txt137 db '3 buttons',0
txt138 db '3 lines',0
txt139 db 'Big',0
txt140 db 'mb_reinit',0
hed db 'MsgBox usage example',0
end if
;sc system_colors
 
 
208,16 → 216,28
msgbox_1:
dw 0
db 'MBox',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
db 'à¨¬¥à',0
db '‚¨¦ã',0 ;button1
db 0
else
db 'Example',0
db 'I see!',0 ;button1
end if
msgbox_2:
dw 0
db 'MBox 3 but',0 ;+2 = +MB_TEXT_OFFSET
db 'MBox 3 buttons',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
db 'à¨¬¥à á 3-¬ï ª­®¯ª ¬¨',0
db '„ ',0 ;button1
db 'Žâ¬¥­ ',0 ;button2
db '®¬®éì',0 ;button3
else
db '3 buttons example',0
db 'Yes',0 ;button1
db 'Cancel',0 ;button2
db 'Help',0 ;button3
end if
db 0
msgbox_2_funct:
dd 0
227,12 → 247,21
msgbox_3:
dw 0
db 'MBox 3 lines',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
db '‘âப  1',13,'‘âப  2',13,'‘âப  3',0
db '2009 £.',0 ;button1
else
db 'Line 1',13,'Line 2',13,'Line 3',0
db 'Year 2009',0 ;button1
end if
db 0
msgbox_4:
dw 0
if lang eq ru
db '‚¢¥¤¨â¥ ¤¥­ì',0 ;+2 = +MB_TEXT_OFFSET
else
db 'Select day',0 ;+2 = +MB_TEXT_OFFSET
end if
db ' @@@@@@@@@@@@ @@@@@@@@',13
db ' @............@ @........@',13
db '@..............@ @..........@',13
252,6 → 281,7
db ' @......@....@..@....@.....@@..@',13
db ' @......@....@..@....@.........@',13
db ' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@',0
if lang eq ru
db '­',0
db '‚â',0
db '‘à',0
259,19 → 289,41
db 'â',0
db '‘¡',0
db '‚®áªà¥á¥­¨¥',0
else
db 'Sun',0
db 'Mon',0
db 'Tue',0
db 'Wed',0
db 'Thu',0
db 'Fri',0
db 'Sat',0
end if
db 0
msgbox_5:
dw 0
if lang eq ru
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚믮«­ïî ¯à®æ¥áá ...',0
db 'Žáâ ­®¢¨âì',0
db 'à¥à¢ âì',0
else
db 'Message',0 ;+2 = +MB_TEXT_OFFSET
db 'Running process ...',0
db 'Stop',0
db 'Abort',0
end if
db 0
msgbox_5_2:
dw 0
if lang eq ru
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚ᥠ§ ª®­ç¥­®',0
db '‡ ªàëâì ®ª­®',0
else
db 'Message',0 ;+2 = +MB_TEXT_OFFSET
db 'All finished',0
db 'Close window',0
end if
db 0
 
;--------------------------------------------------
332,9 → 384,12
call draw_square
ret
sh_help db 0
if lang eq ru
txt_help db '®¬®éì...'
else
txt_help db 'Help...'
end if
 
 
i_end: ;ª®­¥æ ª®¤ 
rb 1024
thread: