mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-13 23:40:27 -06:00
Added ScreenLog
- Added first version of a ScreenLog mechanism - Moved the info box to the upper left corner - Added Ubuntu fonts - Made RenderEngine a PropertyOwner with _showInfo and _showScreenLog as bool properties that can be edited through Lua.
This commit is contained in:
@@ -330,6 +330,11 @@ bool OpenSpaceEngine::initialize() {
|
||||
_engine->scriptEngine().runScriptFile(absoluteScriptPath);
|
||||
}
|
||||
|
||||
// Load a light and a monospaced font
|
||||
sgct_text::FontManager::instance()->setDefaultFontPath(absPath("${FONTS}/"));
|
||||
sgct_text::FontManager::instance()->addFont(constants::fonts::keyMono, "ubuntu-font-family/UbuntuMono-R.ttf");
|
||||
sgct_text::FontManager::instance()->addFont(constants::fonts::keyLight, "ubuntu-font-family/Ubuntu-L.ttf");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user