Add the ability to scale th statistics graphs

This commit is contained in:
Alexander Bock
2024-06-26 21:12:09 -04:00
parent fcba068aca
commit 78e7c7e321
5 changed files with 25 additions and 1 deletions

View File

@@ -124,6 +124,8 @@ struct WindowDelegate {
glm::vec2 (*mousePositionViewportRelative)(const glm::vec2& mousePosition) =
[](const glm::vec2&) { return glm::vec2(0); };
void (*setStatisticsGraphScale)(float scale) = [](float) {};
};
} // namespace openspace

View File

@@ -187,6 +187,7 @@ private:
properties::IntListProperty _screenshotWindowIds;
properties::BoolProperty _applyWarping;
properties::BoolProperty _showStatistics;
properties::FloatProperty _statisticsScale;
properties::BoolProperty _screenshotUseDate;
properties::BoolProperty _showFrameInformation;
properties::BoolProperty _disableMasterRendering;