201 Commits

Author SHA1 Message Date
Henrik Rydgård
c53bf92350 Add onFinish callback to screens, hook up for UIScreen::OnBack 2013-10-25 13:09:47 +02:00
Henrik Rydgård
4c8157694a Make keyboard navigation act slightly less crazy. 2013-10-23 13:55:11 +02:00
Henrik Rydgård
fff83ed237 Fix bug causing clickables not to highlight on mousedown in SDL builds 2013-10-21 11:00:09 +02:00
Henrik Rydgård
e783dbd76b Move the highlight when changing the current tab 2013-10-20 19:39:54 +02:00
Henrik Rydgård
5e0c4bc0a6 Just a sanity check 2013-10-20 15:34:02 +02:00
Unknown W. Brackets
31690a3910 Fix some type comparison warnings. 2013-10-19 14:56:06 -07:00
Unknown W. Brackets
774fa8f73e Fix some switch/case warnings. 2013-10-19 14:56:06 -07:00
Unknown W. Brackets
ab7638a983 Fix some initialization order warnings. 2013-10-19 14:56:05 -07:00
Sacha
6b48226f89 Buildfix for Qt on Windows. 2013-10-19 03:45:05 +10:00
Henrik Rydgård
ce3eb186c7 Minor cleanup 2013-10-16 11:29:58 +02:00
Henrik Rydgard
b469bc8aff Comment fix. 2013-10-13 20:49:10 +02:00
Henrik Rydgard
eed7159a06 Improve event processing semantics a little. Add a safety check I'm not sure is needed. 2013-10-13 20:33:42 +02:00
Henrik Rydgard
788d512515 UI: Fix dispatching of events to multiple listeners. 2013-10-13 19:07:10 +02:00
Henrik Rydgard
357d224414 Use an EGLConfigChooser to give us more control over which display config to use. 2013-10-10 11:08:38 +02:00
Henrik Rydgård
4c14e16175 Merge pull request #149 from bollu/ClickableHighlighting
highlighting UI items
2013-10-08 06:03:11 -07:00
Siddharth
0d0177dfc1 moved Highlight into Choice. corrected code style. 2013-10-08 18:04:56 +05:30
Henrik Rydgård
d7cfc12cda Add another constructor to LinearLayoutParams 2013-10-08 11:06:38 +02:00
Siddharth
c747582b4c removed testing code from onFocusChanged 2013-10-07 23:16:28 +05:30
Siddharth
5d198025a5 enable items to be highlighted. Will be used to highlight save slots in use 2013-10-07 21:45:25 +05:30
The Dax
b275a5366d Prepare native for Visual Studio 2013. 2013-09-17 01:31:04 -04:00
Unknown W. Brackets
ef158f52ef Don't crash if another dialog is added while finishing. 2013-09-15 18:06:07 -07:00
shenweip
fd4501b91a Add RecreateAllViews function 2013-09-14 13:47:08 +08:00
Henrik Rydgard
67183f5822 Make sure we don't access outside the choices_ array in PopupMultiChoice 2013-09-11 22:20:30 +02:00
Henrik Rydgard
f1b7580be8 Workaround some obscure crashes reported through Android crash reporting 2013-09-11 22:16:07 +02:00
wuspring
4b39a99110 Shorten the slider, at maxvalue, it doesn't cover the text now. 2013-09-11 17:19:41 +08:00
Henrik Rydgard
997aae346b Move some popup utility classes here 2013-09-07 13:38:12 +02:00
Henrik Rydgard
0d26996146 Add isTopLevel query for screens 2013-09-04 10:50:00 +02:00
Henrik Rydgård
9761532a1c Merge pull request #122 from unknownbrackets/text-draw
Fix bad font size of git version with non-sys fonts
2013-08-31 01:35:02 -07:00
Unknown W. Brackets
4df34ffc01 Correctly resize text on Android / non sys fonts. 2013-08-31 01:00:57 -07:00
wuspring
dc5f2a662b Update UI_Screen.cpp for the "OK" and "Cancel" button in Dialoag can be translatable. 2013-08-31 05:33:23 +08:00
Henrik Rydgard
9282fa59ca Allow centering text on choices 2013-08-30 22:42:02 +02:00
Henrik Rydgard
685a1f7e6f Harmonize compiler options, warning fix 2013-08-30 20:18:39 +02:00
Henrik Rydgard
0931f784b6 Win32: Add a sentence-caching text drawing engine using Win32 fonts. 2013-08-30 14:44:23 +02:00
Henrik Rydgard
b063724c9e Logging bug fix and some warning fixes. 2013-08-27 19:44:05 +02:00
Henrik Rydgard
bb8f38a145 Provide empty default implementation for update. 2013-08-27 18:41:36 +02:00
Henrik Rydgard
2bf829cdc1 Android buildfix 2013-08-23 00:53:52 +02:00
Henrik Rydgard
45d65225a6 glstate: Switch to glBlendFuncSeparate for more flexibility. 2013-08-22 19:12:10 +02:00
The Dax
a8b45a68b9 Remove hard-coded accept and cancel buttons. 2013-08-22 06:45:45 -04:00
Henrik Rydgard
17b4ac55c5 Temporarily (for 0.9.1) revert "Merge pull request #111 from thedax/master"
Will put it back after 0.9.1, and then later this will be mappable anyway.

This reverts commit 81da5fa32adbb60eb810bec628599a8a513b119a, reversing
changes made to a242bcdd3af3e16f03ad274a91e45c0ed4c87fea.
2013-08-21 19:00:40 +02:00
The Dax
ceb7f6dea6 Allow right mouse button to act as a cancel button. 2013-08-21 06:00:11 -04:00
Henrik Rydgard
4da02355ac Forgot to add margin to float slider 2013-08-20 20:19:07 +02:00
Henrik Rydgard
2ef4221395 PgUp/PgDn/Home/End in scrollviews 2013-08-20 18:58:00 +02:00
Henrik Rydgard
0761e3cb21 Enable dithering in the UI (helpful for the new soft gradient) 2013-08-20 18:03:25 +02:00
Henrik Rydgard
7b62459463 Fix some gesture detection for scrolling 2013-08-20 16:31:47 +02:00
Henrik Rydgard
ae0847cecb Stop inertia-scrolling when switching away from a tab. 2013-08-20 15:30:47 +02:00
Henrik Rydgard
3ea9d45299 Focus on the slider when the popup opens 2013-08-20 15:25:03 +02:00
Henrik Rydgard
d45ea84599 Revert "Merge pull request #110 from thedax/master"
This reverts commit d2bdffcc54baa6ce1c42534cc4be952c2b76422f, reversing
changes made to 8f0d82ffb72efb7fe138e7d1c83635691ba3f4e7.
2013-08-20 15:04:42 +02:00
The Dax
2a02b53894 Native: Remove hard-coded accept and escape keys. 2013-08-20 08:37:39 -04:00
Henrik Rydgard
8f0d82ffb7 Click outside popups to dismiss them. Fix focus display of active tabs. 2013-08-20 13:03:42 +02:00
Henrik Rydgard
40193a7d12 Show numbers on sliders 2013-08-20 12:49:08 +02:00