Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2009, 11:34:51 PM (15 years ago)
Author:
bknecht
Message:

Including some features to use only mouse or keys in a GUI, also cleaning up the calls to GUIManager, also trying to show and hide a GUI just by tabbing a key. Anyways, more features to come soonsvn status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gamestates/GSLevel.h

    r2850 r2869  
    4747        void update(const Clock& time);
    4848
    49         void toggleGUI();
     49        static void showIngameGUI(bool show);
    5050
    5151    protected:
     
    5858        void keybindInternal(const std::string& command, bool bTemporary);
    5959
    60         KeyBinder*            keyBinder_;        //!< tool that loads and manages the input bindings
    61         SimpleInputState*     inputState_;
    62         Radar*                radar_;            //!< represents the Radar (not the HUD part)
    63         XMLFile*              startFile_;        //!< current hard coded default level
     60        KeyBinder*            keyBinder_;               //!< tool that loads and manages the input bindings
     61        SimpleInputState*     gameInputState_;          //!< input state for normal ingame playing
     62        SimpleInputState*     guiMouseOnlyInputState_;  //!< input state if we only need the mouse to use the GUI
     63        SimpleInputState*     guiKeysOnlyInputState_;   //!< input state if we only need the keys to use the GUI
     64        Radar*                radar_;                   //!< represents the Radar (not the HUD part)
     65        XMLFile*              startFile_;               //!< current hard coded default level
    6466        CameraManager*        cameraManager_;
    6567        LevelManager*         levelManager_;
     
    7274        ConsoleCommand*       ccKeybind_;
    7375        ConsoleCommand*       ccTkeybind_;
    74         ConsoleCommand*       ccToggleGUI_;
    7576    };
    7677}
Note: See TracChangeset for help on using the changeset viewer.