Changeset 10417
- Timestamp:
- 06/25/09 18:12:58 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgViewer
- Files:
-
- 2 modified
-
DarwinUtils.mm (modified) (2 diffs)
-
GraphicsWindowCocoa.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm
r10340 r10417 146 146 } 147 147 else 148 i = _list.erase(i);148 i = _list.erase(i); 149 149 } 150 150 … … 183 183 error = SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar); 184 184 } 185 else185 if (!windowsCoveringMenubarArea && !_menubarShown) 186 186 { 187 187 error = SetSystemUIMode(kUIModeNormal, 0); -
OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowCocoa.mm
r10340 r10417 20 20 #include "DarwinUtils.h" 21 21 22 #define DEBUG_OUT(s) std::cout << "GraphicsWindowCocoa :: " << s << std::endl;23 24 //#define DEBUG_OUT(s) ;22 //#define DEBUG_OUT(s) std::cout << "GraphicsWindowCocoa :: " << s << std::endl; 23 24 #define DEBUG_OUT(s) ; 25 25 26 26 static bool s_quit_requested = false; … … 44 44 { 45 45 _keymap[27] = osgGA::GUIEventAdapter::KEY_Escape; 46 _keymap[13] = osgGA::GUIEventAdapter::KEY_ KP_Enter;47 _keymap[3] = osgGA::GUIEventAdapter::KEY_ Return;46 _keymap[13] = osgGA::GUIEventAdapter::KEY_Return; 47 _keymap[3] = osgGA::GUIEventAdapter::KEY_KP_Enter; 48 48 _keymap[9] = osgGA::GUIEventAdapter::KEY_Tab; 49 49 _keymap[32] = osgGA::GUIEventAdapter::KEY_Space;
