Changeset 5829 for code/branches/core5/src/modules/gamestates/GSGraphics.cc
- Timestamp:
- Sep 28, 2009, 9:31:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/gamestates/GSGraphics.cc
r5799 r5829 109 109 110 110 // add console command to toggle GUI 111 FunctorMember<GSGraphics>* functor = createFunctor(&GSGraphics::toggleGUI); 112 functor->setObject(this); 113 this->ccToggleGUI_ = createConsoleCommand(functor, "toggleGUI"); 111 this->ccToggleGUI_ = createConsoleCommand(createFunctor(&GSGraphics::toggleGUI, this), "toggleGUI"); 114 112 CommandExecutor::addConsoleCommandShortcut(this->ccToggleGUI_); 115 113
Note: See TracChangeset
for help on using the changeset viewer.