Ori Avtalion 031e062252 GUI: Improve handling of button presses while moving the cursor
Keep track of where a mouse press started when deciding how mouse-over
and mouse-up should behave.

This handles the following situations:

1) If a mouse press starts outside a button (e.g. the UI background),
mouse-up inside the button has no effect. Previously, it triggered a
button click.
2) If a mouse press starts inside a button, the cursor moves outside of
its region, then back inside, the button will show as pressed.
Previously, it showed as highlighted instead of pressed.
2016-03-27 23:29:37 +03:00
..
2016-01-01 13:33:39 +01:00
2016-02-26 22:17:29 +01:00
2015-08-30 06:49:16 +02:00