+ 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
* only 16 ID bits were checked on button delete, 24 now
* negative button frame draw speed up
git-svn-id: svn://kolibrios.org@1334 a494cfbc-eb01-0410-851d-a64ba20cac60
- Window is grabbed to drag only if you CLICK on its grab area (ie. the title bar)
- Button is selected only if it is clicked on its area
git-svn-id: svn://kolibrios.org@415 a494cfbc-eb01-0410-851d-a64ba20cac60
A - window has a caption; if Y=3, then caption scting address could be passed in
edi, otherwise use function 71/1
B - treat all drawing performed to be relative to window client area
D - use gradient fill for client area
Added function 71:
subfunction 1 - set window caption string address (in ecx)
subfunction 2 - get window caption into buffer (not implemented yet)
Updated sysfuncr.txt, added sysfuncs.txt
git-svn-id: svn://kolibrios.org@114 a494cfbc-eb01-0410-851d-a64ba20cac60
2. refactored window activation/ process termination/ getting active process
3. deleted dead code in checkwindows
4. eliminated almost all accesses to 0x3020+...+0xe, changed to direct process number
5. cli/sti in vesa12 and vga drivers and in calculatescreen
6. skipping dead windows in some funcs in window.inc
git-svn-id: svn://kolibrios.org@102 a494cfbc-eb01-0410-851d-a64ba20cac60
2) Detection PS2 mouse.
3) Switching FPU in PM with reset.
4) Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla). Version 1.1
5) Return of focus (activated window) on previous application at completion of the active application
6) Change skin of header of windows type 4, at loss and return of focus (activated window).
git-svn-id: svn://kolibrios.org@33 a494cfbc-eb01-0410-851d-a64ba20cac60