aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-13menu/text: added simple text class and a demo in the loading frameAlexander Sulfrian2-0/+172
2013-01-13menu/container: clipping requires window coordinatesAlexander Sulfrian3-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-13menu/container: cleanup while destruction of containerAlexander Sulfrian3-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-13menu/drawable_control: added size to controls and clip drawing if requestedAlexander Sulfrian4-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-05menu/drawable_control: added position, glTransform to position before drawingAlexander Sulfrian4-32/+64
software_mouse_pointer does not need an own position anymore and simply draw it without position change
2013-01-05menu/drawable_control: added repaint, that reinitialize the gl environmentAlexander Sulfrian2-0/+11
2013-01-05menu/container: initialize frameAlexander Sulfrian1-1/+1
2013-01-05menu: frame should not be added to container item listAlexander Sulfrian6-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-05menu/application: renamed test variableAlexander Sulfrian1-2/+2
2013-01-05menu/application: simplified codeAlexander Sulfrian1-2/+1
2013-01-05menu/reflection: removed unused classAlexander Sulfrian2-103/+0
2013-01-05menu: keep frame in containerAlexander Sulfrian4-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-05menu/frame: added logAlexander Sulfrian2-0/+5
2013-01-05menu/container: added logAlexander Sulfrian2-0/+7
2013-01-05menu/application: removed display width/height, use DrawableControl::sizeAlexander Sulfrian2-29/+13
2013-01-05menu/drawable_control: added logAlexander Sulfrian2-0/+5
2013-01-05menu: removed parameter names from header filesAlexander Sulfrian4-11/+10
2013-01-05menu/control: renamed methods to avoid name collisionsAlexander Sulfrian2-7/+7
2013-01-05utils/dimension: added template for types of the metricsAlexander Sulfrian1-3/+3
2013-01-05menu/clipping_helper: helper class for stacked clipping setup and teardownAlexander Sulfrian2-0/+121
2013-01-05menu: clean quit after pressing qAlexander Sulfrian1-0/+10
2013-01-05menu/software_mouse_pointer: memory cleanupAlexander Sulfrian1-0/+5
2013-01-05menu: use 2d coordinates for openglAlexander Sulfrian4-18/+10
2013-01-05menu/frame: Frame should draw its contentsAlexander Sulfrian1-0/+2
2013-01-05menu/application: Application now is also a container for the overlaysAlexander Sulfrian2-25/+5
2013-01-05menu/control: ensure safe destruction of the slavesAlexander Sulfrian1-2/+5
2013-01-05menu: Container subclasses need a Container as parent/ownerAlexander Sulfrian6-9/+10
2013-01-05menu: Container could contains and draw DrawableControlsAlexander Sulfrian4-25/+35
DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn
2013-01-05menu/control: fix segfaults if manually deletes a controlAlexander Sulfrian1-3/+14
2013-01-05fixed include pathsAlexander Sulfrian3-3/+2
2013-01-05base: moved Image and Texture to more appropriate locationsAlexander Sulfrian6-0/+374
2013-01-05menu/control: controls are now owned by other controlsAlexander Sulfrian2-13/+38
controls could now be owned by other controls, that are responsible for destruction of their slaves
2013-01-05Makefile.inc: modularized flags, removed include dirsAlexander Sulfrian3-3/+3
2013-01-05ported from log4cxx to log4cppAlexander Sulfrian4-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-05changed all wstring/wchar_t to string/charAlexander Sulfrian3-5/+5
2013-01-05removed pascal codeAlexander Sulfrian12-4463/+0
2013-01-05added first frame and sub directory for framesAlexander Sulfrian1-0/+4
loading screen: currently only with background
2013-01-05added FrameBackgroundImageAlexander Sulfrian2-0/+159
2013-01-05correctly locking and freeing the event buffers on destructionAlexander Sulfrian1-0/+6
2013-01-05before set the background of a frame, free old oneAlexander Sulfrian1-0/+4
2013-01-05changed from SDL rendering to OpenGLAlexander Sulfrian15-52/+154
draw, repaint methods do not have the SDL_Surface* parameter anymore
2013-01-05added software cursorAlexander Sulfrian3-0/+133
2013-01-05removed unnecessary pure virtual method declarationAlexander Sulfrian1-7/+0
removed that pure virtual declaration - it is already there from the base class
2013-01-05added mouse_move signal to event managerAlexander Sulfrian2-1/+5
2013-01-05changed screen to display (only local naming)Alexander Sulfrian2-3/+3
changed that naming to be consistent to all other draw methods
2013-01-05added overlaysAlexander Sulfrian2-0/+23
added list of drawable controls that are drawn over all frames
2013-01-05added event_managerAlexander Sulfrian3-4/+250
event_manager for passing the events from the SDL thread to the event thread
2013-01-05applied the changes from drawableAlexander Sulfrian2-4/+2
2013-01-05refactor some things with FPSmanagerAlexander Sulfrian2-7/+35
2013-01-05reset singleton instance on destructionAlexander Sulfrian1-0/+3