| 130 | } |
| 131 | |
| 132 | void LuxCoreApp::DecScreenRefreshInterval() { |
| 133 | const unsigned int screenRefreshInterval = config->ToProperties().Get("screen.refresh.interval").Get<unsigned int>(); |
| 134 | if (screenRefreshInterval > 1000) |
| 135 | config->Parse(Properties().Set(Property("screen.refresh.interval")(Max(1000u, screenRefreshInterval - 1000)))); |
| 136 | else if (screenRefreshInterval > 100) |
| 137 | config->Parse(Properties().Set(Property("screen.refresh.interval")(Max(50u, screenRefreshInterval - 50)))); |
| 138 | else |
| 139 | config->Parse(Properties().Set(Property("screen.refresh.interval")(Max(10u, screenRefreshInterval - 5)))); |
| 140 | } |
| 141 | |
| 142 | void LuxCoreApp::CloseAllRenderConfigEditors() { |
| 143 | acceleratorWindow.Close(); |
no test coverage detected