Commit Graph

18 Commits

Author SHA1 Message Date
spartanj
a74fddc74c Still fighting with GLSL, some improvements where made. 2011-01-23 05:13:23 -03:00
spartanj
02e00d7315 Some work on the OpenGL 3 renderer. 2011-01-22 14:41:26 -03:00
spartanj
2cc55ea68a I made some structural changes, and i'm trying to encapsulate a little the renderer to in a future implement an OpenGL3 render, and remove the fixed pipeline. 2011-01-18 04:43:40 -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
5dd84a9206 Fixed some bugs. 2010-12-15 18:50:06 -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
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
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
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
c4a1a36892 Fixed compilation with MSVC++. 2010-09-08 05:30:59 -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
b6fd66beac Added support for OpenGL ES rendering ( not implemented really, just modified some renderings to render for OpenGL ES compilant code ). 2010-08-22 04:02:51 -03:00
spartanj
f06d48c04a Some minor changes on the packer and the batchrenderer. 2010-08-21 02:05:22 -03:00
spartanj
19a7aafb51 Added a template for resource manager (tResourceManager).
Added a Font Manager.
cShaderProgramManager is now using the tResourceManager.
Added support for Font async loading.
Changed Write overloading on cLog, for Writef, to avoid overloading errors.
2010-07-31 04:15:09 -03:00
spartanj
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00