- bool _visibility;
- bool _mouseDown;
- int _mouseButton, _mouseX, _mouseY;
- mutable int _mouseDelay;
- FGPanelInstrument * _mouseInstrument;
- typedef vector<FGPanelInstrument *> instrument_list_type;
- int _x, _y, _w, _h;
- int _panel_h;
- ssgTexture * _bg;
+ void setupVirtualCockpit();
+ void cleanupVirtualCockpit();
+
+ mutable bool _mouseDown;
+ mutable int _mouseButton, _mouseX, _mouseY;
+ double _mouseActionRepeat;
+
+ mutable FGPanelInstrument * _mouseInstrument;
+ typedef std::vector<FGPanelInstrument *> instrument_list_type;
+ int _width;
+ int _height;
+ // int _view_height;
+
+ SGPropertyNode_ptr _x_offset;
+ SGPropertyNode_ptr _y_offset;
+ SGPropertyNode_ptr _jitter;
+ SGPropertyNode_ptr _flipx;
+
+ SGConstPropertyNode_ptr _xsize_node;
+ SGConstPropertyNode_ptr _ysize_node;
+
+ osg::ref_ptr<osg::StateSet> _bg;
+ osg::ref_ptr<osg::StateSet> _mbg[8];