68,7 → 68,7 |
|
shr eax,16 |
shr ebx,16 |
mov edx,[0x3010] |
mov edx,[TASK_BASE] |
|
add eax,[edx-twdw + WDATA.box.left] |
add ebx,[edx-twdw + WDATA.box.top] |
164,7 → 164,7 |
sys_button: |
|
push edi |
mov edi,[0x3000] |
mov edi,[CURRENT_TASK] |
shl edi,8 |
rol eax,16 |
add ax,word[edi+0x80000+APPDATA.wnd_clientbox.left] |
197,7 → 197,7 |
push ebx |
shr eax,16 |
shr ebx,16 |
mov edx,[0x3010] |
mov edx,[TASK_BASE] |
mov esi,[edx-twdw + WDATA.box.left] |
mov edi,[edx-twdw + WDATA.box.top] |
add eax,esi |
247,7 → 247,7 |
shl eax,4 |
add eax,edi |
|
mov bx,[0x3000] |
mov bx,[CURRENT_TASK] |
mov [eax],bx |
|
add eax,2 ; save button id number |
298,7 → 298,7 |
|
add eax,0x10 |
|
mov dx,[0x3000] |
mov dx,[CURRENT_TASK] |
cmp dx,[eax] |
jnz rnewba |
|
504,7 → 504,7 |
|
movzx ebx,word [eax] |
movzx ecx,word [0xC000 + ebx * 2] |
cmp ecx,[0x3004] |
cmp ecx,[TASK_COUNT] |
jne buttonnewcheck |
|
; check that button start is inside window x/y end |