diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-11-18 14:42:34 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-11-18 14:42:34 +0000 |
commit | 9975f56cded5f6251d0110238fd97b7ee7ccae31 (patch) | |
tree | cf93bba0e884f629dec6f869700468bf86ada68d /src/menu/UMenuInteract.pas | |
parent | d36fb79a6e0914a43fe9381c32dfdc4639e9a19e (diff) | |
download | usdx-9975f56cded5f6251d0110238fd97b7ee7ccae31.tar.gz usdx-9975f56cded5f6251d0110238fd97b7ee7ccae31.tar.xz usdx-9975f56cded5f6251d0110238fd97b7ee7ccae31.zip |
some changes on mousesupport
- you can click on the whole area of a button after fading
- options on selects can be changed by clicking on the arrows
- fix mouse parsing at the screensong extensions
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1950 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/menu/UMenuInteract.pas | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/menu/UMenuInteract.pas b/src/menu/UMenuInteract.pas index beb6bcef..7cb92025 100644 --- a/src/menu/UMenuInteract.pas +++ b/src/menu/UMenuInteract.pas @@ -39,6 +39,15 @@ type Num: integer; // number of this item in proper list like buttons, selects end; + { to handle the area where the mouse is over a control } + TMouseOverRect = record + X, Y: Real; + W, H: Real; + end; + + { to handle the on click action } + TMouseClickAction = (maNone, maReturn, maLeft, maRight); + implementation end. |