- FGSwitchLayer (int w, int h, const SGPropertyNode * node,
- FGInstrumentLayer * layer1,
- FGInstrumentLayer * layer2);
- virtual ~FGSwitchLayer ();
-
- virtual void draw ();
-
-private:
- const SGPropertyNode * _node;
- FGInstrumentLayer * _layer1, * _layer2;
-};
-
-
-
-\f
-////////////////////////////////////////////////////////////////////////
-// Functions.
-////////////////////////////////////////////////////////////////////////
-
-/**
- * Test whether the panel should be visible.
- */
-bool fgPanelVisible ();
-
-
-\f
-////////////////////////////////////////////////////////////////////////
-// The current panel, if any.
-////////////////////////////////////////////////////////////////////////
-
-extern FGPanel * current_panel; // TODO: move to globals