Switch back to fun main()

This commit is contained in:
Edwin Jakobs
2021-08-30 17:18:54 +02:00
parent c5a95f8d17
commit 9a2f10f81d
187 changed files with 313 additions and 316 deletions

View File

@@ -9,7 +9,7 @@ import org.openrndr.panel.elements.div
import org.openrndr.panel.elements.h1
import org.openrndr.panel.style.*
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -6,7 +6,7 @@ import org.openrndr.panel.elements.div
import org.openrndr.panel.elements.slider
import org.openrndr.panel.style.*
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -34,7 +34,7 @@ private class ProgramState {
}
}
suspend fun main() = application {
fun main() = application {
configure {
width = 900
height = 720

View File

@@ -5,7 +5,7 @@ import org.openrndr.panel.elements.*
import org.openrndr.panel.style.*
suspend fun main() = application {
fun main() = application {
configure {
width = 900
height = 720