aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-20menu/drawable_control: add signals for mouse eventsAlexander Sulfrian1-0/+11
2013-01-20menu/drawable_control: add static member for debug boxesAlexander Sulfrian1-0/+6
2013-01-18menu: add mouse manager for handling mouse focus and clicksAlexander Sulfrian1-0/+9
2013-01-18menu: add get_component_at to get componentAlexander Sulfrian1-0/+4
This is the basis for mouse focus handling.
2013-01-18drawable_control: add focusable propertyAlexander Sulfrian1-0/+8
drawable controls could now disable the ability to receive focus
2013-01-18menu: fix calculate window coordinatesAlexander Sulfrian1-0/+1
2013-01-13menu: code style: change naming of bool-getter to is prefixAlexander Sulfrian1-1/+1
2013-01-13menu: add some commentsAlexander Sulfrian1-0/+23
2013-01-13menu: use boost::shared_mutexAlexander Sulfrian1-5/+5
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/+9
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/container: calculate window coordinatesAlexander Sulfrian1-2/+2
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)
2013-01-13menu/drawable_control: set_size should be virtual so it could be overwrittenAlexander Sulfrian1-2/+2
2013-01-13menu/container: cleanup while destruction of containerAlexander Sulfrian1-0/+2
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)
2013-01-13menu/drawable_control: added size to controls and clip drawing if requestedAlexander Sulfrian1-0/+17
if requested (set_clipping_required) DrawableControl will use ClippingHelper to setup glScissor befor drawing the content. container will request clipping by default
2013-01-05menu/drawable_control: added position, glTransform to position before drawingAlexander Sulfrian1-0/+12
software_mouse_pointer does not need an own position anymore and simply draw it without position change
2013-01-05menu/drawable_control: added repaint, that reinitialize the gl environmentAlexander Sulfrian1-0/+2
2013-01-05menu: frame should not be added to container item listAlexander Sulfrian1-0/+13
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/drawable_control: added logAlexander Sulfrian1-0/+2
2013-01-05menu: removed parameter names from header filesAlexander Sulfrian1-1/+1
2013-01-05menu: Container could contains and draw DrawableControlsAlexander Sulfrian1-1/+6
DrawableControls register/unregister itself during construction/destruction at the Container (supplied as owner) and get automatically drawn
2013-01-05removed unnecessary pure virtual method declarationAlexander Sulfrian1-7/+0
removed that pure virtual declaration - it is already there from the base class
2013-01-05added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian1-1/+3
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-13/+11
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-05make on_draw protectedAlexander Sulfrian1-1/+4
external classes have to call draw instead of on_draw (so that visible gets evaluated)
2013-01-05added getter/setter for Reflection::spacingAlexander Sulfrian1-0/+3
2013-01-05added Reflection class (descendant of Drawable)Alexander Sulfrian1-9/+8
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