//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
//
#ifndef _INST_WXRADAR_HXX
#define _INST_WXRADAR_HXX
+#include <osg/ref_ptr>
+#include <osg/Texture2D>
+
#include <simgear/props/props.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/environment/visual_enviro.hxx>
-class ssgTexture;
class FGODGauge;
class wxRadarBg : public SGSubsystem {
private:
- string name;
- int num;
+ string _name;
+ int _num;
SGPropertyNode_ptr _serviceable_node;
SGPropertyNode_ptr _Instrument;
- ssgTexture *resultTexture;
- ssgTexture *wxEcho;
+ osg::ref_ptr<osg::Texture2D> resultTexture;
+ osg::ref_ptr<osg::Texture2D> wxEcho;
string last_switchKnob;
bool sim_init_done;
FGODGauge *odg;