spartanj
e5fb4c98e3
Completed implementation of cUIWindow.
2011-01-09 19:29:08 -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
1fd2b1de28
Added Remove methods to cUIGenericGrid. I forgot them!
2010-12-29 13:16:32 -03:00
spartanj
cc33bc3b4d
Some minor changes.
2010-12-29 04:31:27 -03:00
spartanj
cd662ed08b
Added cUIGenericGrid ( for multi-purpose grid, accepts any kind of control ), and cUIGridCell. Added tUIItemContainer, replaced for cUIListBoxContainer, so it can be used as a generic container for listbox, grids, etc.
...
Added align capabilities to cUIGfx and cUISprite.
Fixed some minor bugs.
Fixed some friend classes.
2010-12-29 01:33:26 -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
dc14ac7a36
Cleaned up a little cUIListBox.
2010-12-26 19:41:27 -03:00
spartanj
0dfe1eb72e
Fixed a couple of minor bugs.
2010-12-26 18:36:32 -03:00
spartanj
820c441934
Cleaned up cInputTextBuffer.
2010-12-26 04:21:35 -03:00
spartanj
e006f0f2cf
Added some keyboard navigation for the input text buffer.
2010-12-24 04:45:06 -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
f7ffec103f
Removed eeRGB and eeRGBA from the projects, and removed the parameter ColorKey in favor to the use of CreateMaskFromColor or setting the color key manually in the cTextureLoader.
...
Now the user can add new theme elements to search on the theme loading ( to be able to expand the themes without touching the source code of the library ).
2010-12-19 05:02:39 -03:00
spartanj
ba14875bec
Removed inline declarations in cSprite.
...
Reimplemented some methods, and changed the name of others for some consistency.
Added some methods to cSprite.
Added sprites events.
2010-12-16 03:23:41 -03:00
spartanj
5dd84a9206
Fixed some bugs.
2010-12-15 18:50:06 -03:00
spartanj
a91fbfca0d
Forgot to update some files.
2010-12-14 04:24:14 -03:00
spartanj
b2e5b1a8a6
Added a new draw to cShape.
...
Now the batch renderer is enabled by default ( before was forcing the renders always ). So i fixed all the bugs around this.
Fixed a bad texture rendering when tried to render in isometric mode and a sector of a texture.
2010-12-14 04:23:19 -03:00
spartanj
2ab8e3eedd
PopUp Menu now response on Mouse Up instead on Click.
...
Renamed singleton.hpp to tsingleton.hpp for consistency.
Fixed GLES rendering.
2010-12-13 23:13:05 -03:00
spartanj
fae20a1e0e
Fixed SetIcon function.
2010-12-12 05:10:15 -03:00
spartanj
6616612769
Removed Makefile for Mac OS X. Now the default Makefile should work for Mac OS X, or at least, almost work.
2010-12-12 04:29:05 -03:00
spartanj
8b4dbc7f30
Some minor optimizations.
2010-12-12 04:23:01 -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
cbe21604a7
Makefile auto create objects output directories.
2010-12-10 00:33:28 -03:00
spartanj
3f854ed3de
Changed a couple of std::vector to fixed allocated arrays.
...
Updated PlusCallback.
2010-12-09 23:49:15 -03:00
spartanj
82f85fa994
More fixes.
2010-12-09 17:57:08 -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
85134974c3
Added menu checkbox.
...
Fixed some bugs.
2010-12-07 21:44:44 -03:00
spartanj
0575be5836
Modified the Makefile to support correct recompilation of modified files and now the objects files are stored in a separated folder.
...
Added OnItemClicked Event.
2010-12-07 01:24:51 -03:00
spartanj
3a75edae9a
Fixed Show and Hide in PopUpMenu.
2010-12-05 05:03:48 -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
f6a7c8b8f7
Some minor fixes.
...
Separeted the Clear statement from the Bind on cFrameBuffer, now the user has control of the cleaning.
2010-11-29 15:21:09 -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
6088fdd207
Fixed some bugs on cUIListBox.
2010-11-22 19:32:33 -03:00
spartanj
52f264753f
Optimized memory usage of cUIListBox.
...
Optimized polygon2 template.
2010-11-22 18:39:06 -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
0eefc79410
Linux CodeBlocks project updated.
2010-11-16 04:39:40 -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
19b7fa703e
Some minor fixes on the ListBox.
2010-11-15 03:06:50 -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
6fc41c6f97
A couple of minor changes on the UI.
2010-10-31 16:54:36 -03:00
spartanj
34f3f4048b
I'm trying to locate a very very rare threading bug when loading multiple TTF fonts at the same time, but for the moment i coundn't reach it ( replicated only ONE time and i wasn't debugging! ).
...
I made some minor changes in the debugging functions to write to the log file too the information debuged.
Fixed glew include, trying to include from the include file path instead of the project file path.
To try to avoid the rare bug i moved the creation of the instance of the ttf font on the constructor of the ttf font loader ( to know if that fixes the problem i need to NOT replecate the bug again, so it will be a matter of time to know if that affect or not in the current bug ).
I said that i hate threading bugs?
2010-10-21 03:34:10 -03:00
spartanj
92191b3f93
Fixed a bug in stb_image ( reported the bug and how to fix it ).
...
Changed some things in HaikuTTF.
2010-10-19 18:33:02 -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
0a0530f52f
Fixed MSVC compilation.
...
Removed some warnings.
Fixed a couple of bugs.
2010-10-16 21:52:34 -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
cb59a5275a
Fixed Release Compilation.
...
Removed some warnings.
2010-10-14 03:12:43 -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