Commit Graph

18 Commits

Author SHA1 Message Date
spartanj
e6f8b70a1c Added anchors support for controls.
Added some keyboard behavior for the input buffer.
2011-04-10 04:28:15 -03:00
spartanj
0250c98ff8 Replaced wstrings with String internal class.
Removed all the unnecessary wide-strings.
Removed some wstring functions.
2011-03-06 02:37:54 -03:00
spartanj
896be4d28a Big changes here.
Created a backend system for the window-input management. So now it will be a los easier to port to another windows library/platform.
Since this is a big commit, it's probably that some bugs where introduced, but i tested all that i could, and it's working fine.
I'll probably add a cursor manager backend because right now there is no cursor management at all, i removed the CreateCursor function because it was unusable.
2011-02-09 03:30:05 -03:00
spartanj
8b19225c22 Improving recompilation times. 2011-02-05 05:04:31 -03:00
spartanj
820c441934 Cleaned up cInputTextBuffer. 2010-12-26 04:21:35 -03:00
spartanj
cad28b6d6b Added cUITextEdit ( not finished, but usable and working ).
Fixed some minor bugs.
2010-12-24 00:27:04 -03:00
spartanj
e2dc300efd Added cUIDropDownList and cUIComboBox ( both working, but not full featured ).
Added support for alpha fading for skins.
Fixed double linked list of cUIControl.
Fixed some minor bugs.
2010-11-29 04:41:36 -03:00
spartanj
52f264753f Optimized memory usage of cUIListBox.
Optimized polygon2 template.
2010-11-22 18:39:06 -03:00
spartanj
edf7faa2d2 Added Auto Padding options for skins. 2010-11-15 00:36:04 -03:00
spartanj
6fc41c6f97 A couple of minor changes on the UI. 2010-10-31 16:54:36 -03:00
spartanj
e5744e349c Added a mutex on HaikuTTF, to fix a problem ( a.k.a. bug ) with multiple concurrence on FT calls.
Added Icon possibility to cUIPushButton.
Added default fonts for ui themes and global default font for all ui themes.
Changed how cUIGfx get shapes, now accept a new instance without shape.
Fixed how padding works on cUITextBox and cUITextInput.
Fixed font rendering in cTextCache when some text rendered with angle or/and scale ( it was breaking the model view matrix ).
Fixed a miscounting of the number of vertex for the cached text.
Fixed HaikuTTF destroy singleton ( now release fine the memory ).
2010-10-18 04:38:24 -03:00
spartanj
e977420aa6 Added cUISpinBox control to the UI.
Added events when a value in a control change ( for the slider, checkbox, ratiobutton, spinbox ).
Fixed text alignment on cUITextBox.
2010-10-11 22:20:26 -03:00
spartanj
7fa61de408 Added cUISlider ( horizontal and vertical ).
Fixed some critical bugs on the UI.
2010-10-11 03:34:05 -03:00
spartanj
181326273d Added cUIPushButton.
Added debug helper functions.
Fixed some skin state changes.
Improved UI performance.
Changed EE_PLATFORM_WIN32 for EE_PLATFORM_WIN, and added as platform WIN64.
Added detection of 64bits compilation.
Implemented some asserts.
2010-10-09 04:47:50 -03:00
spartanj
661ad2260a Added basic theming support for the UI ( work in progress ).
Added padding support for the textbox and textinput.
Some minor fixes.
2010-10-08 04:15:22 -03:00
spartanj
b071630924 Removed boost dependency ( now use PlusCallback for callbacks, and use my own lexical cast ). With this improved a lot the compiling time. As far as i could test, PlusCallback is faster than boos::function too.
I added a couple of checks to avoid rendering problems on fonts.
And added some minor fixes.
2010-10-01 04:49:36 -03:00
spartanj
c00a979022 Some progress on the UI, now support event callbacks. 2010-06-29 22:46:56 -03:00
spartanj
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00