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.shape.Circle
/**
* A simple demonstration of a GUI for drawing some circles
*/
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -14,7 +14,7 @@ enum class BackgroundColors {
Yellow
}
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -11,7 +11,7 @@ import org.openrndr.extra.parameters.*
* [Left Shift] + [0]..[9] => store current gui values to a preset
* [0]..[9] => recall a preset
*/
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -9,7 +9,7 @@ import org.openrndr.shape.Circle
/**
* A simple demonstration of a GUI for drawing some circles
*/
suspend fun main() = application {
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -5,7 +5,7 @@ import org.openrndr.extra.parameters.Description
import org.openrndr.extra.parameters.XYParameter
import org.openrndr.math.Vector2
suspend fun main() = application {
fun main() = application {
configure {
width = 800
height = 800