122,7 → 122,7 |
mov [putimg.image_cy], edx |
|
; calculate absolute (i.e. screen) coordinates |
mov eax, [0x3010] |
mov eax, [TASK_BASE] |
mov ebx, [eax-twdw + WDATA.box.left] |
add ebx, [putimg.image_cx] |
mov [putimg.abs_cx], ebx |
211,7 → 211,7 |
xchg eax, ebp |
|
; get process number |
mov ebx, [0x3000] |
mov ebx, [CURRENT_TASK] |
|
cmp byte [ScreenBPP], 32 |
je put_image_end_32 |
619,7 → 619,7 |
mov [drbar.bar_cx], eax |
mov [drbar.bar_cy], ebx |
|
mov edi, [0x3010] |
mov edi, [TASK_BASE] |
add eax, [edi-twdw + WDATA.box.left] ; win_cx |
add ebx, [edi-twdw + WDATA.box.top] ; win_cy |
mov [drbar.abs_cx], eax |
701,7 → 701,7 |
xchg eax, ebp |
|
; get process number |
mov ebx, [0x3000] |
mov ebx, [CURRENT_TASK] |
|
cmp byte [ScreenBPP], 24 |
jne draw_bar_end_32 |