Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | menu/software_mouse_pointer: set hidden if timer is ready | Alexander Sulfrian | 2013-01-13 | 1 | -1/+7 |
| | | | | this saves the draw call if the pointer should not be drawn | ||||
* | utils/point: addition/subtraction should only be possible with same type | Alexander Sulfrian | 2013-01-13 | 1 | -4/+4 |
| | |||||
* | menu/text: realign on size change of control | Alexander Sulfrian | 2013-01-13 | 2 | -0/+15 |
| | |||||
* | menu/drawable_control: set_size should be virtual so it could be overwritten | Alexander Sulfrian | 2013-01-13 | 1 | -2/+2 |
| | |||||
* | menu/text: added variable vertical alignment in the box of the control | Alexander Sulfrian | 2013-01-13 | 4 | -5/+185 |
| | |||||
* | utils/rectangle: could get top/bottom/left/right coordinates from Rectangle | Alexander Sulfrian | 2013-01-13 | 2 | -11/+22 |
| | |||||
* | utils/rectangle: added ctor to create a Rectange from a FTBox | Alexander Sulfrian | 2013-01-13 | 1 | -0/+8 |
| | |||||
* | utils/math: added abs/min/max as static template functions | Alexander Sulfrian | 2013-01-13 | 1 | -0/+69 |
| | |||||
* | utils/rectangle: the points should be modifiable | Alexander Sulfrian | 2013-01-13 | 1 | -2/+2 |
| | |||||
* | menu/text: renamed text_mutex to font_mutex | Alexander Sulfrian | 2013-01-13 | 2 | -3/+4 |
| | | | | | | no the font_mutex should not only serialize all accesses to the text, that should be drawn, also all accesses to the under laying font object should not be at the same time | ||||
* | menu/text: reordered includes in header file | Alexander Sulfrian | 2013-01-13 | 1 | -3/+4 |
| | |||||
* | menu/software_mouse_pointer: hide after 2s without movement | Alexander Sulfrian | 2013-01-13 | 2 | -0/+9 |
| | |||||
* | menu/timer: added simple timer to wait until duration is completed | Alexander Sulfrian | 2013-01-13 | 2 | -0/+125 |
| | |||||
* | menu/text: added simple text class and a demo in the loading frame | Alexander Sulfrian | 2013-01-13 | 3 | -0/+176 |
| | |||||
* | menu/container: clipping requires window coordinates | Alexander Sulfrian | 2013-01-13 | 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 | ||||
* | menu/container: cleanup while destruction of container | Alexander Sulfrian | 2013-01-13 | 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) | ||||
* | menu/drawable_control: added size to controls and clip drawing if requested | Alexander Sulfrian | 2013-01-13 | 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 | ||||
* | menu/drawable_control: added position, glTransform to position before drawing | Alexander Sulfrian | 2013-01-05 | 4 | -32/+64 |
| | | | | | software_mouse_pointer does not need an own position anymore and simply draw it without position change | ||||
* | menu/drawable_control: added repaint, that reinitialize the gl environment | Alexander Sulfrian | 2013-01-05 | 2 | -0/+11 |
| | |||||
* | menu/container: initialize frame | Alexander Sulfrian | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | menu: frame should not be added to container item list | Alexander Sulfrian | 2013-01-05 | 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 | ||||
* | menu/application: renamed test variable | Alexander Sulfrian | 2013-01-05 | 1 | -2/+2 |
| | |||||
* | menu/application: simplified code | Alexander Sulfrian | 2013-01-05 | 1 | -2/+1 |
| | |||||
* | menu/reflection: removed unused class | Alexander Sulfrian | 2013-01-05 | 2 | -103/+0 |
| | |||||
* | menu: keep frame in container | Alexander Sulfrian | 2013-01-05 | 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 | ||||
* | menu/frame: added log | Alexander Sulfrian | 2013-01-05 | 2 | -0/+5 |
| | |||||
* | menu/container: added log | Alexander Sulfrian | 2013-01-05 | 2 | -0/+7 |
| | |||||
* | menu/application: removed display width/height, use DrawableControl::size | Alexander Sulfrian | 2013-01-05 | 2 | -29/+13 |
| | |||||
* | menu/drawable_control: added log | Alexander Sulfrian | 2013-01-05 | 2 | -0/+5 |
| | |||||
* | menu: removed parameter names from header files | Alexander Sulfrian | 2013-01-05 | 4 | -11/+10 |
| | |||||
* | menu/control: renamed methods to avoid name collisions | Alexander Sulfrian | 2013-01-05 | 2 | -7/+7 |
| | |||||
* | utils/dimension: added template for types of the metrics | Alexander Sulfrian | 2013-01-05 | 4 | -72/+44 |
| | |||||
* | menu/clipping_helper: helper class for stacked clipping setup and teardown | Alexander Sulfrian | 2013-01-05 | 2 | -0/+121 |
| | |||||
* | frames/loading_frame: added application as parent to be able to get size | Alexander Sulfrian | 2013-01-05 | 2 | -3/+4 |
| | |||||
* | utils/rectangle: added function to intersect two rectangles | Alexander Sulfrian | 2013-01-05 | 1 | -0/+23 |
| | |||||
* | utils/rectangle: added shortcut for accessing the position of a rectangle | Alexander Sulfrian | 2013-01-05 | 1 | -0/+10 |
| | |||||
* | utils/rectangle: added constructor for array of values | Alexander Sulfrian | 2013-01-05 | 1 | -0/+6 |
| | | | | | the new constructor is used to make a rectangle object from the array of values returned from glGet(GL_SCISSOR_BOX) | ||||
* | utils/point: added possibility to change coords | Alexander Sulfrian | 2013-01-05 | 2 | -0/+15 |
| | |||||
* | utils: templatized point, point_3d and rectangle | Alexander Sulfrian | 2013-01-05 | 6 | -202/+128 |
| | | | | | added template parameter for the geometry helper classes, moved function definitions to hpp file to support templates | ||||
* | utils: reformated contructor calls | Alexander Sulfrian | 2013-01-05 | 1 | -2/+4 |
| | |||||
* | utils: added assginment operator for point | Alexander Sulfrian | 2013-01-05 | 2 | -0/+8 |
| | |||||
* | menu: clean quit after pressing q | Alexander Sulfrian | 2013-01-05 | 1 | -0/+10 |
| | |||||
* | menu/software_mouse_pointer: memory cleanup | Alexander Sulfrian | 2013-01-05 | 1 | -0/+5 |
| | |||||
* | menu: use 2d coordinates for opengl | Alexander Sulfrian | 2013-01-05 | 4 | -18/+10 |
| | |||||
* | menu/frame: Frame should draw its contents | Alexander Sulfrian | 2013-01-05 | 1 | -0/+2 |
| | |||||
* | menu/application: Application now is also a container for the overlays | Alexander Sulfrian | 2013-01-05 | 2 | -25/+5 |
| | |||||
* | menu/control: ensure safe destruction of the slaves | Alexander Sulfrian | 2013-01-05 | 1 | -2/+5 |
| | |||||
* | menu: Container subclasses need a Container as parent/owner | Alexander Sulfrian | 2013-01-05 | 6 | -9/+10 |
| | |||||
* | menu: Container could contains and draw DrawableControls | Alexander Sulfrian | 2013-01-05 | 4 | -25/+35 |
| | | | | | | DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn | ||||
* | menu/control: fix segfaults if manually deletes a control | Alexander Sulfrian | 2013-01-05 | 1 | -3/+14 |
| |