Rev 4027 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3974 | GerdtR | 1 | BGRedrawThread: |
2 | |||
4146 | GerdtR | 3 | mcall 40,010000b |
3974 | GerdtR | 4 | |
5 | BGRTRedrawIcons: |
||
4146 | GerdtR | 6 | mcall 48,5 |
3974 | GerdtR | 7 | |
4146 | GerdtR | 8 | mov [wsXe],ax |
9 | mov [wsYe],bx |
||
10 | |||
11 | mov dx,ax |
||
12 | shr eax,16 |
||
13 | mov [wsX],ax |
||
14 | sub dx,ax |
||
15 | mov [wsW],dx |
||
16 | |||
17 | mov ax,bx |
||
18 | shr ebx,16 |
||
19 | mov [wsY],bx |
||
20 | sub ax,bx |
||
21 | mov [wsH],ax |
||
22 | |||
23 | mcall 14 |
||
24 | mov [ScreenH],ax |
||
25 | shr eax,16 |
||
26 | mov [ScreenW],ax |
||
27 | |||
28 | mov ecx,[MaxNumIcon] |
||
29 | test ecx,ecx |
||
30 | jz .NoDraw |
||
31 | xor ebx,ebx |
||
32 | @@: push ecx |
||
33 | cmp [IconNoDraw],ebx |
||
34 | je .nd |
||
35 | stdcall DrawIcon,ebx,0 |
||
3974 | GerdtR | 36 | .nd: |
4146 | GerdtR | 37 | inc ebx |
38 | pop ecx |
||
39 | loop @b |
||
3974 | GerdtR | 40 | .NoDraw: |
3985 | GerdtR | 41 | |
42 | BGRTmessages: |
||
4146 | GerdtR | 43 | mcall 10 |
44 | sub eax,5 |
||
45 | jz BGRTRedrawIcons |
||
3985 | GerdtR | 46 | |
4146 | GerdtR | 47 | jmp BGRTmessages |
3974 | GerdtR | 48 |