Commit Graph

23 Commits

Author SHA1 Message Date
vnctdj d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
vnctdj d48ee947ac Consistently use *co for the Controls i18n category 2015-07-01 22:31:04 +02:00
Henrik Rydgard e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgard ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard 4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
adrian17 c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
Henrik Rydgard e7ef34d1e6 last minute fix: Reset the control layout when upgrading from 0.9.5.
The settings are not compatible.
2013-12-12 14:52:46 +01:00
Henrik Rydgard 0bfe9db9ab DPad cosmetics: Move the arrows outwards a bit 2013-12-11 20:52:13 +01:00
Henrik Rydgard 7271367ac1 "Thin Borders" touch button style, ability to choose.
Also a Gold color scheme. Not sure whether to use or not.
2013-12-10 23:27:46 +01:00
Henrik Rydgård 37de6eee0f Improved error handling in ZIP installer 2013-12-06 15:29:14 +01:00
Henrik Rydgård a6c7663ea8 Allow resizing touch buttons individually. 2013-12-02 15:15:19 +01:00
Sacha e6f910ec27 Coords fix: toFullscreenCoord should return float, not int. 2013-11-07 16:10:46 +10:00
Sacha b1b4679fe6 Scale touch controls to screen resolution.
Include a migration method for users who were on the old static system.
Scaling up may still look weird due to the hacky method of placement which is unchanged by this commit.
Next step of resolution independence would be to have the button scaling affected by resolution too.
Tested on a few devices. Mobile users should see no changes at all.
2013-11-05 14:52:31 +10:00
Henrik Rydgård ebfc706e46 Minor UI tweak 2013-10-31 13:34:34 +01:00
Siddharth 81cae1e446 fixed dPad visibility 2013-10-30 19:42:16 +05:30
Henrik Rydgård 787db5812d UI cleanup and a crashfix for duplicate back key events 2013-10-28 16:04:53 +01:00
Henrik Rydgård 4590e44954 add "onFinish" to screens so that ESC (etc) works the same as the back
touch button.
2013-10-25 13:19:08 +02:00
Henrik Rydgård 3ab09f6bce Make the touch visibility thing a "subdialog" of the layout editor.
Reorder options a bit too.
2013-10-20 17:33:46 +02:00
Siddharth 55a664bd13 made buttons invisible in the layout screen if they are disabled 2013-10-20 17:17:32 +05:30
The Dax d099692ed0 Make Toggle All actually function. 2013-10-19 23:24:38 -04:00
Henrik Rydgard 9c59990edc More tweaks to control layout editing 2013-10-20 01:17:19 +02:00
Henrik Rydgard dea4668ae8 Editable touch controls: Added Reset button and fixed build in VS 2010 2013-10-20 00:39:42 +02:00
Siddharth 38442c090e allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
can now reposition on screen controls

removed unnessecary files

fixed indenting issues

renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00