+#if !defined (FG_HAVE_NATIVE_SGI_COMPILERS)
+FG_USING_STD(istream);
+FG_USING_STD(ifstream);
+#endif
+FG_USING_STD(string);
+
+
+\f
+////////////////////////////////////////////////////////////////////////
+// Default panel, instrument, and layer for when things go wrong...
+////////////////////////////////////////////////////////////////////////
+
+static FGCroppedTexture defaultTexture("Textures/default.rgb");
+
+
+/**
+ * Default layer: the default texture.
+ */
+class DefaultLayer : public FGTexturedLayer
+{
+public:
+ DefaultLayer () : FGTexturedLayer(defaultTexture)
+ {
+ }
+
+};
+
+/**
+ * Default instrument: a single default layer.
+ */
+class DefaultInstrument : public FGLayeredInstrument
+{
+public:
+ DefaultInstrument (int x, int y, int w, int h)
+ : FGLayeredInstrument(x, y, w, h)
+ {
+ addLayer(new DefaultLayer());
+ }
+};
+
+
+/**
+ * Default panel: the default texture.
+ */
+class DefaultPanel : public FGPanel
+{
+public:
+ DefaultPanel (int x, int y, int w, int h) : FGPanel(x, y, w, h)
+ {
+ setBackground(defaultTexture.getTexture());
+ }
+};