Subversion Repositories Kolibri OS

Rev

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

Rev 2038 Rev 6328
Line 1... Line 1...
1
;-----------------------------------------------------------
1
;-----------------------------------------------------------
2
;---load icons  in memory and draw icons on panel-----------
2
;---load icons  in memory and draw icons on panel-----------
3
;-----------------------------------------------------------
3
;-----------------------------------------------------------
4
load_icons:
4
load_icons:
-
 
5
	stdcall [img_decode], panel_picture, panel_picture.end-panel_picture, 0
5
	 mov esi,panel_picture
6
	mov ebx,eax
6
	 mov edi,[ScreenPointer]
7
	mov edi,[ScreenPointer]
7
	 add edi,(1200*1000*3)
8
	add edi,(1200*1000*3)+8
8
	 ;mov edi,[PointerToIcons]
9
	stdcall [img_to_rgb2], ebx,edi ;преобразуем изображение к формату rgb
9
	 call ReadGIF
-
 
10
 
-
 
-
 
10
	stdcall [img_destroy], ebx ;удаляем временный буфер с параметрами изображения
11
	 ret
11
	ret
Line 12... Line 12...
12
 
12
 
Line 13... Line 13...
13
draw_icons:
13
draw_icons: