From cb50c854d301fffedc760a24ff363c69c41e3ad8 Mon Sep 17 00:00:00 2001 From: basisbit Date: Sun, 23 Aug 2015 03:15:31 +0000 Subject: * limit to 60 FPS - be more energy friendly and laptop-friendly ;-) * do not return any button-mouse-over-area when the mouse cursor is hidden - fixes certain access violations on windows git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3123 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/menu/UDisplay.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/menu/UDisplay.pas') diff --git a/src/menu/UDisplay.pas b/src/menu/UDisplay.pas index 6191fb68..9a196a74 100644 --- a/src/menu/UDisplay.pas +++ b/src/menu/UDisplay.pas @@ -72,7 +72,6 @@ type Cursor_X: double; Cursor_Y: double; Cursor_Pressed: boolean; - Cursor_HiddenByScreen: boolean; // hides software cursor and deactivate auto fade in // used for cursor fade out when there is no movement Cursor_Visible: boolean; @@ -84,6 +83,8 @@ type { called by MoveCursor and OnMouseButton to update last move and start fade in } procedure UpdateCursorFade; public + Cursor_HiddenByScreen: boolean; // hides software cursor and deactivate auto fade in, must be public for access in UMenuButton + NextScreen: PMenu; CurrentScreen: PMenu; -- cgit v1.2.3