Companion

expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun create(display: Display, primaryColor: Color, secondaryColor: Color, dark: Boolean, vararg fonts: Font): Theme

Creates a new theme.

actual fun create(display: Display, primaryColor: Color, secondaryColor: Color, dark: Boolean, vararg fonts: Font): Theme
actual fun create(display: Display, primaryColor: Color, secondaryColor: Color, dark: Boolean, vararg fonts: Font): Theme
fromPointer
Link copied to clipboard
fun fromPointer(ptr: CPointer<lv_theme_t>?): Theme
fun fromPointer(ptr: CPointer<lv_theme_t>?): Theme
Link copied to clipboard
expect fun getLargeFont(obj: LvglObjectBase): Font

Retrieves the large sized font used for obj.

actual fun getLargeFont(obj: LvglObjectBase): Font
actual fun getLargeFont(obj: LvglObjectBase): Font
Link copied to clipboard
expect fun getNormalFont(obj: LvglObjectBase): Font

Retrieves the average (normal) sized font used for obj.

actual fun getNormalFont(obj: LvglObjectBase): Font
actual fun getNormalFont(obj: LvglObjectBase): Font
Link copied to clipboard
expect fun getPrimaryColor(obj: LvglObjectBase): Color

Retrieves the primary color used for obj.

actual fun getPrimaryColor(obj: LvglObjectBase): Color
actual fun getPrimaryColor(obj: LvglObjectBase): Color
Link copied to clipboard
expect fun getSecondaryColor(obj: LvglObjectBase): Color

Retrieves the secondary color used for obj.

actual fun getSecondaryColor(obj: LvglObjectBase): Color
actual fun getSecondaryColor(obj: LvglObjectBase): Color
Link copied to clipboard
expect fun getSmallFont(obj: LvglObjectBase): Font

Retrieves the small sized font used for obj.

actual fun getSmallFont(obj: LvglObjectBase): Font
actual fun getSmallFont(obj: LvglObjectBase): Font