]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/ODGauge.hxx
Canvas::Text: add line-height property.
[simgear.git] / simgear / canvas / ODGauge.hxx
index fc3d8b770d1c41204ed93f142f6e19479242348b..825b603bca7e4b959400af9b1a33fa755a6bcbba 100644 (file)
@@ -71,6 +71,8 @@ namespace canvas
        */
       void setViewSize(int width, int height = -1);
 
+      osg::Vec2s getViewSize() const;
+
       /**
        * DEPRECATED
        *
@@ -118,7 +120,7 @@ namespace canvas
        * Say if we can render to a texture.
        * @return true if rtt is available
        */
-      bool serviceable(void);
+      bool serviceable() const;
 
       /**
        * Get the OSG camera for drawing this gauge.