All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.openrndr.ApplicationBuilder.kt Maven / Gradle / Ivy

The newest version!
package org.openrndr

abstract class ApplicationBuilder {
    abstract val configuration: Configuration
    abstract var program: Program

    abstract val applicationBase: ApplicationBase

    abstract fun configure(init: Configuration.() -> Unit)

    abstract fun program(init: suspend Program.() -> Unit): Program

    abstract val displays: List


    @Deprecated("Cannot construct application in an application block.", level = DeprecationLevel.ERROR)
    abstract fun application(build: ApplicationBuilder.() -> Unit): Nothing

    @Deprecated("Cannot construct program in a program block.", level = DeprecationLevel.ERROR)
    abstract fun Program.program(init: Program.() -> Unit): Nothing
}

expect fun application(build: ApplicationBuilder.() -> Unit)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy