osg::GraphicsContext::WindowingSystemInterface Struct Reference

Inheritance diagram for osg::GraphicsContext::WindowingSystemInterface:

osg::Referenced

List of all members.

Public Member Functions

virtual unsigned int getNumScreens (const ScreenIdentifier &screenIdentifier=ScreenIdentifier())=0
virtual void getScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettings &resolution)=0
virtual bool setScreenSettings (const ScreenIdentifier &, const ScreenSettings &)
virtual void enumerateScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettingsList &resolutionList)=0
virtual GraphicsContextcreateGraphicsContext (Traits *traits)=0
virtual ~WindowingSystemInterface ()
void getScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int &width, unsigned int &height)
bool setScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int width, unsigned int height)
bool setScreenRefreshRate (const ScreenIdentifier &screenIdentifier, double refreshRate)


Detailed Description

Callback to be implemented to provide access to Windowing API's ability to create Windows/pbuffers.

Constructor & Destructor Documentation

virtual osg::GraphicsContext::WindowingSystemInterface::~WindowingSystemInterface (  )  [inline, virtual]


Member Function Documentation

virtual unsigned int osg::GraphicsContext::WindowingSystemInterface::getNumScreens ( const ScreenIdentifier screenIdentifier = ScreenIdentifier()  )  [pure virtual]

virtual void osg::GraphicsContext::WindowingSystemInterface::getScreenSettings ( const ScreenIdentifier screenIdentifier,
ScreenSettings resolution 
) [pure virtual]

virtual bool osg::GraphicsContext::WindowingSystemInterface::setScreenSettings ( const ScreenIdentifier ,
const ScreenSettings  
) [inline, virtual]

virtual void osg::GraphicsContext::WindowingSystemInterface::enumerateScreenSettings ( const ScreenIdentifier screenIdentifier,
ScreenSettingsList resolutionList 
) [pure virtual]

virtual GraphicsContext* osg::GraphicsContext::WindowingSystemInterface::createGraphicsContext ( Traits traits  )  [pure virtual]

void osg::GraphicsContext::WindowingSystemInterface::getScreenResolution ( const ScreenIdentifier screenIdentifier,
unsigned int &  width,
unsigned int &  height 
) [inline]

Gets screen resolution without using the ScreenResolution structure.

Deprecated:
Provided only for backward compatibility.

References osg::GraphicsContext::ScreenSettings::height, and osg::GraphicsContext::ScreenSettings::width.

bool osg::GraphicsContext::WindowingSystemInterface::setScreenResolution ( const ScreenIdentifier screenIdentifier,
unsigned int  width,
unsigned int  height 
) [inline]

Sets screen resolution without using the ScreenSettings structure.

Deprecated:
Provided only for backward compatibility.

bool osg::GraphicsContext::WindowingSystemInterface::setScreenRefreshRate ( const ScreenIdentifier screenIdentifier,
double  refreshRate 
) [inline]

Deprecated:
Provided only for backward compatibility.

References osg::GraphicsContext::ScreenSettings::refreshRate.


The documentation for this struct was generated from the following file:

Generated on Sat Mar 20 12:33:57 2010 for openscenegraph by  doxygen 1.5.6