Functions
Link copied to clipboard
expect fun createDisplay(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>
Creates a display (includes the display buffer and driver) for output via the SDL 2 backend.
actual fun createDisplay(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>
Link copied to clipboard
expect fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
Creates the display driver that uses the SDL 2 display backend.
actual fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
Link copied to clipboard
Initializes the HAL (Hardware Abstraction Layer) for LVGL. It is strongly recommended that this function is used since it automates many tasks. Remember to call io.gitlab.embedSoft.lvglKt.core.initLvgl before using this function.