Commit Graph

20 Commits

Author SHA1 Message Date
spartanj
61602716c0 Instances cUIBackground and cUIBorder only if necessary
Removed some compiler warnings.
Updated projects.
2010-11-17 02:26:19 -03:00
spartanj
8538eb7eb3 Implemented double linked-list in the UI Controls, to optimize some process ( ChildAdd, ChildRemove, OverFind ).
Added cUITextBoxSimple, like cUITextBox without vertex buffers.
Added cUIListBoxContainer, a class to optimize the cUIListBox.
Added keyboard navigation in cUIListBox.
2010-11-16 04:38:41 -03:00
spartanj
edf7faa2d2 Added Auto Padding options for skins. 2010-11-15 00:36:04 -03:00
spartanj
0e99579ee0 Completed cUIListBox. 2010-11-14 20:21:54 -03:00
spartanj
d5fdbd7146 Added cUIListBox and cUIListBoxItem. Almost implemented, already working but i think that i need to polish a couple of things.
Optimized the mouse over for the UI Controls.
Fixed some minor bugs.
Added Scale method to Polygon2.
2010-11-14 06:22:42 -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
1f8fe37edf Reimplemented cScrollParallax with shapes, and added new features.
Added cUIProgressBar control.
Fixed minor bugs on the UI.
2010-10-16 03:48:10 -03:00
spartanj
4f1548c135 Added cUIScrollBar control.
Fixed a huge bug on the control states, now every control has a cUISkinState to keep the state data of the skined control.
Improved and made some fixes on cUISlider ( to work well with the scrollbar ).
2010-10-14 01:16:27 -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
00f8d0ba92 Added cUICheckBox and cUIRadioButton controls for the UI.
Fixed and changed some things on the UI.
Replaced the printf for the eePRINT.
2010-10-10 03:12:25 -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
6432fa9a9b Added support for multitexture binding.
Added some functions for tex env managing.
Modified some enum names from renders.
Added a pixel separator for characters in the ttf creation ( optional ).
Moved some OpenGL and GLEW things to cGL, this is for a future implementation with OpenGL ES and without GLEW.
Tryed to fix a bad rendering bug when clipping controls with borders ( borders disappear ), i think that the hack is working.
Modified some name conventions.
2010-09-04 05:28:41 -03:00
spartanj
f8703cd568 Added Vertex Buffer support ( cVertexBuffer base class (interface), cVertexBufferOGL fallback if gpu doesn't support VBO's, cVertexBufferVBO uses ARB Vertex Buffer Object ).
Added a Memory Manager to trace memory leaks.
Fixed some memory leaks detected with the new memory manager.
Added an allocator for STL ( to use it with the custom allocation seted in the memory manager ).
Fixed Makefiles ( i wroke them ).
2010-09-03 02:53:14 -03:00
spartanj
0a13a70ffa Fixed some compiler warnings. 2010-08-03 17:53:08 -03:00
spartanj
0048fa6dfb Fixed some bugs, added rounder rectangles. 2010-06-30 23:35:28 -03:00
spartanj
c00a979022 Some progress on the UI, now support event callbacks. 2010-06-29 22:46:56 -03:00
spartanj
b6502cd856 Some fixes to the UI. 2010-06-28 03:15:01 -03:00
spartanj
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00