mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Replace explicit Lua commands to toggle onscreen gui with a global property
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user