mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 15:46:49 +03:00
8ee81af2d3
git-svn-id: svn://kolibrios.org@4007 a494cfbc-eb01-0410-851d-a64ba20cac60
54 lines
949 B
PHP
54 lines
949 B
PHP
BGRedrawThread:
|
|
|
|
mcall 40,010000b
|
|
|
|
BGRTRedrawIcons:
|
|
@@:
|
|
cmp [bIcoBuff],1 ;¤«ï ¡«®ª¨à®¢ª¨ ¯à¥à¥à¨á®¢ª¨ ¨ª®®ª
|
|
jne @f
|
|
mcall 5,1
|
|
jmp @b
|
|
@@:
|
|
|
|
mov [bIcoBuff],1
|
|
|
|
mcall 48,5
|
|
mov dx,ax
|
|
shr eax,16
|
|
sub dx,ax
|
|
mov [ScreenX],dx
|
|
mov ax,bx
|
|
shr ebx,16
|
|
sub ax,bx
|
|
mov [ScreenY],ax
|
|
|
|
mov ecx,[MaxNumIcon]
|
|
test ecx,ecx
|
|
jz .NoDraw
|
|
xor ebx,ebx
|
|
@@: push ecx
|
|
cmp [IconNoDraw],ebx
|
|
je .nd
|
|
stdcall DrawIcon,ebx,0
|
|
.nd:
|
|
inc ebx
|
|
pop ecx
|
|
loop @b
|
|
.NoDraw:
|
|
|
|
mov [bIcoBuff],0
|
|
|
|
|
|
BGRTmessages:
|
|
mcall 10
|
|
sub eax,5
|
|
jz BGRTRedrawIcons
|
|
|
|
jmp BGRTmessages
|
|
|
|
|
|
|
|
|
|
|
|
|