#include <gui_mgr.hxx>
Inherits SGSubsystem.
|
| | GUIMgr () |
| |
| void | init () override |
| |
| void | shutdown () override |
| |
| void | update (double dt) override |
| |
| simgear::canvas::WindowPtr | createWindow (const std::string &name="") |
| |
| simgear::canvas::GroupPtr | getDesktop () |
| | Get simgear::canvas::Group containing all windows.
|
| |
| void | setInputFocus (const simgear::canvas::WindowPtr &window) |
| | Set the input (keyboard) focus to the given window.
|
| |
| bool | grabPointer (const simgear::canvas::WindowPtr &window) |
| | Grabs the pointer so that all events are passed to this window until the pointer is ungrabbed with ungrabPointer().
|
| |
| void | ungrabPointer (const simgear::canvas::WindowPtr &window) |
| | Releases the grab acquired for this window with grabPointer().
|
| |
| void | setGUIViewAndCamera (osgViewer::View *view, osg::Camera *cam) |
| | specify the osgViewer::View and Camera
|
| |
|
| simgear::canvas::Placements | addWindowPlacement (SGPropertyNode *placement, simgear::canvas::CanvasPtr canvas) |
| |
Definition at line 40 of file gui_mgr.hxx.
◆ GUIMgr()
◆ addWindowPlacement()
| sc::Placements GUIMgr::addWindowPlacement |
( |
SGPropertyNode * | placement, |
|
|
simgear::canvas::CanvasPtr | canvas ) |
|
protected |
◆ createWindow()
| sc::WindowPtr GUIMgr::createWindow |
( |
const std::string & | name = "" | ) |
|
◆ getDesktop()
| sc::GroupPtr GUIMgr::getDesktop |
( |
| ) |
|
Get simgear::canvas::Group containing all windows.
Definition at line 739 of file gui_mgr.cxx.
◆ grabPointer()
| bool GUIMgr::grabPointer |
( |
const simgear::canvas::WindowPtr & | window | ) |
|
Grabs the pointer so that all events are passed to this window until the pointer is ungrabbed with ungrabPointer().
Definition at line 751 of file gui_mgr.cxx.
◆ init()
◆ setGUIViewAndCamera()
| void GUIMgr::setGUIViewAndCamera |
( |
osgViewer::View * | view, |
|
|
osg::Camera * | cam ) |
specify the osgViewer::View and Camera
Definition at line 650 of file gui_mgr.cxx.
◆ setInputFocus()
| void GUIMgr::setInputFocus |
( |
const simgear::canvas::WindowPtr & | window | ) |
|
Set the input (keyboard) focus to the given window.
Definition at line 745 of file gui_mgr.cxx.
◆ shutdown()
| void GUIMgr::shutdown |
( |
| ) |
|
|
override |
◆ staticSubsystemClassId()
| static const char * GUIMgr::staticSubsystemClassId |
( |
| ) |
|
|
inlinestatic |
◆ ungrabPointer()
| void GUIMgr::ungrabPointer |
( |
const simgear::canvas::WindowPtr & | window | ) |
|
◆ update()
| void GUIMgr::update |
( |
double | dt | ) |
|
|
override |
◆ _camera
| osg::ref_ptr<osg::Camera> GUIMgr::_camera |
|
protected |
◆ _desktop
| simgear::canvas::GroupPtr GUIMgr::_desktop |
|
protected |
◆ _event_handler
◆ _viewerView
| osg::ref_ptr<osgViewer::View> GUIMgr::_viewerView |
|
protected |
The documentation for this class was generated from the following files: