Commit Graph
48 Commits
Author SHA1 Message Date
The Dax 085faa87cc Add a new Choice subclass which lets the UI display a value in addition to the title, similar to other controls. 2014-07-18 18:45:26 -04: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
Sacha d1cccf2c26 Fix some compiler warnings. 2014-07-17 00:48:47 +10:00
Henrik Rydgard a3e23f0ac6 Propagate input even return values in more places. Handle repeats better. 2014-06-15 13:04:10 +02:00
The Dax e2e352622a Oops, make sure step_ is initialised, even with the constructor that doesn't specify a step. 2014-05-06 14:54:19 -04: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 3d906a1471 Focus the contents of popup screens 2014-03-03 12:55:29 +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 Rydgard b0ab77d4c2 Fix the disabled look of some views 2013-12-11 20:01:00 +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 59202a0dfc Add +/- buttons to integer sliders for fine adjustment 2013-12-06 15:01:34 +01:00
Henrik Rydgård 4caec3871c Add OnOK, OnCancel helpers to UIScreen 2013-12-05 14:15: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 Rydgård 0e34574bd7 Get rid of empty button from popup lists. Some deactivated logging in lang. 2013-11-29 11:33:51 +01:00
Henrik Rydgard d2e70ce06f Minor UI tweaks 2013-11-26 13:57:25 +01:00
Henrik Rydgård 416cff372c UI fixes 2013-10-28 16:05:21 +01:00
Henrik Rydgård c53bf92350 Add onFinish callback to screens, hook up for UIScreen::OnBack 2013-10-25 13:09:47 +02:00
Unknown W. Brackets ab7638a983 Fix some initialization order warnings. 2013-10-19 14:56:05 -07: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 997aae346b Move some popup utility classes here 2013-09-07 13:38:12 +02: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 4da02355ac Forgot to add margin to float slider 2013-08-20 20:19:07 +02:00
Henrik Rydgard 3ea9d45299 Focus on the slider when the popup opens 2013-08-20 15:25:03 +02: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 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 c3ea52bad5 More UI stuff 2013-08-16 12:51:57 +02:00
Henrik Rydgard 1353a9d73d Bugfixes 2013-08-15 22:43:42 +02:00
Henrik Rydgard 612dd6abed Remove some more unnecessary logging 2013-08-15 22:34:02 +02:00
Henrik Rydgard e8d07b02c2 Fix a potential crash bug with axis input. Remove ok/cancel buttons from popup lists. 2013-08-15 22:13:57 +02:00
Henrik Rydgard 357966447d More UI 2013-08-14 23:29:27 +02:00
Henrik Rydgard 1be5ce83d7 error handling changes 2013-08-14 23:04:35 +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
Henrik Rydgard 7421e1de67 NewUI: Fix some flicker when switching between screens. 2013-07-21 13:30:47 +02:00
Henrik Rydgard d70ac3bba5 Add SliderFloat 2013-07-20 13:54:09 +02:00
Henrik Rydgard b059027359 Add centering mode to AnchorLayout. 2013-07-20 12:04:53 +02:00
Henrik Rydgard cd8987b33b Add basic slider control 2013-07-18 10:25:30 +02:00
Henrik Rydgard 07feef3f44 Various newui tweaks 2013-07-17 01:03:29 +02:00
Henrik Rydgard a7b92d63d6 NewUI work (popup lists) 2013-07-16 00:25:08 +02:00
Henrik Rydgard 28fb341cb2 More mousewheel support 2013-07-08 12:34:39 +02:00
Henrik Rydgard bc2a18eeee Add ListView, make FrameLayout do something 2013-06-09 11:20:15 +02:00
Henrik Rydgard 2143b5b608 Minor fixes. Use OutputDebugString for native logging on Windows. 2013-06-09 11:20:15 +02:00
Henrik Rydgard 166acebeff A lot of NewUI work: layout and focus fixes, "TabHolder" 2013-06-08 22:41:17 +02:00
Henrik Rydgard c87fe2f782 UIScreen helper class, derive your newUI screens from this. 2013-06-03 19:59:33 +02:00