+ 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
* support of drives visible by BIOS through V86 mode
* shutdown fixes
* background redraw fixes
* when booting from CD/DVD, load all floppy by tracks, not only used sectors
git-svn-id: svn://kolibrios.org@709 a494cfbc-eb01-0410-851d-a64ba20cac60
* Support for kpack'ed skin files
* Default setting for DMA access is now "disabled"
* Fixed kernel fault when network packet sending
git-svn-id: svn://kolibrios.org@523 a494cfbc-eb01-0410-851d-a64ba20cac60
2)new 2 modes for ps2-mouse (scrolling mouse and 5-button mouse)
3) added function 37.7 for mouse scrolling data
git-svn-id: svn://kolibrios.org@479 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
Window subsystem: now when window coordinates are changed,
client area is changed too
git-svn-id: svn://kolibrios.org@150 a494cfbc-eb01-0410-851d-a64ba20cac60
2. Optimization of the mode 640*480*16. Substantial growth of speed.
3. At the expense of deleting the superfluous code from vga.inc the size of a kernel has decreased.
git-svn-id: svn://kolibrios.org@117 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
Save window bounds (not just position) before rolling up or maximizing
New functions:
48/7 - get skin margins
48/8 - set window skin
git-svn-id: svn://kolibrios.org@52 a494cfbc-eb01-0410-851d-a64ba20cac60
Fixes to workarea management code
Removed check_window_move_request from osloop, now windows are moved immediately
New skins format - all skin data in in separate file now (*.skn)
Changed skinned window drawing accordingly
git-svn-id: svn://kolibrios.org@49 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