forked from KolibriOS/kolibrios
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:
parent
5721df73ee
commit
437e995f11
@ -17,14 +17,14 @@ SF_REDRAW=12
|
|||||||
SSF_END_DRAW=2
|
SSF_END_DRAW=2
|
||||||
SF_DRAW_RECT=13 ; draw rectangle to the window
|
SF_DRAW_RECT=13 ; draw rectangle to the window
|
||||||
SF_GET_SCREEN_SIZE=14 ; get screen resolution
|
SF_GET_SCREEN_SIZE=14 ; get screen resolution
|
||||||
SF_BACKGROUND_SET=15
|
SF_BACKGROUND_SET=15 ; work with desktop background graphics
|
||||||
SSF_SIZE_BG=1
|
SSF_SIZE_BG=1 ; set a size of the background image
|
||||||
SSF_PIXEL_BG=2
|
SSF_PIXEL_BG=2 ; put pixel on the background image
|
||||||
SSF_REDRAW_BG=3
|
SSF_REDRAW_BG=3 ; redraw background
|
||||||
SSF_MODE_BG=4
|
SSF_MODE_BG=4 ; set drawing mode for the background
|
||||||
SSF_IMAGE_BG=5
|
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_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_LAST_DRAW=8 ; get coordinates of the last draw to the background
|
||||||
SSF_REDRAW_RECT=9 ; redraws a rectangular part of the background
|
SSF_REDRAW_RECT=9 ; redraws a rectangular part of the background
|
||||||
SF_RD_TO_FLOPPY=16 ; save ramdisk on the floppy
|
SF_RD_TO_FLOPPY=16 ; save ramdisk on the floppy
|
||||||
|
@ -241,7 +241,9 @@ void main()
|
|||||||
//select file
|
//select file
|
||||||
if (mouse.key&MOUSE_LEFT) && (mouse.up)
|
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
|
//file menu
|
||||||
if (mouse.key&MOUSE_RIGHT)
|
if (mouse.key&MOUSE_RIGHT)
|
||||||
|
Loading…
Reference in New Issue
Block a user