Changeset 7401 for code/trunk/src/libraries/core/input
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/input/Button.cc
r7284 r7401 176 176 // evaluate the command 177 177 CommandEvaluation eval = CommandExecutor::evaluate(commandStr); 178 if (!eval.isValid() || eval.evaluate Params(true))178 if (!eval.isValid() || eval.evaluateArguments(true)) 179 179 { 180 180 parseError("Command evaluation of \"" + commandStr + "\"failed.", true); -
code/trunk/src/libraries/core/input/InputCommands.cc
r5781 r7401 53 53 if (this->abs_ != 0.0f || this->rel_ != 0.0f) 54 54 { 55 evaluation_.setEvaluated Parameter(paramIndex_, Vector2(abs_, rel_));55 evaluation_.setEvaluatedArgument(paramIndex_, Vector2(abs_, rel_)); 56 56 // reset 57 57 rel_ = 0.0; -
code/trunk/src/libraries/core/input/InputManager.cc
r7284 r7401 140 140 Creates the OIS::InputMananger, the keyboard, the mouse and 141 141 the joys ticks. If either of the first two fail, this method throws an exception. 142 @param windowWidth143 The width of the render window144 @param windowHeight145 The height of the render window146 142 */ 147 143 void InputManager::loadDevices() -
code/trunk/src/libraries/core/input/InputManager.h
r6746 r7401 122 122 @param name 123 123 Unique name of the InputState when referenced as string 124 @param bAlwaysGetsInput 125 InputState always gets the input when activated 126 @param bTransparent 127 InputState will not prevent underlaying state from receiving input 124 128 @param priority 125 129 Priority matters when multiple states are active. You can specify any -
code/trunk/src/libraries/core/input/InputState.h
r7284 r7401 128 128 void resetExpiration() { bExpired_ = false; } 129 129 130 //! Updates one specific device handler with #device#Updated130 //! Updates one specific device handler with deviceUpdated 131 131 void update(float dt, unsigned int device); 132 132 //! Updates all handlers with allDevicesUpdated -
code/trunk/src/libraries/core/input/KeyBinder.cc
r6536 r7401 495 495 @brief 496 496 Event handler for the mouseMoved Event. 497 @param e 498 Mouse state information 497 @param abs_ 498 The absolute position of the mouse 499 @param rel_ 500 The relative movement of the mouse 501 @param clippingSize 502 Mouse screen area in pixels (usually 1024x1024) 499 503 */ 500 504 void KeyBinder::mouseMoved(IntVector2 abs_, IntVector2 rel_, IntVector2 clippingSize) … … 551 555 /** 552 556 @brief Event handler for the mouseScrolled Event. 553 @param e Mouse state information 557 @param abs The absolute position of the scroll wheel 558 @param rel The relative movement of the scroll wheel 554 559 */ 555 560 void KeyBinder::mouseScrolled(int abs, int rel)
Note: See TracChangeset
for help on using the changeset viewer.