Replace explicit Lua commands to toggle onscreen gui with a global property

This commit is contained in:
Alexander Bock
2016-11-22 09:49:22 +01:00
parent ceac5db8c5
commit f711e192fb
17 changed files with 73 additions and 41 deletions

View File

@@ -24,10 +24,16 @@
#include <modules/onscreengui/onscreenguimodule.h>
#include <modules/onscreengui/include/gui.h>
#include <openspace/engine/openspaceengine.h>
namespace openspace {
OnScreenGUIModule::OnScreenGUIModule()
: OpenSpaceModule("OnScreenGUI")
{}
{
addPropertySubOwner(OsEng.gui());
}
} // namespace openspace