Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3244 → Rev 4128

/programs/other/t_edit/t_edit.asm
18,6 → 18,7
maxChars equ 100002 ;(...+2)
BUF_SIZE equ 4096 ;buffer for copy|paste
maxSyntaxFileSize equ 410000
TOOLBAR_ICONS_SIZE equ 1200*18
 
include '../../proc32.inc'
;include '../../config.inc'
131,7 → 132,10
stdcall [OpenDialog_Init],OpenDialog_data
 
; init toolbar file
load_image_file 'te_icon.png', bmp_icon,1200*18
load_image_file 'te_icon.png', bmp_icon,TOOLBAR_ICONS_SIZE*2 ;㬭®¦¥­¨¥ ­  2 ¤«ï á¥àëå ª­®¯®ª
mov eax,[bmp_icon]
add eax,TOOLBAR_ICONS_SIZE
stdcall img_to_gray, [bmp_icon],eax,(TOOLBAR_ICONS_SIZE)/3
;---------------------------------------------------------------------
; ç¨â ¥¬ ä ©« á ªãàá®à ¬¨ ¨ «¨­¨ï¬¨
load_image_file 'tl_sys_16.png', icon_tl_sys,54+3*256*13