Changeset 10208 for OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h
- Timestamp:
- 05/14/09 17:34:15 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h
r9895 r10208 79 79 80 80 virtual void enumerateScreenSettings(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, osg::GraphicsContext::ScreenSettingsList & resolutionList); 81 82 virtual bool setScreenSettings (const osg::GraphicsContext::ScreenIdentifier & si, const osg::GraphicsContext::ScreenSettings & settings); 81 83 82 84 /** return the top left coord of a specific screen in global screen space */ 83 85 void getScreenTopLeft(const osg::GraphicsContext::ScreenIdentifier& si, int& x, int& y); 84 86 85 /** implementation of setScreenResolution */ 86 virtual bool setScreenResolution(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, unsigned int width, unsigned int height) ; 87 88 /** implementation of setScreenRefreshRate */ 89 virtual bool setScreenRefreshRate(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, double refreshRate); 90 87 91 88 92 89 /** returns screen-ndx containing rect x,y,w,h */ … … 94 91 95 92 protected: 93 94 /** implementation of setScreenResolution */ 95 bool setScreenResolutionImpl(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, unsigned int width, unsigned int height) ; 96 97 /** implementation of setScreenRefreshRate */ 98 bool setScreenRefreshRateImpl(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, double refreshRate); 99 96 100 97 101 template<class PixelBufferImplementation, class GraphicsWindowImplementation>
