Changeset 6190 for code/branches/presentation2/src/libraries/core/input
- Timestamp:
- Dec 2, 2009, 9:02:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/input/KeyBinderManager.h
r5929 r6190 60 60 61 61 //! Returns the currently selected KeyBinder 62 KeyBinder* 62 KeyBinder* getCurrent() 63 63 { return this->currentBinder_; } 64 64 //! Like getCurrent(), but returns it as InputHandler* (so you don't have to include KeyBinder.h) … … 68 68 69 69 //! Returns the default KeyBinder 70 KeyBinder* 70 KeyBinder* getDefault() 71 71 { return binders_[this->defaultFilename_]; } 72 72 //! Returns the default KeyBinder as InputHandler* (so you don't have to include KeyBinder.h) … … 80 80 81 81 //! Returns a pointer to a KeyBinder (creates it if not yet loaded) 82 KeyBinder* 82 KeyBinder* get(const std::string& name); 83 83 //! Like get() but return value is of type InputHandler* (so you don't have to include KeyBinder.h) 84 84 InputHandler* getAsHandler(const std::string& name); 85 85 86 86 //! Loads a KeyBinder by creating it (no different from get() except for the return value) 87 void load 87 void load(const std::string& filename); 88 88 //! Destroys a KeyBinder completely (does nothing if not yet loaded) 89 89 void unload(const std::string& filename);
Note: See TracChangeset
for help on using the changeset viewer.