Sdl2
Functions
Link copied to clipboard
expect fun createDisplay(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>
Content copied to clipboard
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>
Content copied to clipboard
Link copied to clipboard
expect fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
Content copied to clipboard
Creates the display driver that uses the SDL 2 display backend.
actual fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
Content copied to clipboard
Link copied to clipboard
expect fun initHal(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>
Content 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.initLvglbefore using this function.