Changeset 1449
- Timestamp:
- May 28, 2008, 11:02:36 AM (16 years ago)
- Location:
- code/branches/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/bin/def_keybindings.ini
r1419 r1449 1 1 [KeyBinder] 2 KeyUNASSIGNED= activateConsole2 KeyUNASSIGNED=openConsole 3 3 KeyESCAPE=exit 4 4 Key1= … … 13 13 Key0= 14 14 KeyMINUS= 15 KeyEQUALS= activateConsole15 KeyEQUALS=openConsole 16 16 KeyBACK= 17 17 KeyTAB=cycleNavigationFocus … … 41 41 KeySEMICOLON= 42 42 KeyAPOSTROPHE= 43 KeyGRAVE= activateConsole43 KeyGRAVE=openConsole 44 44 KeyLSHIFT= 45 45 KeyBACKSLASH= … … 107 107 KeyUNLABELED= 108 108 KeyNEXTTRACK= 109 KeyNUMPADENTER= activateConsole109 KeyNUMPADENTER=openConsole 110 110 KeyRCONTROL= 111 111 KeyMUTE= -
code/branches/network/src/core/InputBuffer.h
r1446 r1449 66 66 { 67 67 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, true, bOnlySingleInput, false, '\0', KeyCode::Unassigned}; 68 *((int*)(&newListener.listener_)) = (int)(listener); 69 68 70 this->listeners_.insert(this->listeners_.end(), newListener); 69 71 } … … 72 74 { 73 75 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, true, bOnlySingleInput, false, '\0', KeyCode::Unassigned}; 76 *((int*)(&newListener.listener_)) = (int)(listener); 74 77 this->listeners_.insert(this->listeners_.end(), newListener); 75 78 } … … 79 82 { 80 83 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, false, bOnlySingleInput, false, _char, KeyCode::Unassigned}; 84 *((int*)(&newListener.listener_)) = (int)(listener); 81 85 this->listeners_.insert(this->listeners_.end(), newListener); 82 86 } … … 85 89 { 86 90 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, false, bOnlySingleInput, false, _char, KeyCode::Unassigned}; 91 *((int*)(&newListener.listener_)) = (int)(listener); 87 92 this->listeners_.insert(this->listeners_.end(), newListener); 88 93 } … … 92 97 { 93 98 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, false, true, true, '\0', key}; 99 *((int*)(&newListener.listener_)) = (int)(listener); 94 100 this->listeners_.insert(this->listeners_.end(), newListener); 95 101 } … … 98 104 { 99 105 struct InputBufferListenerTuple newListener = {listener, (void (InputBufferListener::*)())function, false, true, true, '\0', key}; 106 *((int*)(&newListener.listener_)) = (int)(listener); 100 107 this->listeners_.insert(this->listeners_.end(), newListener); 101 108 } -
code/branches/network/src/core/Shell.cc
r1447 r1449 102 102 { 103 103 this->inputBuffer_->unregisterListener(this); 104 // TODO: may be very dangerous. InputManager already deletes InputBuffer instance!!! 104 105 delete this->inputBuffer_; 105 106 } -
code/branches/network/visual_studio/vc8/core.vcproj
r1413 r1449 149 149 > 150 150 <File 151 RelativePath="..\..\src\core\ArgumentCompletionFunctions.cc" 152 > 153 </File> 154 <File 151 155 RelativePath="..\..\src\core\BaseObject.cc" 152 156 > … … 157 161 </File> 158 162 <File 163 RelativePath="..\..\src\core\CommandEvaluation.cc" 164 > 165 </File> 166 <File 159 167 RelativePath="..\..\src\core\CommandExecutor.cc" 160 168 > … … 169 177 </File> 170 178 <File 179 RelativePath="..\..\src\core\ConsoleCommand.cc" 180 > 181 </File> 182 <File 183 RelativePath="..\..\src\core\ConsoleCommandCompilation.cc" 184 > 185 </File> 186 <File 171 187 RelativePath="..\..\src\core\CoreSettings.cc" 172 188 > … … 201 217 </File> 202 218 <File 219 RelativePath="..\..\src\core\IRC.cc" 220 > 221 </File> 222 <File 203 223 RelativePath="..\..\src\core\KeyBinder.cc" 204 224 > … … 229 249 </File> 230 250 <File 251 RelativePath="..\..\src\core\OutputBuffer.cc" 252 > 253 </File> 254 <File 231 255 RelativePath="..\..\src\core\OutputHandler.cc" 232 256 > … … 237 261 </File> 238 262 <File 263 RelativePath="..\..\src\core\Shell.cc" 264 > 265 </File> 266 <File 239 267 RelativePath="..\..\src\core\SignalHandler.cc" 240 268 > … … 242 270 <File 243 271 RelativePath="..\..\src\core\TclBind.cc" 272 > 273 </File> 274 <File 275 RelativePath="..\..\src\core\TclThreadManager.cc" 244 276 > 245 277 </File> … … 267 299 > 268 300 <File 301 RelativePath="..\..\src\core\ArgumentCompleter.h" 302 > 303 </File> 304 <File 305 RelativePath="..\..\src\core\ArgumentCompletionFunctions.h" 306 > 307 </File> 308 <File 309 RelativePath="..\..\src\core\ArgumentCompletionListElement.h" 310 > 311 </File> 312 <File 269 313 RelativePath="..\..\src\core\BaseObject.h" 270 314 > … … 283 327 </File> 284 328 <File 329 RelativePath="..\..\src\core\CommandEvaluation.h" 330 > 331 </File> 332 <File 285 333 RelativePath="..\..\src\core\CommandExecutor.h" 286 334 > … … 303 351 </File> 304 352 <File 353 RelativePath="..\..\src\core\ConsoleCommandCompilation.h" 354 > 355 </File> 356 <File 305 357 RelativePath="..\..\src\core\CoreIncludes.h" 306 358 > … … 355 407 </File> 356 408 <File 409 RelativePath="..\..\src\core\IRC.h" 410 > 411 </File> 412 <File 357 413 RelativePath="..\..\src\core\Iterator.h" 358 414 > … … 395 451 </File> 396 452 <File 453 RelativePath="..\..\src\core\OutputBuffer.h" 454 > 455 </File> 456 <File 397 457 RelativePath="..\..\src\core\OutputHandler.h" 398 458 > … … 403 463 </File> 404 464 <File 465 RelativePath="..\..\src\core\Script_clean.h" 466 > 467 </File> 468 <File 469 RelativePath="..\..\src\core\Shell.h" 470 > 471 </File> 472 <File 405 473 RelativePath="..\..\src\core\SignalHandler.h" 406 474 > … … 408 476 <File 409 477 RelativePath="..\..\src\core\TclBind.h" 478 > 479 </File> 480 <File 481 RelativePath="..\..\src\core\TclThreadManager.h" 410 482 > 411 483 </File>
Note: See TracChangeset
for help on using the changeset viewer.