aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* applied the changes from drawableAlexander Sulfrian2013-01-052-4/+2
|
* refactor some things with FPSmanagerAlexander Sulfrian2013-01-052-7/+35
|
* reset singleton instance on destructionAlexander Sulfrian2013-01-051-0/+3
|
* added main applicationAlexander Sulfrian2013-01-052-0/+218
| | | | | | | | added makefile added main function (src/main.cpp) added Application-class with sdl initialisation and main loop added log4cxx.xml configuration for main application adjusted .gitignore
* removed old (converted) opengl display classAlexander Sulfrian2013-01-052-652/+0
|
* removed unused openglAlexander Sulfrian2013-01-051-3/+0
|
* added SDL_Surface* display to all repaint/draw methodsAlexander Sulfrian2013-01-0510-17/+26
|
* added parent to controlAlexander Sulfrian2013-01-058-10/+37
| | | | parent is used to delete the objects if the parent is deleted
* started gui frameworkAlexander Sulfrian2013-01-0514-50/+504
| | | | | | | | | | 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
* redraw on property changeAlexander Sulfrian2013-01-052-0/+2
|
* make on_draw protectedAlexander Sulfrian2013-01-052-6/+10
| | | | | external classes have to call draw instead of on_draw (so that visible gets evaluated)
* added getter/setter for Reflection::spacingAlexander Sulfrian2013-01-052-0/+13
|
* added Reflection class (descendant of Drawable)Alexander Sulfrian2013-01-052-0/+88
|
* added drawable abstract base classAlexander Sulfrian2013-01-052-0/+117
|
* disabled (defined out) not working code to be able to compile all filesAlexander Sulfrian2013-01-052-0/+8
|
* converted UMenuBackgroundColorAlexander Sulfrian2013-01-053-73/+23
|
* explicit set public scope of implemented methodAlexander Sulfrian2013-01-051-0/+1
|
* converted UMenuBackgroundNoneAlexander Sulfrian2013-01-052-48/+23
|
* refactor MenuBackgrund base classAlexander Sulfrian2013-01-051-5/+5
| | | | | changed on_show, on_finish and deconstructor to optional implementations with empty implementations instead of pure virtual functions in base class
* added MenuBackgroundException, removed virtual constructor (nonsense)Alexander Sulfrian2013-01-051-1/+3
|
* converted UMenuBackgrundAlexander Sulfrian2013-01-052-83/+52
|
* converted UDisplayAlexander Sulfrian2013-01-053-648/+648
|
* handling mouse input a better way in UDisplaywhiteshark02009-11-241-22/+44
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1957 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some changes on mousesupportwhiteshark02009-11-184-33/+136
| | | | | | | | - you can click on the whole area of a button after fading - options on selects can be changed by clicking on the arrows - fix mouse parsing at the screensong extensions git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1950 b956fd51-792f-4845-bead-9b4dfca2ff2c
* prevent key input from being sent to the screen that is fading out, send it ↵whiteshark02009-11-171-0/+13
| | | | | | to the screen that is fading in instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1946 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged unicode branch (r1931) into trunks_alexander2009-11-0910-919/+897
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cosmeticsk-m_schindler2009-06-044-238/+304
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1800 b956fd51-792f-4845-bead-9b4dfca2ff2c
* software cursor is now hidden on startupwhiteshark02009-05-311-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1791 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed a bug in UMenuText that causes (some of) the crashs in USongJumpTowhiteshark02009-05-311-9/+10
| | | | | | | some bad coding style by myself also fixed thx to AlexanderS git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1790 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged (experimental) mouse support patch by d0ccrazywhiteshark02009-05-312-7/+303
| | | | | | | | | | | some changes to patch - implemented software cursor (texturable) - option to turn of mouse support or switch between hardware and software cursor - hide software cursor if there is no mouse activity for 5 seconds - soft fade in and out for software cursor - some test cursor-textures for deluxe theme (mog pls change these horible looking images) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1789 b956fd51-792f-4845-bead-9b4dfca2ff2c
* comment removed. Successful review from mog.k-m_schindler2009-05-281-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1788 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix the bug from rev. 1784. mog has to review this!k-m_schindler2009-05-281-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1787 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cosmetical removal of Warning: Constructor should be publick-m_schindler2009-05-281-37/+37
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1785 b956fd51-792f-4845-bead-9b4dfca2ff2c
* All options do have one option visible nowmogguh2009-05-271-59/+43
| | | | | | | FIXED: SelectSlides with only two options did not show arrows on reelection ENHANCEMENT: Beautified some portions of UMenuSelectSlide.pas code git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1784 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Statics defined in theme don't necessarily need a width or height set, if ↵mogguh2009-05-262-11/+71
| | | | | | | | | omitted the the values from the texture itself will be used SelectSlides may now have arrows and only one item set, default is off - view UScreenOptionsGame.pas as example on how to set this git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1783 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cosmetics and buildbot triggerk-m_schindler2009-05-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1760 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cosmetics. No code changek-m_schindler2009-04-248-268/+283
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1692 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removal of type warnings and cosmeticsk-m_schindler2009-04-181-14/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1678 b956fd51-792f-4845-bead-9b4dfca2ff2c
* unclutter UMain.pas. Create UPath.pas. Tests on all platformssvn statussvn ↵k-m_schindler2009-03-071-5/+6
| | | | | | status git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1625 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed first screen was cleared when second screen was drawn. #76 should be ↵whiteshark02009-03-015-10/+25
| | | | | | | | | fixed now commented some weird stuff in TScreenSing.Draw git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1613 b956fd51-792f-4845-bead-9b4dfca2ff2c
* editingk-m_schindler2009-02-211-30/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1597 b956fd51-792f-4845-bead-9b4dfca2ff2c
* All comments are English now (Polish ones have been translated)tobigun2008-11-032-7/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some compiler warnings/hints removedtobigun2008-10-283-4/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - glPrint(Pchar) -> glPrint(string)tobigun2008-10-283-14/+14
| | | | | | | - glPrintLetter removed - font engine handles FT_PIXEL_MODE_MONO as FT_Glyph_To_Bitmap(FT_RENDER_MODE_NORMAL) might return a 1bit/pixel black/white image instead of 8bit/pixel gray shaded one (happened with 16px japanese glyphs of simsun.ttf, latin ones were correct). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1482 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC 2.2.2 compatibility. USDX crashed with an error in iconv_close. After ↵tobigun2008-10-201-2/+6
| | | | | | disabling the cwstring unit everything works fine again. Drawback: WideUpperCase() as other unicode support does not work anymore (cwstring was a dummy in 2.2.0 so this is not a big deal). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1462 b956fd51-792f-4845-bead-9b4dfca2ff2c
* The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun2008-10-194-12/+12
| | | | | | | | | | | | | it was 1/3 of the pixel-size). For theme and plugin compatibility the following functions multiply the size with 3: - UScreenSingModi.Print - TTheme.ThemeLoadText - TTheme.ThemeLoadSelectSlide TODO: Convert the themes/plugins and remove the "*3" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1459 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - background-type -> enumtobigun2008-10-191-8/+8
| | | | | | - some string function-parameters defined const git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1458 b956fd51-792f-4845-bead-9b4dfca2ff2c
* style adjustments. no code change.k-m_schindler2008-10-187-223/+222
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1456 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Abstraction of the menus backgroundwhiteshark02008-10-138-55/+877
| | | | | | | | 5 different bg types: none(fallback), colored, texture, video, and fade(for overlays) Some sideeffect is 5 mb less memory usage, don't know for which reasons :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1446 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Adding hints to possible endian related problems. No code change, yet. Only ↵k-m_schindler2008-09-281-0/+4
| | | | | | suggestions for test. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1420 b956fd51-792f-4845-bead-9b4dfca2ff2c