aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/text.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* menu/text: basic handling of auto sizeAlexander Sulfrian2013-01-131-0/+15
| | | | | | | | | If auto_size is false the control is setup clipping, so that the outside parts of the control gets discarded. If auto_size enable, the drawn parts outside the component rectangle are drawn. TODO: currently the component dost not really change its size. This could be necessary for sensible regions.
* menu: use boost::shared_mutexAlexander Sulfrian2013-01-131-5/+14
| | | | | 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-131-2/+0
|
* menu: generalized frame_background to backgroundAlexander Sulfrian2013-01-131-0/+2
| | | | | | | | | 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/text: removed unnecessary blockAlexander Sulfrian2013-01-131-9/+7
|
* utils/rectangle: removed external constructors and added helperAlexander Sulfrian2013-01-131-1/+8
| | | | | constructors that generate a rectangle from GLint[4] or FTBBox are now helper functions to remove the external dependencies from the helper class
* menu/text: realign on size change of controlAlexander Sulfrian2013-01-131-0/+12
|
* menu/text: added variable vertical alignment in the box of the controlAlexander Sulfrian2013-01-131-4/+25
|
* menu/text: renamed text_mutex to font_mutexAlexander Sulfrian2013-01-131-2/+3
| | | | | | 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: added simple text class and a demo in the loading frameAlexander Sulfrian2013-01-131-0/+88