osgViewer::WindowSizeHandler::WindowSizeHandler | ( | ) |
virtual void osgViewer::WindowSizeHandler::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [virtual] |
void osgViewer::WindowSizeHandler::setKeyEventToggleFullscreen | ( | int | key | ) | [inline] |
int osgViewer::WindowSizeHandler::getKeyEventToggleFullscreen | ( | ) | const [inline] |
void osgViewer::WindowSizeHandler::setToggleFullscreen | ( | bool | flag | ) | [inline] |
bool osgViewer::WindowSizeHandler::getToggleFullscreen | ( | ) | const [inline] |
void osgViewer::WindowSizeHandler::setKeyEventWindowedResolutionUp | ( | int | key | ) | [inline] |
int osgViewer::WindowSizeHandler::getKeyEventWindowedResolutionUp | ( | ) | const [inline] |
void osgViewer::WindowSizeHandler::setKeyEventWindowedResolutionDown | ( | int | key | ) | [inline] |
int osgViewer::WindowSizeHandler::getKeyEventWindowedResolutionDown | ( | ) | const [inline] |
void osgViewer::WindowSizeHandler::setChangeWindowedResolution | ( | bool | flag | ) | [inline] |
bool osgViewer::WindowSizeHandler::getChangeWindowedResolution | ( | ) | const [inline] |
virtual bool osgViewer::WindowSizeHandler::handle | ( | const osgGA::GUIEventAdapter & | , | |
osgGA::GUIActionAdapter & | ||||
) | [virtual] |
Deprecated, Handle events, return true if handled, false otherwise.
Reimplemented from osgGA::GUIEventHandler.
void osgViewer::WindowSizeHandler::toggleFullscreen | ( | osgViewer::GraphicsWindow * | window | ) | [protected] |
void osgViewer::WindowSizeHandler::changeWindowedResolution | ( | osgViewer::GraphicsWindow * | window, | |
bool | increase | |||
) | [protected] |
unsigned int osgViewer::WindowSizeHandler::getNearestResolution | ( | int | screenWidth, | |
int | screenHeight, | |||
int | width, | |||
int | height | |||
) | const [protected] |
int osgViewer::WindowSizeHandler::_keyEventToggleFullscreen [protected] |
bool osgViewer::WindowSizeHandler::_toggleFullscreen [protected] |
int osgViewer::WindowSizeHandler::_keyEventWindowedResolutionUp [protected] |
int osgViewer::WindowSizeHandler::_keyEventWindowedResolutionDown [protected] |
bool osgViewer::WindowSizeHandler::_changeWindowedResolution [protected] |
std::vector<osg::Vec2> osgViewer::WindowSizeHandler::_resolutionList [protected] |
int osgViewer::WindowSizeHandler::_currentResolutionIndex [protected] |