Henrik Rydgård
79989d00d5
Merge pull request #285 from FireyFly/linux-controller-fix
...
Linux controller fix
2015-09-02 10:16:26 +02:00
Henrik Rydgard
96a08b3393
Quick workaround for rendering bug caused by layout bugs..
2015-08-30 12:58:06 +02:00
Jonas Höglund
a57a838c93
Update key repeat logic to use provided DPad keys
...
Implements a SetDPadKeys function akin to the Confirm/Cancel/TabLeft/TabRight
keys, and uses this vector of DPad keys to decide whether a KeyInput is a DPad
key or not. Rewrites the held-key release logic in such a way that it still
ignores the deviceId, to handle the Ouya quirk where repeated events have
deviceId 0.
2015-08-28 20:51:33 +02:00
Jonas Höglund
32617ae17c
Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys
2015-08-28 17:05:11 +02:00
Unknown W. Brackets
0f0115da8a
Show a highlight for focusable text views.
2015-06-28 18:48:22 -07:00
Unknown W. Brackets
3c093ccf73
Show popup headers as marquees if they are too long.
...
They were just overflowing before.
2015-06-28 18:47:52 -07:00
Henrik Rydgard
ba829ad4aa
Fix crash bug in DrawText on Windows, clip TextView text if too large
2015-06-12 12:38:48 +02:00
Henrik Rydgård
98083c8985
UI: Make InfoView focusable, make it possible to make TextView focusable.
2015-04-03 11:14:21 +02: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
40848ae4b6
A few UI framework tweaks
2015-01-05 01:19:49 +01:00
Henrik Rydgard
33e00b5c2e
UI: Get rid of "ImageFileView" which uses non-thin3d-compatible textures.
2014-12-31 11:23:50 +01:00
Henrik Rydgard
cedd5b2997
Add OnTextChanged event to TextEdit, minor other stuff
2014-11-16 16:44:07 +01:00
Unknown W. Brackets
ca16eb2857
Fix some type conversion warnings.
2014-08-30 02:05:21 -07:00
Henrik Rydgard
54b298a63e
More Thin3D work (textures etc)
2014-08-22 20:54:26 +02: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
9f4f49be66
TextEdit: Add single undo, paste over the contents
2014-07-22 22:16:09 +02:00
Henrik Rydgard
78941b0871
TextEdit: Clip to rect, scroll if caret outside rect
2014-07-22 10:20:51 +02:00
Henrik Rydgard
9d8d64b321
TextEdit: Ctrl-C to copy the contents of the textbox.
2014-07-21 17:35:51 +02:00
Henrik Rydgard
6f6f6eb1fb
TextEdit: Add utf-8 support, enable paste from clipboard
2014-07-21 11:59:05 +02:00
Henrik Rydgard
dcd27e134d
Add flag to identify events from mouses.
2014-07-20 22:24:54 +02:00
Unknown W. Brackets
a7bb45a30b
Fix a few minor warnings on Android.
...
Seems st_mtime is not a time_t there, just unsigned long.
2014-07-20 08:47:37 -07:00
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