From 982f145bb7cee230a1bd1a9665ac38d63a1ce95a Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 20 Jun 2001 20:51:34 +0000 Subject: [PATCH] - changed to no-value constructor for FGPanel - removed update method with args --- src/Cockpit/panel.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Cockpit/panel.hxx b/src/Cockpit/panel.hxx index b46693b4a..54276f62f 100644 --- a/src/Cockpit/panel.hxx +++ b/src/Cockpit/panel.hxx @@ -125,7 +125,7 @@ class FGPanel : public FGSubsystem { public: - FGPanel (int window_x, int window_y, int window_w, int window_h); + FGPanel (); virtual ~FGPanel (); // Update the panel (every frame). @@ -133,7 +133,6 @@ public: virtual void bind (); virtual void unbind (); virtual void update (); - virtual void update (GLfloat winx, GLfloat winw, GLfloat winy, GLfloat winh); // transfer pointer ownership!!! virtual void addInstrument (FGPanelInstrument * instrument); @@ -175,13 +174,15 @@ private: mutable int _mouseDelay; mutable FGPanelInstrument * _mouseInstrument; typedef vector instrument_list_type; - int _winx, _winy, _winw, _winh; int _width; int _height; int _x_offset; int _y_offset; int _view_height; bool _bound; + + const SGPropertyNode * _xsize_node; + const SGPropertyNode * _ysize_node; ssgTexture * _bg; // List of instruments in panel.