Changeset 114 for Swollen/swollen/keyboardeventhandler.cpp
- Timestamp:
- Jun 23, 2005, 6:44:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/keyboardeventhandler.cpp
r111 r114 15 15 _togglewireframe = false; 16 16 _toggleculling = false; 17 17 _togglerecording = false; 18 _toggleplayback = false; 19 _togglesave = false; 18 20 } 19 21 … … 90 92 91 93 case '2': 92 _ recordingplayback = true;94 _toggleplayback = true; 93 95 handled = true; 94 96 break; 95 97 96 98 case '3': 97 _ recordingsave = true;99 _togglesave = true; 98 100 handled = true; 99 101 break; … … 163 165 return false; 164 166 } 167 168 169 bool KeyboardEventHandler::togglePlayback() 170 { 171 if( _toggleplayback ) 172 { 173 _toggleplayback = false; 174 return true; 175 } 176 return false; 177 } 178 179 180 bool KeyboardEventHandler::toggleSave() 181 { 182 if( _togglesave ) 183 { 184 _togglesave = false; 185 return true; 186 } 187 return false; 188 }
Note: See TracChangeset
for help on using the changeset viewer.