/kernel/trunk/gui/font.inc |
---|
33,8 → 33,6 |
.1: |
; } \\ Alver \\ |
pushad |
call [_display.disable_mouse] |
movsx eax, bx ; eax=y |
sar ebx, 16 ; ebx=x |
xchg eax, ebx ; eax=x, ebx=y |
71,6 → 69,7 |
shr dl, 1 |
jz .pixloop1end |
jnc .nopix |
and ecx, 0xFBFFFFFF ;negate 0x04000000 save to mouseunder area |
call [putpixel] |
jmp .pixloop1cont |
.nopix: |
78,6 → 77,7 |
jz .pixloop1cont |
push ecx |
mov ecx, [esp+4+20h+20h] |
and ecx, 0xFBFFFFFF ;negate 0x04000000 save to mouseunder area |
call [putpixel] |
pop ecx |
.pixloop1cont: |
103,6 → 103,7 |
.pixloop2: |
shr dl, 1 |
jnc .nopix2 |
and ecx, 0xFBFFFFFF ;negate 0x04000000 save to mouseunder area |
call [putpixel] |
jmp .pixloop2cont |
.nopix2: |
110,6 → 111,7 |
jz .pixloop2cont |
push ecx |
mov ecx, [esp+12+20h+20h] |
and ecx, 0xFBFFFFFF ;negate 0x04000000 save to mouseunder area |
call [putpixel] |
pop ecx |
.pixloop2cont: |
/kernel/trunk/gui/window.inc |
---|
43,10 → 43,7 |
jae .exit |
push eax |
inc [mouse_pause] |
call [_display.disable_mouse] |
call window._.sys_set_window |
call [_display.disable_mouse] |
pop eax |
or al, al |
62,7 → 59,6 |
; type II - only reserve area, no draw |
call sys_window_mouse |
dec [mouse_pause] |
call [draw_pointer] |
jmp .exit |
622,7 → 618,7 |
; set line color |
mov ecx, esi |
sub esi, 1 shl 25 |
; sub esi, 1 shl 25 |
; draw top border |
rol ebx, 16 |
push ebx |
2054,9 → 2050,6 |
;------------------------------------------------------------------------------ |
;? <description> |
;------------------------------------------------------------------------------ |
inc [mouse_pause] |
call [_display.disable_mouse] |
xor eax, eax |
mov edx, [TASK_COUNT] |
movzx edx, word[WIN_POS + edx * 2] |
2168,7 → 2161,6 |
call dtext_asciiz_esi |
.exit: |
dec [mouse_pause] |
call [draw_pointer] |
ret |