diff options
author | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-23 03:15:31 +0000 |
---|---|---|
committer | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-23 03:15:31 +0000 |
commit | cb50c854d301fffedc760a24ff363c69c41e3ad8 (patch) | |
tree | 96fb650ba4d161ecdce253f8be8545c06342fad7 /src/menu/UDisplay.pas | |
parent | bd6edd76cbe2cdee409c050eee28292f0f1cbdb2 (diff) | |
download | usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.tar.gz usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.tar.xz usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.zip |
* 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
Diffstat (limited to 'src/menu/UDisplay.pas')
-rw-r--r-- | src/menu/UDisplay.pas | 3 |
1 files changed, 2 insertions, 1 deletions
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; |