Changeset 11251 for code/branches/mac_HS16/src/external/ois/mac
- Timestamp:
- Oct 31, 2016, 11:22:34 AM (8 years ago)
- Location:
- code/branches/mac_HS16/src/external/ois/mac
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_HS16/src/external/ois/mac/MacInputManager.cpp
r8351 r11251 92 92 // else get the main active window.. user might not have access to it through some 93 93 // graphics libraries, if that fails then try at the application level. 94 mWindow = ActiveNonFloatingWindow();95 if(mWindow == NULL)96 {94 // mWindow = ActiveNonFloatingWindow(); 95 // if(mWindow == NULL) 96 // { 97 97 mEventTargetRef = GetApplicationEventTarget(); 98 }99 else100 {101 //mEventTargetRef = GetWindowEventTarget(mWindow);102 mEventTargetRef = GetApplicationEventTarget();103 }98 // } 99 // else 100 // { 101 // //mEventTargetRef = GetWindowEventTarget(mWindow); 102 // mEventTargetRef = GetApplicationEventTarget(); 103 // } 104 104 } 105 105 -
code/branches/mac_HS16/src/external/ois/mac/MacKeyboard.cpp
r8351 r11251 203 203 //get string size 204 204 UInt32 stringsize; 205 status = GetEventParameter(theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &stringsize, &text );205 status = 0;//GetEventParameter(theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &stringsize, &text ); 206 206 207 207 if(stringsize > 0) -
code/branches/mac_HS16/src/external/ois/mac/MacMouse.cpp
r5781 r11251 71 71 { 72 72 Rect clipRect = {0.0f, 0.0f, 0.0f, 0.0f}; 73 GetWindowBounds(win, kWindowContentRgn, &clipRect);73 // GetWindowBounds(win, kWindowContentRgn, &clipRect); 74 74 75 75 CGPoint warpPoint; … … 281 281 { 282 282 Rect clipRect = {0.0f, 0.0f, 0.0f, 0.0f}; 283 GetWindowBounds(win, kWindowContentRgn, &clipRect);284 283 // GetWindowBounds(win, kWindowContentRgn, &clipRect); 284 285 285 CGPoint warpPoint; 286 286 warpPoint.x = ((clipRect.right - clipRect.left) / 2) + clipRect.left;
Note: See TracChangeset
for help on using the changeset viewer.