| Commit message (Collapse) | Author | Files | Lines |
|
Class definitions have to end with a semicolon but not namespaces. So
remove this everywhere.
|
|
|
|
|
|
|
|
|
|
|
|
This is the basis for mouse focus handling.
|
|
drawable controls could now disable the ability to receive focus
|
|
|
|
|
|
if debug.boxes is true in configuration file, a red border is drawn
around all controls
|
|
Some controls modify the modelview matrix during drawing their
contents. Restore it afterwards, so that other parts could be drawn
easily on top.
|
|
Use everywhere a mutable boost::shared_mutex to enable locking during
const getter and the multiple reader and single writer pattern.
|
|
|
|
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
|
|
|
|
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)
|
|
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
|
|
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)
|
|
if requested (set_clipping_required) DrawableControl will use
ClippingHelper to setup glScissor befor drawing the content. container
will request clipping by default
|
|
software_mouse_pointer does not need an own position anymore and
simply draw it without position change
|
|
|
|
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
|
|
|
|
DrawableControls register/unregister itself during
construction/destruction at the Container (supplied as owner) and get
automatically drawn
|
|
parent is used to delete the objects if the parent is deleted
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1406 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1403 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1348 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
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
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1308 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1307 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1302 b956fd51-792f-4845-bead-9b4dfca2ff2c
|
|
- 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
|
|
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
|
|
-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
|