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
|
7f2c7db8e2
|
Rewrite of how the events are handled by the menusetting* objects.
|
2011-09-15 20:20:35 +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 |
|
Maarten ter Huurne
|
44bed79d5c
|
Give adjustInput() an empty default implementation and remove empty overrides.
Again a slight reduction in binary size.
|
2010-07-28 01:52:05 +02:00 |
|
Maarten ter Huurne
|
d1d55a7666
|
Added MenuSettingStringBase, an abstract base class for MenuSettingString, MenuSettingFile and MenuSettingDir.
This removes a lot of duplicate source code and also decreases the binary size slightly.
|
2010-07-28 01:46:32 +02:00 |
|