FlightGear next
|
A window with a graphics context and an integer ID. More...
#include <WindowSystemAdapter.hxx>
Inherits osg::Referenced.
Public Types | |
enum | Flags { GUI = 1 } |
Public Member Functions | |
GraphicsWindow (osg::GraphicsContext *gc_, const std::string &name_, int id_, unsigned flags_=0) | |
Public Attributes | |
osg::ref_ptr< osg::GraphicsContext > | gc |
The OSG graphics context for this window. | |
std::string | name |
The window's internal name. | |
int | id |
A unique ID for the window. | |
unsigned | flags |
Flags for the window. | |
A window with a graphics context and an integer ID.
Definition at line 40 of file WindowSystemAdapter.hxx.
Enumerator | |
---|---|
GUI | The GUI (and 2D cockpit) will be drawn on this window. |
Definition at line 57 of file WindowSystemAdapter.hxx.
|
inline |
Definition at line 43 of file WindowSystemAdapter.hxx.
unsigned flightgear::GraphicsWindow::flags |
Flags for the window.
Definition at line 62 of file WindowSystemAdapter.hxx.
osg::ref_ptr<osg::GraphicsContext> flightgear::GraphicsWindow::gc |
The OSG graphics context for this window.
Definition at line 50 of file WindowSystemAdapter.hxx.
int flightgear::GraphicsWindow::id |
A unique ID for the window.
Definition at line 56 of file WindowSystemAdapter.hxx.
std::string flightgear::GraphicsWindow::name |
The window's internal name.
Definition at line 53 of file WindowSystemAdapter.hxx.