Theme

interface Theme

Themes are able to visually style Views within the Display. Installing one will trigger an update and provide the full set of Views to the Theme.install method, allowing it to update any subset of Views it chooses.

Inheritors

Functions

Link copied to clipboard
abstract fun install(view: View)

Called whenever a new View is added to a Scene this Theme has already been installed to.

abstract fun install(scene: Scene)

Called whenever a Theme is set as ThemeManager.selected. This allows the theme to update any of the Views and Displays.

Inherited functions

Link copied to clipboard
operator fun Theme.plus(other: Theme): CompositeTheme