Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-13 | menu/text: added simple text class and a demo in the loading frame | Alexander Sulfrian | 2 | -0/+172 | |
2013-01-13 | menu/container: clipping requires window coordinates | Alexander Sulfrian | 3 | -3/+15 | |
glScissor only work with window coordinates. to calculate that a control has to know it position on the window and therefor the parent container have to track the position in the window | |||||
2013-01-13 | menu/container: cleanup while destruction of container | Alexander Sulfrian | 3 | -4/+16 | |
while a container is destructed, the parent of all containing controls will be removed, so that the controls it self do not try to unregister itself from the destroyed container later (while destruction the control class of the container and destroying all slave controls) | |||||
2013-01-13 | menu/drawable_control: added size to controls and clip drawing if requested | Alexander Sulfrian | 4 | -3/+77 | |
if requested (set_clipping_required) DrawableControl will use ClippingHelper to setup glScissor befor drawing the content. container will request clipping by default | |||||
2013-01-05 | menu/drawable_control: added position, glTransform to position before drawing | Alexander Sulfrian | 4 | -32/+64 | |
software_mouse_pointer does not need an own position anymore and simply draw it without position change | |||||
2013-01-05 | menu/drawable_control: added repaint, that reinitialize the gl environment | Alexander Sulfrian | 2 | -0/+11 | |
2013-01-05 | menu/container: initialize frame | Alexander Sulfrian | 1 | -1/+1 | |
2013-01-05 | menu: frame should not be added to container item list | Alexander Sulfrian | 6 | -5/+70 | |
if a frame is constructed, it needs a container as parent to get the size of it, but it should not be in the container item list and should be painted first, to be under every component the inner classes are used as helper classes, to be able to call a virtual method in the constructor of drawable_control to decide whether to add the control to the controls list of the container or not | |||||
2013-01-05 | menu/application: renamed test variable | Alexander Sulfrian | 1 | -2/+2 | |
2013-01-05 | menu/application: simplified code | Alexander Sulfrian | 1 | -2/+1 | |
2013-01-05 | menu/reflection: removed unused class | Alexander Sulfrian | 2 | -103/+0 | |
2013-01-05 | menu: keep frame in container | Alexander Sulfrian | 4 | -27/+23 | |
before the current frame was stored in application, now every container could keep a frame and paint it before all other content | |||||
2013-01-05 | menu/frame: added log | Alexander Sulfrian | 2 | -0/+5 | |
2013-01-05 | menu/container: added log | Alexander Sulfrian | 2 | -0/+7 | |
2013-01-05 | menu/application: removed display width/height, use DrawableControl::size | Alexander Sulfrian | 2 | -29/+13 | |
2013-01-05 | menu/drawable_control: added log | Alexander Sulfrian | 2 | -0/+5 | |
2013-01-05 | menu: removed parameter names from header files | Alexander Sulfrian | 4 | -11/+10 | |
2013-01-05 | menu/control: renamed methods to avoid name collisions | Alexander Sulfrian | 2 | -7/+7 | |
2013-01-05 | utils/dimension: added template for types of the metrics | Alexander Sulfrian | 1 | -3/+3 | |
2013-01-05 | menu/clipping_helper: helper class for stacked clipping setup and teardown | Alexander Sulfrian | 2 | -0/+121 | |
2013-01-05 | menu: clean quit after pressing q | Alexander Sulfrian | 1 | -0/+10 | |
2013-01-05 | menu/software_mouse_pointer: memory cleanup | Alexander Sulfrian | 1 | -0/+5 | |
2013-01-05 | menu: use 2d coordinates for opengl | Alexander Sulfrian | 4 | -18/+10 | |
2013-01-05 | menu/frame: Frame should draw its contents | Alexander Sulfrian | 1 | -0/+2 | |
2013-01-05 | menu/application: Application now is also a container for the overlays | Alexander Sulfrian | 2 | -25/+5 | |
2013-01-05 | menu/control: ensure safe destruction of the slaves | Alexander Sulfrian | 1 | -2/+5 | |
2013-01-05 | menu: Container subclasses need a Container as parent/owner | Alexander Sulfrian | 6 | -9/+10 | |
2013-01-05 | menu: Container could contains and draw DrawableControls | Alexander Sulfrian | 4 | -25/+35 | |
DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn | |||||
2013-01-05 | menu/control: fix segfaults if manually deletes a control | Alexander Sulfrian | 1 | -3/+14 | |
2013-01-05 | fixed include paths | Alexander Sulfrian | 3 | -3/+2 | |
2013-01-05 | base: moved Image and Texture to more appropriate locations | Alexander Sulfrian | 6 | -0/+374 | |
2013-01-05 | menu/control: controls are now owned by other controls | Alexander Sulfrian | 2 | -13/+38 | |
controls could now be owned by other controls, that are responsible for destruction of their slaves | |||||
2013-01-05 | Makefile.inc: modularized flags, removed include dirs | Alexander Sulfrian | 3 | -3/+3 | |
2013-01-05 | ported from log4cxx to log4cpp | Alexander Sulfrian | 4 | -12/+14 | |
log4cxx depends on Apache Portable Runtime Utility Library, so we switch to log4cpp with nearly the same features but with no dependencies for easier porting to other platforms | |||||
2013-01-05 | changed all wstring/wchar_t to string/char | Alexander Sulfrian | 3 | -5/+5 | |
2013-01-05 | removed pascal code | Alexander Sulfrian | 12 | -4463/+0 | |
2013-01-05 | added first frame and sub directory for frames | Alexander Sulfrian | 1 | -0/+4 | |
loading screen: currently only with background | |||||
2013-01-05 | added FrameBackgroundImage | Alexander Sulfrian | 2 | -0/+159 | |
2013-01-05 | correctly locking and freeing the event buffers on destruction | Alexander Sulfrian | 1 | -0/+6 | |
2013-01-05 | before set the background of a frame, free old one | Alexander Sulfrian | 1 | -0/+4 | |
2013-01-05 | changed from SDL rendering to OpenGL | Alexander Sulfrian | 15 | -52/+154 | |
draw, repaint methods do not have the SDL_Surface* parameter anymore | |||||
2013-01-05 | added software cursor | Alexander Sulfrian | 3 | -0/+133 | |
2013-01-05 | removed unnecessary pure virtual method declaration | Alexander Sulfrian | 1 | -7/+0 | |
removed that pure virtual declaration - it is already there from the base class | |||||
2013-01-05 | added mouse_move signal to event manager | Alexander Sulfrian | 2 | -1/+5 | |
2013-01-05 | changed screen to display (only local naming) | Alexander Sulfrian | 2 | -3/+3 | |
changed that naming to be consistent to all other draw methods | |||||
2013-01-05 | added overlays | Alexander Sulfrian | 2 | -0/+23 | |
added list of drawable controls that are drawn over all frames | |||||
2013-01-05 | added event_manager | Alexander Sulfrian | 3 | -4/+250 | |
event_manager for passing the events from the SDL thread to the event thread | |||||
2013-01-05 | applied the changes from drawable | Alexander Sulfrian | 2 | -4/+2 | |
2013-01-05 | refactor some things with FPSmanager | Alexander Sulfrian | 2 | -7/+35 | |
2013-01-05 | reset singleton instance on destruction | Alexander Sulfrian | 1 | -0/+3 | |