2013-10-04 11:43:01 +02:00
|
|
|
BGRedrawThread:
|
|
|
|
|
2013-11-01 22:07:43 +01:00
|
|
|
mcall 40,010000b
|
2013-10-04 11:43:01 +02:00
|
|
|
|
|
|
|
BGRTRedrawIcons:
|
2013-11-01 22:07:43 +01:00
|
|
|
mcall 48,5
|
|
|
|
|
|
|
|
mov [wsXe],ax
|
|
|
|
mov [wsYe],bx
|
|
|
|
|
|
|
|
mov dx,ax
|
|
|
|
shr eax,16
|
|
|
|
mov [wsX],ax
|
|
|
|
sub dx,ax
|
|
|
|
mov [wsW],dx
|
|
|
|
|
|
|
|
mov ax,bx
|
|
|
|
shr ebx,16
|
|
|
|
mov [wsY],bx
|
|
|
|
sub ax,bx
|
|
|
|
mov [wsH],ax
|
|
|
|
|
|
|
|
mcall 14
|
|
|
|
mov [ScreenH],ax
|
|
|
|
shr eax,16
|
|
|
|
mov [ScreenW],ax
|
|
|
|
|
|
|
|
mov ecx,[MaxNumIcon]
|
|
|
|
test ecx,ecx
|
|
|
|
jz .NoDraw
|
|
|
|
xor ebx,ebx
|
|
|
|
@@: push ecx
|
|
|
|
cmp [IconNoDraw],ebx
|
|
|
|
je .nd
|
|
|
|
stdcall DrawIcon,ebx,0
|
2013-10-04 11:43:01 +02:00
|
|
|
.nd:
|
2013-11-01 22:07:43 +01:00
|
|
|
inc ebx
|
|
|
|
pop ecx
|
|
|
|
loop @b
|
2013-10-04 11:43:01 +02:00
|
|
|
.NoDraw:
|
|
|
|
|
2013-10-08 12:18:04 +02:00
|
|
|
BGRTmessages:
|
2013-11-01 22:07:43 +01:00
|
|
|
mcall 10
|
|
|
|
sub eax,5
|
|
|
|
jz BGRTRedrawIcons
|
2013-10-08 12:18:04 +02:00
|
|
|
|
2013-11-01 22:07:43 +01:00
|
|
|
jmp BGRTmessages
|
2013-10-08 12:18:04 +02:00
|
|
|
|
|
|
|
|
2013-10-04 11:43:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|