mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-07 21:08:33 -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:
@@ -33,12 +33,15 @@
|
||||
#include <string>
|
||||
|
||||
#include <openspace/abuffer/abuffer.h>
|
||||
#include <openspace/util/screenlog.h>
|
||||
#include <openspace/properties/propertyowner.h>
|
||||
#include <openspace/properties/scalarproperty.h>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
class Camera;
|
||||
|
||||
class RenderEngine {
|
||||
class RenderEngine: public properties::PropertyOwner {
|
||||
public:
|
||||
RenderEngine();
|
||||
~RenderEngine();
|
||||
@@ -74,6 +77,11 @@ private:
|
||||
Camera* _mainCamera;
|
||||
SceneGraph* _sceneGraph;
|
||||
ABuffer* _abuffer;
|
||||
ScreenLog* _log;
|
||||
|
||||
properties::BoolProperty _showInfo;
|
||||
properties::BoolProperty _showScreenLog;
|
||||
|
||||
|
||||
void generateGlslConfig();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user