Commit Graph
77 Commits
Author SHA1 Message Date
Henrik Rydgard 31f7ad574a Add focus management to textedit. Close popups (with OnOK) on Enter. 2014-07-18 12:22:33 +02:00
Henrik Rydgard 76cb31cdd5 nativeui: Add basic TextEdit control, and popupchoice 2014-07-18 11:03:18 +02:00
Henrik Rydgard 8685d02e6d When disabling keyboard focus, send a lost focus message 2014-06-22 17:46:38 +02:00
The Dax fbdf659723 Add the ability for Sliders and their corresponding Screens to have the ability to move in steps greater than 1.
No float support, only the integer screens are affected.
2014-05-05 23:47:22 -04:00
Henrik Rydgård c65734c33a Move a return statement to the correct position. 2014-03-03 16:10:14 +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
Unknown W. Brackets 1c87fb7485 Allow customizing the tab left/right keys. 2014-01-25 11:58:49 -08:00
Henrik Rydgård 93155b8a1e Warning fixes 2014-01-14 11:01:45 +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 48debd78f8 Map backspace correctly in SDL. Minor cosmetic slider fixes 2013-12-05 15:52:39 +01:00
Henrik Rydgård cbd4a6d758 Add support for loading JPEG files into textures automatically. 2013-12-02 16:50:23 +01:00
Henrik Rydgard d2e70ce06f Minor UI tweaks 2013-11-26 13:57:25 +01:00
Henrik Rydgård c4807fbfb8 Add basic support for showing an icon within choices 2013-10-31 13:33:53 +01:00
Henrik Rydgård b2bc4ffa8e Add "auto-enabled" to ui views (set a pointer to a bool that decides whether the view is enabled or not) 2013-10-29 10:11:41 +01:00
Siddharth 4ebb62aa98 allow checkboxes to be force-toggled 2013-10-27 10:58:16 +05:30
Henrik Rydgård fff83ed237 Fix bug causing clickables not to highlight on mousedown in SDL builds 2013-10-21 11:00:09 +02:00
Unknown W. Brackets 31690a3910 Fix some type comparison warnings. 2013-10-19 14:56:06 -07: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
Siddharth 0d0177dfc1 moved Highlight into Choice. corrected code style. 2013-10-08 18:04:56 +05:30
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
Henrik Rydgard 9282fa59ca Allow centering text on choices 2013-08-30 22:42:02 +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 2bf829cdc1 Android buildfix 2013-08-23 00:53:52 +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 81da5fa32a, reversing
changes made to a242bcdd3a.
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 d45ea84599 Revert "Merge pull request #110 from thedax/master"
This reverts commit d2bdffcc54, reversing
changes made to 8f0d82ffb7.
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
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 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 2d6f742694 Minor fixes 2013-08-18 19:51:19 +02:00
Henrik Rydgard 987aaa26d8 Accept Xperia Play's circle/cross as accept/cancel, correctly this time 2013-08-18 01:18:10 +02:00
Henrik Rydgard 0dda25890a Consider "X" on xperia play an "accept" button in the UI. 2013-08-18 01:12:40 +02:00
Henrik Rydgard 0a857fe4a1 Add a way to get the "System name" (will be mostly useful for android). Tweaks. 2013-08-18 00:14:25 +02:00
Henrik Rydgard 17996ccd4c Fix some kb control bugs (slider, etc) 2013-08-17 12:06:08 +02:00
Henrik Rydgard 5422dead6a Fix bug with float sliders. minor stuff. 2013-08-17 10:33:49 +02:00
Henrik Rydgard 4a1c3c4f83 More UI stuff, add glMapBuffer 2013-08-16 16:47:25 +02:00
Henrik Rydgard 357966447d More UI 2013-08-14 23:29:27 +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
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