Add visibility setting to the property classes (closing #166)

This commit is contained in:
Alexander Bock
2016-11-23 23:24:07 +01:00
parent 357a447435
commit 7ffcf81235
17 changed files with 200 additions and 84 deletions
+7
View File
@@ -33,6 +33,7 @@
#include <modules/onscreengui/include/guitimecomponent.h>
#include <modules/onscreengui/include/guiiswacomponent.h>
#include <openspace/scripting/scriptengine.h>
#include <openspace/properties/property.h>
#include <openspace/util/keys.h>
#include <openspace/util/mouse.h>
@@ -70,6 +71,12 @@ public:
GuiPropertyComponent _screenSpaceProperty;
GuiTimeComponent _time;
GuiIswaComponent _iswa;
private:
void renderAndUpdatePropertyVisibility();
properties::Property::Visibility _currentVisibility;
};
} // namespace gui