canvas::Layout: support for hiding items.

This commit is contained in:
Thomas Geymayer
2014-07-21 00:25:59 +02:00
parent e71d6b24d7
commit 557e4f75b5
12 changed files with 263 additions and 20 deletions
+2 -2
View File
@@ -128,12 +128,12 @@ namespace canvas
/**
* Set visibility of the element.
*/
void setVisible(bool visible);
virtual void setVisible(bool visible);
/**
* Get whether the element is visible or hidden.
*/
bool isVisible() const;
virtual bool isVisible() const;
osg::MatrixTransform* getMatrixTransform();
osg::MatrixTransform const* getMatrixTransform() const;