/kernel/trunk/gui/window.inc |
---|
1206,8 → 1206,12 |
inc esi |
;..................................... start 3/4 : modified by vhanla ................. |
cmp [bPressedMouseXY_W],0 |
jnz @f |
cmp [bPressedMouseXY_W],1 |
jb .first |
ja @f |
inc [bPressedMouseXY_W] |
jmp @f |
.first: |
mov [bPressedMouseXY_W],1 |
mov ax,[MOUSE_X] |
mov [mx],ax |
1254,6 → 1258,9 |
cmp eax, ebx ; is this window active? |
jz .move_resize_window |
cmp [bPressedMouseXY_W], 1 |
ja .exit |
; eax = position in windowing stack |
; redraw must ? |
lea esi, [WIN_POS + esi * 2] |