Commit Graph
74 Commits
Author SHA1 Message Date
Henrik Rydgard 6f3125ac4d UI framework: Make keyboard repeats time-based instead of frame count based 2015-03-01 16:09:52 +01:00
Henrik Rydgard 52ce9c1118 Fix horizontal scrolling in ScrollViews and horizontal scroll gesture detection
Use this to scroll the tabs in TabHolders, to make more tabs fit on screen.
2015-02-24 00:22:58 +01:00
Henrik Rydgard d2acef3a3b Add a bit of "overscroll" to the scrollview when keyboard-navigating. Add shadow support to TextView 2015-02-15 11:20:19 +01:00
Henrik Rydgard c12d4242a8 Return a bool if you actually do something with a key event. 2015-02-03 00:10:38 +01:00
Henrik Rydgard 04515e4031 Fix margins in stretched subviews in LinearLayout 2015-02-02 09:12:07 +01:00
Henrik Rydgard 40848ae4b6 A few UI framework tweaks 2015-01-05 01:19:49 +01:00
Henrik Rydgård 524fceea5c Fix text input on SDL platforms. Make V_GONE more consistent. 2014-11-25 19:41:38 +01:00
Henrik Rydgard 14141b5a9e Add some hackery to work around the problem of textedit losing focus on click 2014-07-23 21:40:12 +02:00
Henrik Rydgard a3e23f0ac6 Propagate input even return values in more places. Handle repeats better. 2014-06-15 13:04:10 +02:00
Henrik Rydgard 7c2ff2557d UI: Improve scoring function for directional keyboard nav 2014-03-19 16:15:33 +01:00
Henrik Rydgård d2029ed29a Minor tweak to drag behaviour of scrollviews 2014-03-10 23:13:26 +01:00
Henrik Rydgård af35f06390 More focus behaviour tweaking. 2014-03-03 12:33:57 +01:00
Henrik Rydgård 27bb0b01d3 Fix some focus issues, allow to set a DefaultFocusView on ViewGroups. 2014-03-03 11:39:06 +01:00
Henrik Rydgard f73890f0b2 UIContext now keeps track of dimensions, allowing us to reduce use of display.h 2014-02-10 12:36:26 +01:00
Henrik Rydgård 4818a85042 Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within)
Some misc cleanup
2014-01-31 14:32:06 +01:00
Unknown W. Brackets 1c87fb7485 Allow customizing the tab left/right keys. 2014-01-25 11:58:49 -08:00
Henrik Rydgård 432fa7e6e6 Workaround for broken key repeat on Ouya - it sends repeats with a different device ID 2014-01-05 12:49:40 +01:00
Henrik Rydgård ee34dcbfa6 Fix bug in key repeat handling, and ignore the host key repeat system.
May fix navigation issues on Ouya.
2014-01-03 14:21:24 +01:00
Henrik Rydgard d680a346dc UI tweaks (image support on buttons, listview height max)
Should probably merge Choice and Button...
2013-12-11 09:32:14 +01:00
Henrik Rydgård d7c90499c4 Item views should not override height when a different layout is specified. Fix some fallout from that change. 2013-12-06 16:44:39 +01:00
Henrik Rydgård 5a5911eac4 Remove unnecessary logging 2013-12-03 17:49:58 +01:00
Henrik Rydgård 1b793049d3 Key repeat simulation for UI navigation 2013-12-03 16:47:15 +01:00
Henrik Rydgård 8391f2ac81 Fix minor scrolling issue where the next item wouldn't be prioritized over the top bar. 2013-12-01 15:36:18 +01:00
Henrik Rydgård 397da81a2e Crash bug fix for empty scrollviews 2013-11-20 14:52:09 +01:00
Henrik Rydgård 4c8157694a Make keyboard navigation act slightly less crazy. 2013-10-23 13:55:11 +02:00
Unknown W. Brackets 31690a3910 Fix some type comparison warnings. 2013-10-19 14:56:06 -07:00
Siddharth 0d0177dfc1 moved Highlight into Choice. corrected code style. 2013-10-08 18:04:56 +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
Henrik Rydgard b063724c9e Logging bug fix and some warning fixes. 2013-08-27 19:44:05 +02:00
Henrik Rydgard 2ef4221395 PgUp/PgDn/Home/End in scrollviews 2013-08-20 18:58:00 +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 ecd8e52e0a Make tabs look more tab-like. Custom size spacers. 2013-08-20 12:27:42 +02:00
Henrik Rydgard 3e65b41753 Basic inertia scrolling 2013-08-20 11:35:54 +02:00
Henrik Rydgard ba28246dd2 Allow images on choice buttons, misc 2013-08-20 00:34:54 +02:00
Henrik Rydgard ddf5c379c3 Quickfix for mapping dialog 2013-08-19 22:05:22 +02:00
Henrik Rydgard 85d0fc61c5 Fix the disabled state of choices and checkboxes 2013-08-18 23:11:26 +02:00
Henrik Rydgard 267f105261 Fix recursive scissor rects. Clip text to buttons if necessary. 2013-08-18 22:29:50 +02:00
Henrik Rydgard 1effa13869 Fix minor bug in ChoiceStrips 2013-08-17 13:20:28 +02:00
Henrik Rydgard 17996ccd4c Fix some kb control bugs (slider, etc) 2013-08-17 12:06:08 +02:00
Henrik Rydgard 4a1c3c4f83 More UI stuff, add glMapBuffer 2013-08-16 16:47:25 +02:00
Henrik Rydgard 569cdb9c08 Hold a lock while modifying viewgroups to prevent crashing from asynchronous input 2013-08-16 14:02:28 +02:00
Henrik Rydgard c3ea52bad5 More UI stuff 2013-08-16 12:51:57 +02:00
Henrik Rydgard 77fcfd0f20 More UI tweaks 2013-08-13 00:06:23 +02:00
Henrik Rydgard 46f7415bc9 Various UI key navigatation improvements 2013-08-12 23:07:27 +02:00
Henrik Rydgard 0c8692bc44 Layout changes for popup views 2013-08-10 23:03:12 +02:00
Sacha 48498d1833 Rename KEYCODE to NKCODE (native key code) to kill name collision. Implement keymapping for Blackberry. 2013-08-05 03:30:34 +10:00
Henrik Rydgard b059027359 Add centering mode to AnchorLayout. 2013-07-20 12:04:53 +02:00
Henrik Rydgård 13b8277bd3 Fix some confusing code noticed by unknown, typo fix 2013-07-20 09:43:55 +02:00