]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/dialog.hxx
Melchior FRANZ:
[flightgear.git] / src / GUI / dialog.hxx
index 2cb6f4ed16365ff4940c64368117d909991f97a9..ef53d3de9408a35e387324a2e2681b8d33ecb048 100644 (file)
@@ -91,6 +91,11 @@ public:
     virtual void applyValues ();
 
 
+    /**
+     * Update state.  Called on active dialogs before rendering.
+     */
+    virtual void update ();
+
 private:
 
     // Private copy constructor to avoid unpleasant surprises.
@@ -127,6 +132,7 @@ private:
         SGPropertyNode_ptr node;
     };
     vector<PropertyObject *> _propertyObjects;
+    vector<PropertyObject *> _liveObjects;
 
     // PUI doesn't copy arrays, so we have to allocate string arrays
     // and then keep pointers so that we can delete them when the
@@ -149,6 +155,7 @@ class fgPopup : public puPopup {
 public:
     fgPopup(int x, int y) : puPopup(x, y) { _dragging = false; }
     int checkHit(int b, int up, int x, int y);
+    int getHitObjects(puObject *, int x, int y);
 private:
     bool _dragging;
     int _dX, _dY;