X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_os.hxx;h=62f6f8f7ddc89029b73432fa4af5733f4c47896e;hb=7cde2e800bccd4883f03eceb5283add24755b377;hp=c12e79b7bd0d9aa27d4a662139a5c7ff18ce65ad;hpb=580ebf637b991bbc5bb6b9632e8e62845d23ea43;p=flightgear.git diff --git a/src/Main/fg_os.hxx b/src/Main/fg_os.hxx index c12e79b7b..62f6f8f7d 100644 --- a/src/Main/fg_os.hxx +++ b/src/Main/fg_os.hxx @@ -24,7 +24,16 @@ enum { MOUSE_CURSOR_NONE, MOUSE_CURSOR_POINTER, MOUSE_CURSOR_WAIT, MOUSE_CURSOR_CROSSHAIR, - MOUSE_CURSOR_LEFTRIGHT }; + MOUSE_CURSOR_LEFTRIGHT, + MOUSE_CURSOR_TOPSIDE, + MOUSE_CURSOR_BOTTOMSIDE, + MOUSE_CURSOR_LEFTSIDE, + MOUSE_CURSOR_RIGHTSIDE, + MOUSE_CURSOR_TOPLEFT, + MOUSE_CURSOR_TOPRIGHT, + MOUSE_CURSOR_BOTTOMLEFT, + MOUSE_CURSOR_BOTTOMRIGHT, +}; enum { KEYMOD_NONE = 0, KEYMOD_RELEASED = 1, // Not a mod key, indicates "up" action @@ -84,18 +93,4 @@ void fgRegisterWindowResizeHandler(fgWindowResizeHandler func); void fgRegisterKeyHandler(fgKeyHandler func); void fgRegisterMouseClickHandler(fgMouseClickHandler func); void fgRegisterMouseMotionHandler(fgMouseMotionHandler func); - -bool fgOSIsMainCamera(const osg::Camera* camera); -bool fgOSIsMainContext(const osg::GraphicsContext* context); - -/** Get graphics context of the main camera. This is the principal - * window in multi-window configurations, or the only window in an - * embedded configuration. The GUI will be added to this context. - */ -osg::GraphicsContext* fgOSGetMainContext(); - - - - - #endif // _FG_OS_HXX