gui/mouse.inc:
+ new file for GUI-related mouse events handling (old mouse.inc renamed) gui/button.inc and gui/window.inc: * refactoring in regards of new mouse.inc: * obsolete code eliminated * old'n'ugly `check_buttons` and `checkwindows` removed * events handlers added gui/window.inc: * moved GUI-related syscalls and auxilary functions from kernel.asm * removed registers cross-ordering from syscall 67 (window move/resize) + more comments added known bugs include: 1. apps using syscall 67 (kfar etc.) may not redraw their old screen area leaving ghost images 2. possibility of mouse cursor artefacts may have increased (this *really* has to be reworked) git-svn-id: svn://kolibrios.org@1391 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -41,11 +41,21 @@ $Revision$
|
||||
; display 'not used dt: ',`.,13,10
|
||||
; end if }
|
||||
|
||||
struc POINT {
|
||||
.x dd ?
|
||||
.y dd ?
|
||||
.sizeof:
|
||||
}
|
||||
virtual at 0
|
||||
POINT POINT
|
||||
end virtual
|
||||
|
||||
struc RECT {
|
||||
.left dd ?
|
||||
.top dd ?
|
||||
.right dd ?
|
||||
.bottom dd ?
|
||||
.sizeof:
|
||||
}
|
||||
virtual at 0
|
||||
RECT RECT
|
||||
@@ -56,6 +66,7 @@ struc BOX {
|
||||
.top dd ?
|
||||
.width dd ?
|
||||
.height dd ?
|
||||
.sizeof:
|
||||
}
|
||||
virtual at 0
|
||||
BOX BOX
|
||||
|
Reference in New Issue
Block a user