FrameBuffer

expect object FrameBuffer

Covers all functionality with the Frame Buffer display backend.

actual object FrameBuffer
actual object FrameBuffer

Functions

Link copied to clipboard
expect fun close()

Safely closes the Frame Buffer driver, and frees up unused resources.

actual fun close()
actual fun close()
Link copied to clipboard
expect fun createDisplay(newHorRes: Short, newVertRes: Short, enableDblBuffer: Boolean): Pair<DisplayDrawBuffer, DisplayDriver>

Creates a display (includes the display buffer and driver) for output via the Frame Buffer backend.

actual fun createDisplay(newHorRes: Short, newVertRes: Short, enableDblBuffer: Boolean): Pair<DisplayDrawBuffer, DisplayDriver>
actual fun createDisplay(newHorRes: Short, newVertRes: Short, enableDblBuffer: Boolean): Pair<DisplayDrawBuffer, DisplayDriver>
Link copied to clipboard
expect fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver

Creates the display driver that uses the Frame Buffer display backend.

actual fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
actual fun createDisplayDriver(drawBuf: DisplayDrawBuffer, init: DisplayDriver.() -> Unit): DisplayDriver
Link copied to clipboard
expect fun flush(displayDriver: DisplayDriver, area: Area, color: Color)

Refreshes the Frame Buffer.

actual fun flush(displayDriver: DisplayDriver, area: Area, color: Color)
actual fun flush(displayDriver: DisplayDriver, area: Area, color: Color)
Link copied to clipboard
expect fun open()

Initializes the Frame Buffer driver.

actual fun open()
actual fun open()