Reverted changes from Vivien Delage as there were some regressions discovered. Will need to revist this code to deal with bugs that Vivien was tackling.
This commit is contained in:
@@ -135,8 +135,7 @@ class OSGVIEWER_EXPORT GraphicsWindowWin32 : public osgViewer::GraphicsWindow, p
|
||||
|
||||
bool setPixelFormat();
|
||||
|
||||
// return true if it handled the key, otherwise return false so that we know it is WM_CHAR job to handle it
|
||||
bool adaptKey( WPARAM wParam, LPARAM lParam, int& keySymbol, unsigned int& modifierMask );
|
||||
void adaptKey( WPARAM wParam, LPARAM lParam, int& keySymbol, unsigned int& modifierMask );
|
||||
|
||||
void transformMouseXY(float& x, float& y);
|
||||
|
||||
@@ -180,9 +179,6 @@ class OSGVIEWER_EXPORT GraphicsWindowWin32 : public osgViewer::GraphicsWindow, p
|
||||
std::map<MouseCursor,HCURSOR> _mouseCursorMap;
|
||||
|
||||
std::map<int, bool> _keyMap;
|
||||
bool _keypresshandled;
|
||||
int _lastkeysymbol;
|
||||
std::map<int, int> _scancode_unicode_Map;
|
||||
|
||||
bool _applyWorkaroundForMultimonitorMultithreadNVidiaWin32Issues;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user