Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 8:41:44 PM (14 years ago)
Author:
scheusso
Message:

a small fix in IOConsole
some changes in GUI-system and preparation for keybindings menu
fix in menu handling

File:
1 edited

Legend:

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

    r6190 r6214  
    3737#include "core/OrxonoxClass.h"
    3838
    39 namespace orxonox
    40 {
     39namespace orxonox //tolua_export
     40{ //tolua_export
    4141    /**
    4242    @brief
     
    5151        will not work as expected!
    5252    */
    53     class _CoreExport KeyBinderManager : public Singleton<KeyBinderManager>, public OrxonoxClass
    54     {
     53    class _CoreExport KeyBinderManager //tolua_export
     54        : public Singleton<KeyBinderManager>, public OrxonoxClass
     55    { //tolua_export
    5556        friend class Singleton<KeyBinderManager>;
    5657    public:
     
    5960        void setConfigValues();
    6061
     62        static KeyBinderManager& getInstance() { return Singleton<KeyBinderManager>::getInstance(); } //tolua_export
    6163        //! Returns the currently selected KeyBinder
    62         KeyBinder* getCurrent()
    63             { return this->currentBinder_; }
     64        KeyBinder* getCurrent() { return this->currentBinder_; } //tolua_export
    6465        //! Like getCurrent(), but returns it as InputHandler* (so you don't have to include KeyBinder.h)
    6566        InputHandler* getCurrentAsHandler();
     
    115116
    116117        static KeyBinderManager* singletonPtr_s;
    117     };
    118 }
     118    }; //tolua_export
     119} //tolua_export
    119120
    120121#endif /* _KeyBinderManager_H__ */
Note: See TracChangeset for help on using the changeset viewer.