aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/text.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-18text: resize text, if auto_size is enabledAlexander Sulfrian1-2/+4
Change the default for auto_size to false, so that it is not automatically resized during construction.
2013-01-13menu/text: basic handling of auto sizeAlexander Sulfrian1-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.
2013-01-13menu: use boost::shared_mutexAlexander Sulfrian1-5/+14
Use everywhere a mutable boost::shared_mutex to enable locking during const getter and the multiple reader and single writer pattern.
2013-01-13remove legacy keywords from file headerAlexander Sulfrian1-2/+0
2013-01-13menu: generalized frame_background to backgroundAlexander Sulfrian1-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
2013-01-13menu/text: removed unnecessary blockAlexander Sulfrian1-9/+7
2013-01-13utils/rectangle: removed external constructors and added helperAlexander Sulfrian1-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
2013-01-13menu/text: realign on size change of controlAlexander Sulfrian1-0/+12
2013-01-13menu/text: added variable vertical alignment in the box of the controlAlexander Sulfrian1-4/+25
2013-01-13menu/text: renamed text_mutex to font_mutexAlexander Sulfrian1-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
2013-01-13menu/text: added simple text class and a demo in the loading frameAlexander Sulfrian1-28/+39
2013-01-05new file classes for text and binary filesAlexander Sulfrian1-14/+32
2013-01-05changed to boost::filesystem::wifstream to support wpathAlexander Sulfrian1-0/+7
wifstream from boost could be created with a boost::filesystem::wpath to support Unicode paths
2013-01-05converted all strings and chars to wstrings and wchar_tsAlexander Sulfrian1-2/+9
all strings with displayable content are now the wide strings for proper unicode handling added boost dependency for proper reading unicode from files
2013-01-05added wrapper for easily getting istreams from files with proper cleanupAlexander Sulfrian1-6/+7
2013-01-05added song loading stubs with different strategies chosen by file extensionAlexander Sulfrian1-20/+12
2013-01-05converted URingBufferAlexander Sulfrian1-27/+16
2013-01-05converted UTime.pas to c++Alexander Sulfrian1-13/+34
2008-09-23indentation unified, no code change.k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1406 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-23gpl header added and property svn:header set to "HeadURL Id"k-m_schindler1-0/+25
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1403 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-06Delphi-mode set for FPCtobigun1-0/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1348 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-02Moved: The folder classes has been renamed to basemogguh1-0/+0
Updated: ultrastardx.dpr has been changed accordingly git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1339 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Classes part2k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1308 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Classes part1k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1307 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27Reordering of the directories[1]: moving Game/Code to srck-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1302 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08- set svn:eol-style to nativetobigun1-13/+13
- removed some svn:executable properties from non-executable files git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1144 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-01Mac OS X version compiles and links. I hope I didn't break too many files on ↵eddie-08151-0/+3
windows/linux. Added switches.inc to all files. Changed many IFDEFs. For Windows-only code please use MSWINDOWS instead of WIN32 now. WIN32 is also used by the Mac port. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@546 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-23New class for score managementwhiteshark01-0/+10
-Scores are raised when PopUp slides under the scorebg -1 to 6 Player support (even 5 Players(not supported by Core atm)) -Display 3 Players instead of 2 when 4 Players are set in the Options and Screens=2 Ratingbar is not drawn by class atm. Have to be done git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@430 b956fd51-792f-4845-bead-9b4dfca2ff2c