Eolite 2.0.4: call filemenu from the keyboard

git-svn-id: svn://kolibrios.org@4136 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2013-10-29 21:50:46 +00:00
parent b2d5324420
commit e2d29bf68d
2 changed files with 13 additions and 4 deletions

View File

@@ -83,7 +83,8 @@ void FileMenu()
break;
case evReDraw: _MENU_DRAW:
DefineAndDrawWindow(m.x+Form.left+5, m.y+Form.top+GetSkinHeight(),menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
if (menu_call_mouse) DefineAndDrawWindow(m.x+Form.left+5, m.y+Form.top+GetSkinHeight(),menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
else DefineAndDrawWindow(Form.left+files.x+15, files.line_h*files.current+files.y+Form.top+30,menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
GetProcessInfo(#MenuForm, SelfInfo);
DrawRectangle(0,0,menu.w+1,menu.h+2,sc.work_graph);
DrawBar(1,1,menu.w,1,0xFFFfff);