Eolite: fix small issue, add description to KOSfuncs.inc

git-svn-id: svn://kolibrios.org@7104 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2017-10-26 20:17:02 +00:00
parent 5721df73ee
commit 437e995f11
2 changed files with 10 additions and 8 deletions

View File

@ -17,14 +17,14 @@ SF_REDRAW=12
SSF_END_DRAW=2
SF_DRAW_RECT=13 ; draw rectangle to the window
SF_GET_SCREEN_SIZE=14 ; get screen resolution
SF_BACKGROUND_SET=15
SSF_SIZE_BG=1
SSF_PIXEL_BG=2
SSF_REDRAW_BG=3
SSF_MODE_BG=4
SSF_IMAGE_BG=5
SF_BACKGROUND_SET=15 ; work with desktop background graphics
SSF_SIZE_BG=1 ; set a size of the background image
SSF_PIXEL_BG=2 ; put pixel on the background image
SSF_REDRAW_BG=3 ; redraw background
SSF_MODE_BG=4 ; set drawing mode for the background
SSF_IMAGE_BG=5 ; put block of pixels on the background image
SSF_MAP_BG=6 ; map background image to the address space of the process
SSF_UNMAP_BG=7
SSF_UNMAP_BG=7 ; close mapped background data
SSF_LAST_DRAW=8 ; get coordinates of the last draw to the background
SSF_REDRAW_RECT=9 ; redraws a rectangular part of the background
SF_RD_TO_FLOPPY=16 ; save ramdisk on the floppy

View File

@ -241,7 +241,9 @@ void main()
//select file
if (mouse.key&MOUSE_LEFT) && (mouse.up)
{
if (files.ProcessMouse(mouse.x, mouse.y)) List_ReDraw(); else Open(0);
if (files.ProcessMouse(mouse.x, mouse.y)) List_ReDraw(); else {
if (mouse.y - files.y / files.item_h + files.first == files.cur_y) Open(0);
}
}
//file menu
if (mouse.key&MOUSE_RIGHT)