Nebuleon Fumika
bac622fc39
Cap the width of setting names in SettingDialog to the width of the longest
...
Setting values are now displayed 10 pixels to the right of setting names, as
passed to MenuSetting::draw.
This commit also contains the following cleanups:
* The height of a row is passed to MenuSetting's draw and touchscreen methods.
* MenuSettingRGBA's magic constant (36) to separate the text for a color's
four components is now a named constant.
* MenuSettingRGBA's color preview squares are now rowHeight - 2 pixels tall,
and have a white border surrounded by a black border to help view the color
it contains in both light and dark themes.
* The rectangle behind the selected setting's name is now drawn by that
setting's drawSelected method.
2014-07-24 11:07:30 +02:00
Paul Cercueil
9263c782e7
Drop GP2X platform support.
...
The GP2X build was unused and totally broken.
2012-06-14 23:45:57 +02:00
Maarten ter Huurne
1ad6b2f25a
Made GMenu2X::ts private.
...
Pass Touchscreen reference to constructors instead of pulling it from
the GMenu2X class.
2011-12-23 14:03:05 +01:00
Maarten ter Huurne
f28e4f6d89
Minimized gmenu2x.h.
...
Everything that does not need to be shared was moved to gmenu2x.cpp.
2011-10-23 17:27:29 +02:00
Maarten ter Huurne
a38c283e17
SettingsDialog: simplify code using InputManager::waitForPressedButton().
...
Replaced MenuSetting::manageInput() by handleButtonPress(), because we will
only pass pressed buttons to it, not the entire input event.
2011-10-23 09:38:59 +02:00
Maarten ter Huurne
315bf0a180
InputManager: C++-style type definitions.
...
There is no need to typedef enums and structs in C++.
Put types defined by InputManager inside the class namespace.
Changed type names to CamelCase.
2011-10-23 09:04:12 +02:00
Ayla
d82e262662
Rewrite of the MenuSettingRGBA class so that it won't use the CLEAR/MENU buttons.
2011-09-18 01:33:11 +02:00
Ayla
7f2c7db8e2
Rewrite of how the events are handled by the menusetting* objects.
2011-09-15 20:20:35 +02:00
Ayla
38a83dd385
On the skin menu, the ALTLEFT/ALTRIGHT buttons will now respectively decrease/increase the ARGB values by 10.
2011-04-14 19:35:50 +02:00
Ayla
563cb34a89
Rewrote the whole input system.
...
Gmenu2X will no longer eat 100% CPU ;)
2010-09-17 22:34:26 +02:00
Maarten ter Huurne
d082f7f280
Minimize namespace pollution in MenuSetting class hierarchy.
...
This should be done for all source files, but it is too much to do all at once.
2010-07-28 02:36:46 +02:00
Lars-Peter Clausen
3b2538cfaf
Add ButtonBox widget to simplify managing buttons in the bottombar. Also fixes some memleaks where buttons were left unfreed.
2010-05-03 22:21:36 +02:00
Lars-Peter Clausen
6361dde213
Fix menusetting widgets.
2010-05-03 19:41:45 +02:00
Lars-Peter Clausen
40a26e1a9c
pass strings by reference where possible
2010-05-02 14:38:16 +02:00
Mirko Lindner
cddcd72e33
initial commit - needs clean-up
...
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-04 12:33:47 +01:00