mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Merge branch 'master' into thesis/2019/camera-paths
# Conflicts: # src/navigation/navigationhandler.cpp
This commit is contained in:
@@ -53,6 +53,15 @@ struct Configuration {
|
||||
};
|
||||
std::map<std::string, std::string> fonts;
|
||||
|
||||
struct FontSizes {
|
||||
float frameInfo;
|
||||
float shutdown;
|
||||
float log;
|
||||
float cameraInfo;
|
||||
float versionInfo;
|
||||
};
|
||||
FontSizes fontSize;
|
||||
|
||||
struct Logging {
|
||||
std::string level = "Info";
|
||||
bool forceImmediateFlush = false;
|
||||
|
||||
@@ -125,7 +125,7 @@ private:
|
||||
bool _hasScheduledAssetLoading = false;
|
||||
std::string _scheduledAssetPathToLoad;
|
||||
|
||||
glm::vec2 _mousePosition;
|
||||
glm::vec2 _mousePosition = glm::vec2(0.f);
|
||||
|
||||
//grabs json from each module to pass to the documentation engine.
|
||||
std::string _documentationJson;
|
||||
|
||||
@@ -130,6 +130,7 @@ inline std::string to_string(
|
||||
case T::OrbitY: return "Orbit Y";
|
||||
case T::ZoomIn: return "Zoom In";
|
||||
case T::ZoomOut: return "Zoom Out";
|
||||
case T::Zoom: return "Zoom In and Out";
|
||||
case T::LocalRollX: return "LocalRoll X";
|
||||
case T::LocalRollY: return "LocalRoll Y";
|
||||
case T::GlobalRollX: return "GlobalRoll X";
|
||||
@@ -149,9 +150,9 @@ from_string(std::string_view string)
|
||||
if (string == "None") { return T::None; }
|
||||
if (string == "Orbit X") { return T::OrbitX; }
|
||||
if (string == "Orbit Y") { return T::OrbitY; }
|
||||
if (string == "Zoom") { return T::Zoom; }
|
||||
if (string == "Zoom In") { return T::ZoomIn; }
|
||||
if (string == "Zoom Out") { return T::ZoomOut; }
|
||||
if (string == "Zoom") { return T::Zoom; }
|
||||
if (string == "LocalRoll X") { return T::LocalRollX; }
|
||||
if (string == "LocalRoll Y") { return T::LocalRollY; }
|
||||
if (string == "GlobalRoll X") { return T::GlobalRollX; }
|
||||
|
||||
@@ -233,8 +233,9 @@ private:
|
||||
std::vector<ghoul::opengl::ProgramObject*> _programs;
|
||||
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontFrameInfo;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontInfo;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontDate;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontCameraInfo;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontVersionInfo;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontShutdown;
|
||||
std::shared_ptr<ghoul::fontrendering::Font> _fontLog;
|
||||
|
||||
struct {
|
||||
|
||||
@@ -125,7 +125,6 @@ private:
|
||||
// Logging variables
|
||||
bool _logFileExists = false;
|
||||
bool _logScripts = true;
|
||||
std::string _logType;
|
||||
std::string _logFilename;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user