FlightGear next
gui_mgr.cxx File Reference
#include "gui_mgr.hxx"
#include <Main/fg_os.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <simgear/canvas/Canvas.hxx>
#include <simgear/canvas/CanvasPlacement.hxx>
#include <simgear/canvas/CanvasWindow.hxx>
#include <simgear/canvas/events/KeyboardEvent.hxx>
#include <simgear/scene/util/OsgMath.hxx>
#include <osg/BlendFunc>
#include <osgViewer/Viewer>
#include <osgViewer/View>
#include <osgGA/GUIEventHandler>

Go to the source code of this file.

Classes

class  GUIEventHandler
 Event handler. More...
 
class  WindowPlacement
 Track a canvas placement on a window. More...
 
class  DesktopGroup
 Desktop root group. More...
 

Typedefs

typedef SGSharedPtr< DesktopGroupDesktopPtr
 
typedef SGWeakPtr< DesktopGroupDesktopWeakPtr
 
using osgEA = osgGA::GUIEventAdapter
 

Functions

SGSubsystemMgr::Registrant< GUIMgrregistrantGUIMgr (SGSubsystemMgr::DISPLAY, { {"viewer", SGSubsystemMgr::Dependency::HARD}, })
 

Variables

const float RESIZE_MARGIN_POS = 12
 
const float RESIZE_MARGIN_NEG = 2
 
const float RESIZE_CORNER = 20
 

Typedef Documentation

◆ DesktopPtr

typedef SGSharedPtr<DesktopGroup> DesktopPtr

Definition at line 37 of file gui_mgr.cxx.

◆ DesktopWeakPtr

typedef SGWeakPtr<DesktopGroup> DesktopWeakPtr

Definition at line 38 of file gui_mgr.cxx.

◆ osgEA

using osgEA = osgGA::GUIEventAdapter

Definition at line 41 of file gui_mgr.cxx.

Function Documentation

◆ registrantGUIMgr()

SGSubsystemMgr::Registrant< GUIMgr > registrantGUIMgr ( SGSubsystemMgr::DISPLAY ,
{ {"viewer", SGSubsystemMgr::Dependency::HARD}, }  )

Variable Documentation

◆ RESIZE_CORNER

const float RESIZE_CORNER = 20

Definition at line 60 of file gui_mgr.cxx.

◆ RESIZE_MARGIN_NEG

const float RESIZE_MARGIN_NEG = 2

Definition at line 59 of file gui_mgr.cxx.

◆ RESIZE_MARGIN_POS

const float RESIZE_MARGIN_POS = 12

Definition at line 58 of file gui_mgr.cxx.