Subversion Repositories Kolibri OS

Rev

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

Rev 6256 Rev 6906
Line 1... Line 1...
1
;Ž£à®¬­ ï ¡« £®¤ à­®áâì ¢á¥¬, ªâ® ¯®¬®£ «: ª®¤®¬/ᮢ¥â®¬/¤¨§ ©­®¬ ...
1
;Ž£à®¬­ ï ¡« £®¤ à­®áâì ¢á¥¬, ªâ® ¯®¬®£ «: ª®¤®¬/ᮢ¥â®¬/¤¨§ ©­®¬ ...
Line 2... Line 2...
2
 
2
 
3
use32
3
use32
4
  org 0x0
4
  org 0
5
  db 'MENUET01' ;¨¤¥­â¨ä. ¨á¯®«­ï¥¬®£® ä ©«  ¢á¥£¤  8 ¡ ©â
5
  db 'MENUET01' ;¨¤¥­â¨ä. ¨á¯®«­ï¥¬®£® ä ©«  ¢á¥£¤  8 ¡ ©â
Line 6... Line 6...
6
  dd 1, start, i_end, mem, stacktop, file_name, sys_path
6
  dd 1, start, i_end, mem, stacktop, file_name, sys_path
7
 
7
 
Line 142... Line 142...
142
	stdcall [ksubmenu_add], [main_menu_encoding], eax	
142
	stdcall [ksubmenu_add], [main_menu_encoding], eax	
143
	stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Encoding, [main_menu_encoding]
143
	stdcall [kmenuitem_new], KMENUITEM_SUBMENU, sz_main_menu_Encoding, [main_menu_encoding]
144
	stdcall [ksubmenu_add], [main_menu], eax
144
	stdcall [ksubmenu_add], [main_menu], eax
Line 145... Line 145...
145
	
145
	
146
; init toolbar file
146
; init toolbar file
147
	load_image_file 'te_icon.png', bmp_icon,,,6 ;6 ¤«ï á¥àëå ª­®¯®ª
147
	include_image_file 'te_icon.png', bmp_icon,,,6 ;6 ¤«ï á¥àëå ª­®¯®ª
148
	mov eax,[bmp_icon]
148
	mov eax,[bmp_icon]
149
	add eax,TOOLBAR_ICONS_SIZE
149
	add eax,TOOLBAR_ICONS_SIZE
150
	stdcall img_to_gray, [bmp_icon],eax,(TOOLBAR_ICONS_SIZE)/3
150
	stdcall img_to_gray, [bmp_icon],eax,(TOOLBAR_ICONS_SIZE)/3
151
;---------------------------------------------------------------------
151
;---------------------------------------------------------------------
152
; ç¨â ¥¬ ä ©« á ªãàá®à ¬¨ ¨ «¨­¨ï¬¨
152
; ¢­¥¤à塞 ä ©« á ªãàá®à ¬¨ ¨ «¨­¨ï¬¨
153
	load_image_file 'tl_sys_16.png', icon_tl_sys
153
	include_image_file '..\..\media\log_el\trunk\tl_sys_16.png', icon_tl_sys
154
	mov eax,dword[icon_tl_sys]
154
	mov eax,dword[icon_tl_sys]
155
	mov dword[tree1.data_img_sys],eax
155
	mov dword[tree1.data_img_sys],eax
156
;---------------------------------------------------------------------
156
;---------------------------------------------------------------------
157
; ç¨â ¥¬ ä ©« á ¨ª®­ª ¬¨ 㧫®¢
157
; ¢­¥¤à塞 ä ©« á ¨ª®­ª ¬¨ 㧫®¢
158
	load_image_file 'tl_nod_16.png', icon_tl_sys
158
	include_image_file 'tl_nod_16.png', icon_tl_sys
159
	mov eax,dword[icon_tl_sys]
159
	mov eax,dword[icon_tl_sys]
160
	mov dword[tree1.data_img],eax
160
	mov dword[tree1.data_img],eax
161
;------------------------------------------------------------------------------
161
;------------------------------------------------------------------------------
162
	copy_path fn_syntax_dir,sys_path,file_name,0 ;¡¥à¥¬ ¯ãâì ª ¯ ¯ª¥ á ä ©« ¬¨ ᨭ⠪á¨á 
162
	copy_path fn_syntax_dir,sys_path,file_name,0 ;¡¥à¥¬ ¯ãâì ª ¯ ¯ª¥ á ä ©« ¬¨ ᨭ⠪á¨á