Subversion Repositories Kolibri OS

Rev

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

Rev 5017 Rev 5425
Line 1... Line 1...
1
ICON_STRIP	equ '/rd/1/iconstrp.png'
1
ICON_STRIP	equ '/rd/1/icons32.png'
2
ICON_INI	equ '/rd/1/settings/icon.ini'
2
ICON_INI	equ '/rd/1/settings/icon.ini'
3
ICON_SIZE	equ 68	  ;à §¬¥à ®¡« á⨠¤«ï ¨ª®­ª¨ á ­ ¤¯¨áìî
3
ICON_SIZE	equ 68	  ;à §¬¥à ®¡« á⨠¤«ï ¨ª®­ª¨ á ­ ¤¯¨áìî
4
IMG_SIZE	equ 32	  ;à §¬¥à ¨ª®­®ª
4
IMG_SIZE	equ 32	  ;à §¬¥à ¨ª®­®ª
5
TEXT_BOTTOM_Y	equ 14	  ;®âáâ㯠¯® Y ⥪áâ  ®â ­¨§  ¨ª®­ª¨
5
TEXT_BOTTOM_Y	equ 14	  ;®âáâ㯠¯® Y ⥪áâ  ®â ­¨§  ¨ª®­ª¨
6
IMAGE_TOP_Y	equ 10	  ;>=1 Š®®à¤¨­ â  Y ¨ª®­ª¨ ¢ ®¡« á⨠¤«ï ¤ ­­®© ¨ª®­ª¨
6
IMAGE_TOP_Y	equ 10	  ;>=1 Š®®à¤¨­ â  Y ¨ª®­ª¨ ¢ ®¡« á⨠¤«ï ¤ ­­®© ¨ª®­ª¨
Line 49... Line 49...
49
 
49
 
50
; unpack deflate
50
; unpack deflate
51
	mov	eax,[unpack_DeflateUnpack2]
51
	mov	eax,[unpack_DeflateUnpack2]
52
	mov	[deflate_unpack],eax
52
	mov	[deflate_unpack],eax
53
;---------------------------------------------------------------------
53
;---------------------------------------------------------------------
54
; get size of file ICONSTRP.PNG
54
; get size of file icons32.png
55
	mcall	70,fiStdIco
55
	mcall	70,fiStdIco
56
	test	eax,eax
56
	test	eax,eax
57
	jnz	ErrorStrp
57
	jnz	ErrorStrp
58
; get memory for ICONSTRP.PNG
58
; get memory for icons32.png
59
	mov	ecx,dword[bufStdIco+32]
59
	mov	ecx,dword[bufStdIco+32]
60
	mov	[fiStdIco.size],ecx
60
	mov	[fiStdIco.size],ecx
61
	mov	[img_size],ecx
61
	mov	[img_size],ecx
62
	mcall	68,12
62
	mcall	68,12
63
	mov	[fiStdIco.point],eax
63
	mov	[fiStdIco.point],eax
64
	mov	[image_file],eax
64
	mov	[image_file],eax
65
; load ICONSTRP.PNG
65
; load icons32.png
66
	mov	dword[fiStdIco],0
66
	mov	dword[fiStdIco],0
67
	mcall	70,fiStdIco
67
	mcall	70,fiStdIco
68
	test	eax,eax
68
	test	eax,eax
69
	jnz	close
69
	jnz	close
Line 195... Line 195...
195
ErrLoadLibs:
195
ErrLoadLibs:
196
	;dps     '¥ 㤠«®áì § £à㧨âì ­¥®¡å®¤¨¬ë¥ ¡¨¡«¨®â¥ª¨'
196
	;dps     '¥ 㤠«®áì § £à㧨âì ­¥®¡å®¤¨¬ë¥ ¡¨¡«¨®â¥ª¨'
197
	;debug_newline
197
	;debug_newline
198
	jmp	close
198
	jmp	close
199
ErrorStrp:
199
ErrorStrp:
200
	;dps     'Žè¨¡ª  ®âªàëâ¨ï iconstrp.png'
200
	;dps     'Žè¨¡ª  ®âªàëâ¨ï icons32.png'
201
	;debug_newline
201
	;debug_newline
202
close:
202
close:
203
	mcall	-1
203
	mcall	-1
Line 204... Line 204...
204
 
204