From: mfranz Date: Wed, 9 Jul 2008 12:22:33 +0000 (+0000) Subject: remove depreciated gui_local.[ch]xx: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f571a0f007a8ecf7f220cae16c9971e86fc678a;p=flightgear.git remove depreciated gui_local.[ch]xx: - drop unused parts (MouseQuat/GuiQuat) - move "old-reinit-dialog" fgcommand to fg_command.cxx under new name "reset" for now. (May later get merged with fgcommand "reinit".) - move reInit() to fg_init.cxx: This was used by Shift-Esc and Menu->File-Reset (via fgcommand "old-reinit-dialog"). We have already a similar function fgReInitSubsystems() in fg_init.cxx, so these two functions will probably get merged later.) --- diff --git a/src/GUI/Makefile.am b/src/GUI/Makefile.am index 960580cf4..92bc5de7a 100644 --- a/src/GUI/Makefile.am +++ b/src/GUI/Makefile.am @@ -6,7 +6,6 @@ libGUI_a_SOURCES = \ dialog.cxx dialog.hxx \ menubar.cxx menubar.hxx \ gui.cxx gui.h gui_funcs.cxx \ - gui_local.cxx gui_local.hxx \ mouse.cxx fonts.cxx \ trackball.c trackball.h \ AirportList.cxx AirportList.hxx \ diff --git a/src/GUI/README b/src/GUI/README index 5486ea1f5..ed947748c 100644 --- a/src/GUI/README +++ b/src/GUI/README @@ -9,7 +9,6 @@ Files: dialog.[ch]xx XML-configurable dialog box. gui.cxx, gui.h Top-level GUI functions (deprecated). gui_funcs.cxx Implementation of internal GUI functions (deprecated). -gui_local.[ch]xx More internal GUI functions (deprecated). menubar.[ch]xx XML-configurable menu bar. mouse.cxx Old GUI mouse support (deprecated). new_gui.[ch]xx Top-level for the GUI subsystem. diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index 69b172d1b..3675fb6d8 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -51,7 +51,6 @@ #include #include "gui.h" -#include "gui_local.hxx" #include "layout.hxx" using namespace osg; @@ -133,7 +132,6 @@ bool guiFinishInit() return false; if (!initOp->isFinished()) return false; - initMouseQuat(); initOp = 0; return true; } diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index dae131cde..2c96b0e31 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -88,7 +88,6 @@ #endif #include "gui.h" -#include "gui_local.hxx" SG_USING_STD(string); SG_USING_STD(cout); diff --git a/src/GUI/gui_local.cxx b/src/GUI/gui_local.cxx deleted file mode 100644 index 8cf345837..000000000 --- a/src/GUI/gui_local.cxx +++ /dev/null @@ -1,95 +0,0 @@ -#ifdef HAVE_CONFIG_H -# include -#endif - -#ifdef HAVE_WINDOWS_H -# include -#endif - -#include // plib include - -#include - -#include
-#include
-#include
-#include
-#include -#include