| 120 | } |
| 121 | |
| 122 | void LuxCoreApp::IncScreenRefreshInterval() { |
| 123 | const unsigned int screenRefreshInterval = config->ToProperties().Get("screen.refresh.interval").Get<unsigned int>(); |
| 124 | if (screenRefreshInterval >= 1000) |
| 125 | config->Parse(Properties().Set(Property("screen.refresh.interval")(screenRefreshInterval + 1000))); |
| 126 | else if (screenRefreshInterval >= 100) |
| 127 | config->Parse(Properties().Set(Property("screen.refresh.interval")(screenRefreshInterval + 50))); |
| 128 | else |
| 129 | config->Parse(Properties().Set(Property("screen.refresh.interval")(screenRefreshInterval + 5))); |
| 130 | } |
| 131 | |
| 132 | void LuxCoreApp::DecScreenRefreshInterval() { |
| 133 | const unsigned int screenRefreshInterval = config->ToProperties().Get("screen.refresh.interval").Get<unsigned int>(); |
no test coverage detected