Commit Graph

40 Commits

Author SHA1 Message Date
spartanj@gmail.com
d2c002f992 Removed InheritsFrom and IsTypeOrInheritsFrom, now it's contained in IsType.
Fixed IsType in cGameObjects.
2011-08-22 22:41:56 -03:00
spartanj
c006139636 Started working on a generic tile map editor.
Fixed severla minor bugs on the UI.
2011-06-04 03:25:00 -03:00
spartanj
e3b57a0d00 Added cUIAquaTheme, a wrapper to create controls for the Aqua theme.
cUITheme controls creation methods completed.
Fixed Font shadow drawing for cached fonts.
Fixed a bug on size calculation in GetSkinShapeSize on cUIControl.
2011-05-31 22:53:21 -03:00
spartanj
18e4c925bd Some fixes to the cUICommonDialog.
Started workin on a tiled map class, layers, game objects, etc.
2011-05-23 04:20:30 -03:00
spartanj
2464680ab5 Changed how ui control types are stored.
Some minor ui fixes.
Added Step callback for waypoints and interpolation.
2011-05-09 04:31:38 -03:00
spartanj
d72cdd9e1b Fixed anchors.
Some minor changes to the UI.
Added cUICommonDialog control.
2011-05-07 20:44:56 -03:00
spartanj
1b5e82db21 Added Tab navigation on the UI.
Added keyboard shortcuts for the UI components.
Fixed some minor bugs.
2011-05-05 22:46:36 -03:00
spartanj
9f4f013a9e Added cUISelectButton control.
Added cUIWinMenu control ( window menu ).
Some minor changes on the UI controls.
2011-04-18 19:45:13 -03:00
spartanj
e6f8b70a1c Added anchors support for controls.
Added some keyboard behavior for the input buffer.
2011-04-10 04:28:15 -03:00
spartanj
8b19225c22 Improving recompilation times. 2011-02-05 05:04:31 -03:00
spartanj
613ad329cf Added cUIWindow, still in development, basic window is working ( no resizing from borders ).
Some UI bug fixes.
Some minor changes on cEngine where made.
2011-01-07 04:46:59 -03:00
spartanj
cc33bc3b4d Some minor changes. 2010-12-29 04:31:27 -03:00
spartanj
8cde6427f4 Added cUIComplexControl and cUITooltip. The complex controls allow to create tooltips to display when the mouse is over.
Now the controls that represent a real control ( a normal GUI control ) inherits from cUIComplexControl.
Fixed some minor bugs on the UI.
2010-12-27 00:21:48 -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
1a6b3aff5b Added cUISprite.
Removed SDL fallback for HaikuTTF.
Reimplemented cThread and cMutex without SDL.
Disabled ClipTo() function for the UI Controls ( testing, i don't event remember why that was there ).
Implemented a function to set menu position always inside the screen.
Control Flags are now in enums instead of defines.
2010-12-11 19:54:39 -03:00
spartanj
a501124e03 More UI fixes. 2010-12-09 17:27:01 -03:00
spartanj
134237d14b Addedd SubMenues.
Fixed and improved some minor things.
2010-12-08 23:24:46 -03:00
spartanj
17d39aaa3a Added cUIMenu, cUIPopUpMenu, cUISeparator, cUIMenuItem.
Implemented a basic PopUpMenu, still lack of some features.
Moved events as protected.
Fixed ChildAddAt.
Some other minor fixes.
2010-12-05 04:49:53 -03:00
spartanj
b6618e5c89 Fixed some details. Nothing relevant. 2010-11-30 00:50:45 -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
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