/kernel/trunk/gui/skincode.inc |
---|
241,7 → 241,6 |
ret |
drawwindow_IV: |
;param1 - aw_yes |
pusha |
291,11 → 290,14 |
shl ecx,16 |
add ecx,[_skinh] |
cmp byte [esp+32+4+4],1 |
mov ebx, [_refleft_1] |
cmp [aw_yes],1 |
; cmp [esp+32+4+2], word 1 |
jne @f |
mov ebx,[_refleft] |
jmp no_aw_3 |
@@: |
mov ebx,[_refleft_1] |
no_aw_3: |
call sys_putimage |
mov esi,[esp] |
310,12 → 312,14 |
inc eax |
cmp byte [esp+32+4+4], 1 |
mov ebx,[_refbase_1] |
cmp [aw_yes],1 |
; cmp [esp+32+4+2], word 1 |
jne @f |
mov ebx,[_refbase] |
jmp no_aw_2 |
@@: |
mov ebx,[_refbase_1] |
no_aw_2: |
mov ecx,[_skinbasew] |
shl ecx,16 |
add ecx,[_skinh] |
340,12 → 344,14 |
sub edx,[_skinoperw] |
inc edx |
shl edx,16 |
cmp byte [esp+32+4+4], 1 |
mov ebx,[_refoper_1] |
cmp [aw_yes],1 |
; cmp [esp+32+4+2], word 1 |
jne @f |
mov ebx,[_refoper] |
jmp no_aw_1 |
@@: |
mov ebx,[_refoper_1] |
no_aw_1: |
mov ecx,[_skinoperw] |
shl ecx,16 |
add ecx,[_skinh] |
448,6 → 454,6 |
add esp,4 |
popa |
ret 4 |
ret |
/kernel/trunk/kernel.asm |
---|
2827,10 → 2827,12 |
sub edi,0x3000 |
shr edi,5 |
cmp edi,[active_process] |
push 0 |
jne @f |
mov byte [esp],1 |
@@: ; parameter for drawwindow_IV |
mov [aw_yes],1 |
jmp aw_yes_end |
@@: |
mov [aw_yes],0 |
aw_yes_end: |
sti |
inc [mouse_pause] |
2837,6 → 2839,7 |
call sys_set_window |
call drawwindow_IV |
dec [mouse_pause] |
mov [aw_yes],0 |
ret |
nosyswIV: |
4884,6 → 4887,7 |
;* start code - get process (3) - Mario79 |
active_process dd 0 |
active_process_flag db 0 |
aw_yes db 0 |
deleted_process dd 0 |
mouse_pause dd 0 |
ps2_mouse_detected db 0 |