mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Move the rendertime into a property and remove the toggleFrametimeType
Make OptionProperty work in Radio mode Rename DROPDOWN and RADIO to Dropdown and Radio
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <openspace/scripting/scriptengine.h>
|
||||
|
||||
#include <openspace/properties/optionproperty.h>
|
||||
#include <openspace/properties/propertyowner.h>
|
||||
#include <openspace/properties/scalarproperty.h>
|
||||
|
||||
@@ -112,7 +113,6 @@ public:
|
||||
|
||||
void takeScreenshot(bool applyWarping = false);
|
||||
void toggleInfoText(bool b);
|
||||
void toggleFrametimeType(int t);
|
||||
|
||||
// Performance measurements
|
||||
bool doesPerformanceMeasurements() const;
|
||||
@@ -213,7 +213,9 @@ private:
|
||||
ghoul::Dictionary _resolveData;
|
||||
ScreenLog* _log;
|
||||
|
||||
FrametimeType _frametimeType;
|
||||
properties::OptionProperty _frametimeType;
|
||||
|
||||
//FrametimeType _frametimeType;
|
||||
|
||||
bool _showInfo;
|
||||
bool _showLog;
|
||||
|
||||
Reference in New Issue
Block a user