Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2009, 11:06:48 AM (15 years ago)
Author:
rgrieder
Message:

Changes did not work at all in Release mode (strange).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/input/KeyBinderManager.h

    r6278 r6280  
    4848        maps to the currently active KeyBinder. You can set that with setCurrent().
    4949        There is also a default one, retrieved with getDefault(). The idea is that
    50         mostly the default KeyBinder is active except for special situtations (mini-game for inst).
     50        mostly the default KeyBinder is active except for special situations (mini-game for inst).
    5151    @remarks
    5252        You are not forced to use the KeyBinder imposed by getCurrent(). But be aware that "keybind"
     
    6262        void setConfigValues();
    6363
    64         static KeyBinderManager& getInstance() //tolua_export
    65             { return Singleton<KeyBinderManager>::getInstance(); }
     64        static KeyBinderManager& getInstance() { return Singleton<KeyBinderManager>::getInstance(); } //tolua_export
    6665        //! Returns the currently selected KeyBinder
    67         KeyBinder* getCurrent() //tolua_export
    68             { return this->currentBinder_; }
     66        KeyBinder* getCurrent() { return this->currentBinder_; } //tolua_export
    6967        //! Like getCurrent(), but returns it as InputHandler* (so you don't have to include KeyBinder.h)
    7068        InputHandler* getCurrentAsHandler();
     
    9795
    9896        //! Bind 'command' to any key pressed after this call (use with care!)
    99         inline void keybind(const std::string& command) //tolua_export
    100             { this->keybindInternal(command, false); }
     97        inline void keybind(const std::string& command) { this->keybindInternal(command, false); } //tolua_export
    10198        //! Bind 'command' to any key pressed after this call (use with care!), but temporarily (no file save)
    10299        inline void tkeybind(const std::string& command)
Note: See TracChangeset for help on using the changeset viewer.