mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-25 21:48:57 -05:00
Add the ability to specify RenderEngine font sizes in the configuration file (closes #1653)
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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user