Commit Graph

41 Commits

Author SHA1 Message Date
spartanj@gmail.com
0182ee6e3e Fixed fadein for listbox.
Added AlphaChilds method to animated controls.
Auto add map extension to maps.
2012-04-26 17:04:24 -03:00
spartanj@gmail.com
c671d311ba Added support to async loads to texture group loader.
Changed FileExists, now returns true only if the path is a file, returns false to directories.
Changed Common Dialog control now let the user select folders when selecting a file.
Fixed a crash when unloading some controls at the same time.
Fixed a crash caused by modal windows controls not resizing when the window was resized, giving access to the windows in the back of the modal window.
Fixed a bug in texture packer, texture groups with more than one texture where failing to load and causing crashes.
Minor fixes to the texture group editor, and added async texture group loading.
2012-04-08 03:35:20 -03:00
spartanj@gmail.com
897fe7ec5f Changed the closing method used in cUIControl.
Still needs some testing, but seems to be working fine.
2012-02-26 04:09:13 -03:00
spartanj@gmail.com
2ad11b6085 Fixed some late deallocations on the UI.
Changed some texts on the commands of the console.
2012-02-25 19:42:54 -03:00
spartanj@gmail.com
5b43ec533e Fixed singleton implementation to work also when eepp is compiled as a dynamic library. 2012-01-21 21:28:48 -03:00
spartanj@gmail.com
d3777b6344 Added some alerts to the map editor.
Fixed some windows focus problems.
Fixed map cliping when map was zoomed.
2012-01-11 16:37:43 -03:00
spartanj@gmail.com
96c2b82e1e Added/Fixed the compilation for GLES1 renderer.
Added scaling support for the maps.
Added a new method Draw in textures ( DrawEx2 ).
Added Project, UnProject, ProjectCurrent and UnProjectCurrent to the GL renderer.
Added SetMousePos function for the input, this will change the mouse position known by the input class, but it will not try to move the mouse cursor.
2011-08-25 02:29:36 -03:00
spartanj@gmail.com
00f7e58004 Added a basic lighting system for the tile maps ( still lacks of support for saving/loading the lights data and lacks of support to add/remove lights from the map editor ).
Added a Pack Manager to keep track of the loaded packs.
Some minor changes over cPak and cZip.
And more minor changes...
2011-07-26 05:05:10 -03:00
spartanj@gmail.com
7b6a6ee817 Added/Fixed support for Mac OS X.
Added/Fixed support for 64 bits platforms.
2011-07-11 02:39:21 -03:00
spartanj
e26ca9f87a Added a way to update the texture atlas to the current state of the shapes ( updates offsets and dest size ).
A lot of minor fixes.
2011-06-18 05:05:52 -03:00
spartanj
3f0850c577 Continued working on the Map Editor.
Fixed a lot of bugs and minor details on the UI Controls.
Added basic support for icons on the UI themes.
2011-06-05 03:53:40 -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
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
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
7937c4c4d4 Preparing SDL encapsulation.
Modified some things on the GL3 renderer.
2011-02-07 04:03:27 -03:00
spartanj
8b19225c22 Improving recompilation times. 2011-02-05 05:04:31 -03:00
spartanj
d2a159caa3 A couple of quick fixes for the UI. 2011-01-09 19:37:03 -03:00
spartanj
e5fb4c98e3 Completed implementation of cUIWindow. 2011-01-09 19:29:08 -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
5dd84a9206 Fixed some bugs. 2010-12-15 18:50:06 -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
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
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
0a0530f52f Fixed MSVC compilation.
Removed some warnings.
Fixed a couple of bugs.
2010-10-16 21:52:34 -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
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
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
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
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