osgViewer::WindowSizeHandler Class Reference
Event handler allowing to change the screen resolution (in windowed mode) and toggle between fullscreen and windowed mode.
More...
List of all members.
Detailed Description
Event handler allowing to change the screen resolution (in windowed mode) and toggle between fullscreen and windowed mode.
Constructor & Destructor Documentation
osgViewer::WindowSizeHandler::WindowSizeHandler |
( |
|
) |
|
Member Function Documentation
void osgViewer::WindowSizeHandler::changeWindowedResolution |
( |
osgViewer::GraphicsWindow * |
window, |
|
|
bool |
increase | |
|
) |
| | [protected] |
bool osgViewer::WindowSizeHandler::getChangeWindowedResolution |
( |
|
) |
const [inline] |
int osgViewer::WindowSizeHandler::getKeyEventToggleFullscreen |
( |
|
) |
const [inline] |
int osgViewer::WindowSizeHandler::getKeyEventWindowedResolutionDown |
( |
|
) |
const [inline] |
int osgViewer::WindowSizeHandler::getKeyEventWindowedResolutionUp |
( |
|
) |
const [inline] |
unsigned int osgViewer::WindowSizeHandler::getNearestResolution |
( |
int |
screenWidth, |
|
|
int |
screenHeight, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | const [protected] |
bool osgViewer::WindowSizeHandler::getToggleFullscreen |
( |
|
) |
const [inline] |
Deprecated, Handle events, return true if handled, false otherwise.
Reimplemented from osgGA::GUIEventHandler.
void osgViewer::WindowSizeHandler::setChangeWindowedResolution |
( |
bool |
flag |
) |
[inline] |
void osgViewer::WindowSizeHandler::setKeyEventToggleFullscreen |
( |
int |
key |
) |
[inline] |
void osgViewer::WindowSizeHandler::setKeyEventWindowedResolutionDown |
( |
int |
key |
) |
[inline] |
void osgViewer::WindowSizeHandler::setKeyEventWindowedResolutionUp |
( |
int |
key |
) |
[inline] |
void osgViewer::WindowSizeHandler::setToggleFullscreen |
( |
bool |
flag |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: