Package com.mayakapps.compose.windowstyler

Types

Link copied to clipboard
interface WindowBackdrop

The type of the window backdrop/background.

Link copied to clipboard
enum WindowCornerPreference : Enum<WindowCornerPreference>

The preferred corner shape of the window.

Link copied to clipboard
data class WindowFrameStyle(    val borderColor: Color = Color.Unspecified,     val titleBarColor: Color = Color.Unspecified,     val captionColor: Color = Color.Unspecified,     val cornerPreference: WindowCornerPreference = WindowCornerPreference.DEFAULT)

Styles for the window frame which includes the title bar and window border.

Link copied to clipboard
interface WindowStyleManager

Style manager which lets you update the style of the provided window using the exposed properties.

Functions

Link copied to clipboard
@Composable
fun WindowScope.WindowStyle(    isDarkTheme: Boolean = false,     backdropType: WindowBackdrop = WindowBackdrop.Default,     frameStyle: WindowFrameStyle = WindowFrameStyle())

Applies the provided styles to the current window.

Link copied to clipboard
fun WindowStyleManager(    window: Window,     isDarkTheme: Boolean = false,     backdropType: WindowBackdrop = WindowBackdrop.Default,     frameStyle: WindowFrameStyle = WindowFrameStyle()): WindowStyleManager

Creates a suitable WindowStyleManager for window or a stub manager if the OS is not supported.