aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* utils/rgb_color: add possibility to generate color array for openglAlexander Sulfrian2013-01-132-2/+75
|
* menu/container: remove assertAlexander Sulfrian2013-01-131-1/+0
|
* base/config: add graphics.fullscreen optionAlexander Sulfrian2013-01-134-6/+96
|
* menu: add some commentsAlexander Sulfrian2013-01-132-3/+25
|
* base/config: add graphics.resolution config optionAlexander Sulfrian2013-01-134-1/+110
| | | | | | The resolution could controlled by the appropriate config option. The value from the config file is parsed/serialized with the DimensionTranslator.
* base/config: add basic config infrastructureAlexander Sulfrian2013-01-134-1/+128
|
* menu/drawable_control: always cache modelview matrixAlexander Sulfrian2013-01-131-12/+17
| | | | | | Some controls modify the modelview matrix during drawing their contents. Restore it afterwards, so that other parts could be drawn easily on top.
* menu/modelview_matrix_cache: add helper classAlexander Sulfrian2013-01-133-6/+91
| | | | | Use the new ModelviewMatrixCache to cache the current state of the opengl MODELVIEW_MATRIX.
* menu: use boost::shared_mutexAlexander Sulfrian2013-01-137-30/+46
| | | | | Use everywhere a mutable boost::shared_mutex to enable locking during const getter and the multiple reader and single writer pattern.
* remove legacy keywords from file headerAlexander Sulfrian2013-01-1380-160/+0
|
* menu: enable (and disable) glTexture only if neededAlexander Sulfrian2013-01-133-1/+6
|
* menu/background: backgrounds get to know the parent componentAlexander Sulfrian2013-01-138-38/+133
| | | | | | | | | Backgrounds now know the parent control, they are painted in, to query the size. Backgrounds are not allowed to use glClear anymore, should only draw something during the extend of the parent control and should take care to do not modify the opengl cursor position.
* menu: generalized frame_background to backgroundAlexander Sulfrian2013-01-1313-115/+84
| | | | | | | | | background could now be a background for all DrawableControl instances each subclass should call the parents draw() during executing the draw() method for background painting TODO: background should know the size of the control to only draw the background there
* menu/clipping_helper: made clipping workingAlexander Sulfrian2013-01-134-15/+20
|
* test/utils/rectangle: removed deprecated ctorAlexander Sulfrian2013-01-131-2/+1
|
* menu/contianer: element position should be relative to the container positionAlexander Sulfrian2013-01-132-2/+6
| | | | | | container should provide each of the containing elements' draw functions with its own position as base (store before drawing the first element and restore it after each drawing)
* menu/container: calculate window coordinatesAlexander Sulfrian2013-01-133-3/+74
| | | | | | the container have to keep the current window coordinates of its left, bottom corner, therefor they have to be recalculated on every size/position change (need virtual functions in DrawableControl)
* menu/text: removed unnecessary blockAlexander Sulfrian2013-01-131-9/+7
|
* menu/application: group the opengl init stepsAlexander Sulfrian2013-01-131-4/+3
|
* menu/application: whitespace fixAlexander Sulfrian2013-01-131-2/+2
|
* menu/application: disable opengl depth buffer (only 2d needed)Alexander Sulfrian2013-01-132-1/+2
|
* menu/application: alpha blending should not be enabled by defaultAlexander Sulfrian2013-01-132-4/+5
|
* utils/rectangle: removed external constructors and added helperAlexander Sulfrian2013-01-135-16/+28
| | | | | constructors that generate a rectangle from GLint[4] or FTBBox are now helper functions to remove the external dependencies from the helper class
* test/base/ringbuffer: fix whitespacesAlexander Sulfrian2013-01-131-2/+1
|
* menu/software_mouse_pointer: set hidden if timer is readyAlexander Sulfrian2013-01-131-1/+7
| | | | this saves the draw call if the pointer should not be drawn
* utils/point: addition/subtraction should only be possible with same typeAlexander Sulfrian2013-01-131-4/+4
|
* tests: changed CPPUNIT_ASSERT to CPPUNIT_ASSERT_EQUAL for better error msgsAlexander Sulfrian2013-01-135-89/+89
|
* test/utils/math: test the math helper functionsAlexander Sulfrian2013-01-131-0/+157
|
* test: initialize log for test outputAlexander Sulfrian2013-01-131-0/+3
|
* menu/text: realign on size change of controlAlexander Sulfrian2013-01-132-0/+15
|
* menu/drawable_control: set_size should be virtual so it could be overwrittenAlexander Sulfrian2013-01-131-2/+2
|
* menu/text: added variable vertical alignment in the box of the controlAlexander Sulfrian2013-01-134-5/+185
|
* utils/rectangle: could get top/bottom/left/right coordinates from RectangleAlexander Sulfrian2013-01-133-13/+24
|
* utils/rectangle: added ctor to create a Rectange from a FTBoxAlexander Sulfrian2013-01-131-0/+8
|
* utils/math: added abs/min/max as static template functionsAlexander Sulfrian2013-01-131-0/+69
|
* utils/rectangle: the points should be modifiableAlexander Sulfrian2013-01-131-2/+2
|
* menu/text: renamed text_mutex to font_mutexAlexander Sulfrian2013-01-132-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 fileAlexander Sulfrian2013-01-131-3/+4
|
* menu/software_mouse_pointer: hide after 2s without movementAlexander Sulfrian2013-01-132-0/+9
|
* menu/timer: added simple timer to wait until duration is completedAlexander Sulfrian2013-01-132-0/+125
|
* doc: renamed doxygen config to standard nameAlexander Sulfrian2013-01-131-0/+0
|
* gitignore: ignore rotated logfilesAlexander Sulfrian2013-01-131-1/+1
|
* menu/text: added simple text class and a demo in the loading frameAlexander Sulfrian2013-01-134-0/+176
|
* menu/container: clipping requires window coordinatesAlexander Sulfrian2013-01-133-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 containerAlexander Sulfrian2013-01-133-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 requestedAlexander Sulfrian2013-01-134-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 drawingAlexander Sulfrian2013-01-054-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 environmentAlexander Sulfrian2013-01-052-0/+11
|
* menu/container: initialize frameAlexander Sulfrian2013-01-051-1/+1
|
* menu: frame should not be added to container item listAlexander Sulfrian2013-01-056-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