Rev 6585 | Rev 9514 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6585 | Rev 8928 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2010-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2010-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 6585 $ |
8 | $Revision: 8928 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
10 | include 'mousepointer.inc' |
10 | include 'mousepointer.inc' |
Line 369... | Line 369... | ||
369 | @@: |
369 | @@: |
370 | add eax, [mouse.active_sys_window.new_box.width] |
370 | add eax, [mouse.active_sys_window.new_box.width] |
371 | cmp eax, [_display.width] |
371 | cmp eax, [_display.width] |
372 | jl @f |
372 | jl @f |
373 | sub eax, [_display.width] |
373 | sub eax, [_display.width] |
- | 374 | inc eax |
|
374 | sub [mouse.active_sys_window.new_box.left], eax |
375 | sub [mouse.active_sys_window.new_box.left], eax |
375 | @@: |
376 | @@: |
376 | mov eax, [mouse.active_sys_window.new_box.top] |
377 | mov eax, [mouse.active_sys_window.new_box.top] |
377 | or eax, eax |
378 | or eax, eax |
378 | jge @f |
379 | jge @f |
Line 381... | Line 382... | ||
381 | @@: |
382 | @@: |
382 | add eax, [mouse.active_sys_window.new_box.height] |
383 | add eax, [mouse.active_sys_window.new_box.height] |
383 | cmp eax, [_display.height] |
384 | cmp eax, [_display.height] |
384 | jl .call_window_handler |
385 | jl .call_window_handler |
385 | sub eax, [_display.height] |
386 | sub eax, [_display.height] |
- | 387 | inc eax |
|
386 | sub [mouse.active_sys_window.new_box.top], eax |
388 | sub [mouse.active_sys_window.new_box.top], eax |
387 | jmp .call_window_handler |
389 | jmp .call_window_handler |
Line 388... | Line 390... | ||
388 | 390 | ||
389 | .check_resize_w: |
391 | .check_resize_w: |