]> git.mxchange.org Git - flightgear.git/blobdiff - src/Canvas/window.hxx
VoiceSynthesizer: add some test/debug properties
[flightgear.git] / src / Canvas / window.hxx
index 23c483522cb48694893f8cd81c4e6958c5fd08fd..da99b60708db71d3fa216da3c5c285739afc7110 100644 (file)
@@ -48,6 +48,16 @@ namespace canvas
 
       typedef simgear::canvas::Style Style;
 
+      /**
+       * @param node    Property node containing settings for this window:
+       *                  capture-events    Disable/Enable event capturing
+       *                  content-size[0-1] Size of content area (excluding
+       *                                    decoration border)
+       *                  decoration-border Size of decoration border
+       *                  resize            Enable resize cursor and properties
+       *                  shadow-inset      Inset of shadow image
+       *                  shadow-radius     Radius/outset of shadow image
+       */
       Window( const simgear::canvas::CanvasWeakPtr& canvas,
               const SGPropertyNode_ptr& node,
               const Style& parent_style = Style(),
@@ -76,7 +86,8 @@ namespace canvas
        */
       void raise();
 
-      void handleResize(uint8_t mode, const osg::Vec2f& delta = osg::Vec2f());
+      void handleResize( uint8_t mode,
+                         const osg::Vec2f& offset = osg::Vec2f() );
 
     protected: