* Add the confirmation screen for bindings.
  - Add support for asking confirmations before exiting the menu.
  - Add support for cancelling saving of options.
  - Add support for requesting focus when the parent allows to yield.
* Recenter most options' text.
* Change the background color of the selected options (else, there is
  no way of knowing where is the cursor when both option text and
  option value are icons).
* Change symbol names to their equivalent PSP icon use in wagic.
This commit is contained in:
jean.chalard
2010-02-28 12:36:09 +00:00
parent c2549af81d
commit 168154b52d
6 changed files with 296 additions and 50 deletions

View File

@@ -5,9 +5,6 @@
#include <JGui.h>
#include "../include/GameState.h"
#define SHOW_OPTIONS 1
#define SHOW_OPTIONS_MENU 2
class GameApp;
class WGuiTabMenu;
class SimpleMenu;
@@ -19,6 +16,11 @@ struct KeybGrabber {
class GameStateOptions: public GameState, public JGuiListener {
private:
enum {
SHOW_OPTIONS,
SHOW_OPTIONS_MENU,
SAVE
};
float timer;
bool mReload;
KeybGrabber* grabber;