aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/text.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-04remove semicolon after namespaceAlexander Sulfrian1-1/+1
Class definitions have to end with a semicolon but not namespaces. So remove this everywhere.
2013-01-13menu/text: basic handling of auto sizeAlexander Sulfrian1-0/+3
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: add some commentsAlexander Sulfrian1-3/+2
2013-01-13menu: use boost::shared_mutexAlexander Sulfrian1-2/+2
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-13utils/rectangle: removed external constructors and added helperAlexander Sulfrian1-0/+7
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/+3
2013-01-13menu/text: added variable vertical alignment in the box of the controlAlexander Sulfrian1-1/+20
2013-01-13menu/text: renamed text_mutex to font_mutexAlexander Sulfrian1-1/+1
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: reordered includes in header fileAlexander Sulfrian1-3/+4
2013-01-13menu/text: added simple text class and a demo in the loading frameAlexander Sulfrian1-23/+38
2013-01-13menu/container: clipping requires window coordinatesAlexander Sulfrian1-0/+4
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-05menu: frame should not be added to container item listAlexander Sulfrian1-0/+2
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: keep frame in containerAlexander Sulfrian1-0/+6
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/container: added logAlexander Sulfrian1-0/+4
2013-01-05menu: removed parameter names from header filesAlexander Sulfrian1-3/+3
2013-01-05menu: Container could contains and draw DrawableControlsAlexander Sulfrian1-7/+6
DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn
2013-01-05changed from SDL rendering to OpenGLAlexander Sulfrian1-2/+1
draw, repaint methods do not have the SDL_Surface* parameter anymore
2013-01-05added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian1-2/+4
2013-01-05added parent to controlAlexander Sulfrian1-1/+1
parent is used to delete the objects if the parent is deleted
2013-01-05started gui frameworkAlexander Sulfrian1-10/+15
renamed menubackground to framebackground and splited out framebackgroundcolor created control as base class renamed draw to repaint and on_draw to draw in drawable implemented drawablecontrol as base for all visible controls on windows created container (subclass of drawablecontrol) that could contain other drawablecontrols created frame (subclass of container) with a background added openGL ldflag
2013-01-05added Point, Point3D, Dimension, Rectangle, RgbColor and Texture classesAlexander Sulfrian1-8/+11
2013-01-05added complete song structureAlexander Sulfrian1-10/+8
added LyricLines for lines of lyrics with some words added LyricWords for single words (notes) of lyrics added construction/deconstruction of lines and words form parsed data changed BPM list to list of pointer
2013-01-05added wrapper for easily getting istreams from files with proper cleanupAlexander Sulfrian1-12/+15
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