Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object AndroidApp
Link copied to clipboard
object AndroidAppDefaults
Link copied to clipboard
Link copied to clipboard
class AppSetup(val developer: Developer = Developer.Author(
Constants.DEVELOPER_NAME,
Constants.DEVELOPER_EMAIL
), val appData: AppSetup.AppData, val icon: @Composable () -> Painter, val themeSupport: AppSetup.ThemeSupport, val prefs: BasePrefs, val debugPrefs: DebugPrefs, val debugDrawer: @Composable (drawerState: DebugDrawerState) -> Unit?, val privacyPolicyLink: String, val disableLanguagePicker: Boolean, val fileLogger: FileLogger<*>?, val changelogSetup: Changelog.Setup?, val isDebugBuild: Boolean)
Link copied to clipboard
object DesktopApp
Link copied to clipboard
object DesktopAppDefaults
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class DesktopTitleBarSetup(val showAlwaysOnTop: Boolean = true, val showThemeSelector: Boolean = true)
Link copied to clipboard
object WasmAppDefaults
Functions
Link copied to clipboard
fun ComponentActivity.AndroidApplication(screen: Screen, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
Link copied to clipboard
fun AndroidNavigation(navigationStyle: State<NavigationStyle>, items: List<INavItem>, modifier: Modifier = Modifier, alwaysShowLabel: Boolean = true, showForSingleItem: Boolean = false)
Link copied to clipboard
fun AndroidScaffold(mainMenuItems: MainMenuItems = MainMenuItems(), toolbar: @Composable () -> Unit = {}, navigationStyle: State<NavigationStyle> = rememberNavigationStyleAuto(), navigation: @Composable () -> Unit = {}, floatingActionButton: @Composable () -> Unit = {}, floatingActionButtonPosition: FabPosition = FabPosition.End, containerColor: Color = MaterialTheme.colorScheme.background, contentColor: Color = contentColorFor(containerColor), contentWindowInsets: WindowInsets = ScaffoldDefaults.contentWindowInsets, content: @Composable () -> Unit)
Link copied to clipboard
fun ApplicationScope.DesktopApplication(screen: Screen, theme: MyTheme = MyTheme.windowsDefault(), onClosed: suspend () -> Unit? = null, onPreviewKeyEvent: (NativeKeyEvent) -> Boolean = { false }, onKeyEvent: (NativeKeyEvent) -> Boolean = { false }, appIsClosing: MutableState<Boolean> = remember { mutableStateOf(false) }, content: @Composable DecoratedWindowScope.(navigator: Navigator) -> Unit)
Link copied to clipboard
fun DesktopNavigation(navigationStyle: State<NavigationStyle>, items: @Composable (style: NavigationStyle) -> List<INavItem>, additionalItems: @Composable (style: NavigationStyle) -> List<INavItem>, modifier: Modifier = Modifier, showForSingleItem: Boolean = false, isRailExpandable: Boolean = true, isRailExpanded: MutableState<Boolean> = remember { mutableStateOf(false) }, showAdditionalItemsAtBottomIfRail: Boolean = true, alwaysShowBottomLabel: Boolean = true)
Link copied to clipboard
fun DesktopNavigationRail(itemsTop: List<INavItem>, itemsBottom: List<INavItem>, showForSingleItem: Boolean, expandable: Boolean, modifier: Modifier = Modifier, navigationExpanded: MutableState<Boolean> = remember { mutableStateOf(false) })
Link copied to clipboard
fun DecoratedWindowScope.DesktopScaffold(titleBar: @Composable DecoratedWindowScope.() -> Unit = {}, statusBar: @Composable () -> Unit = {}, navigationStyle: State<NavigationStyle> = rememberNavigationStyleAuto(), navigation: @Composable () -> Unit = {}, floatingActionButton: @Composable () -> Unit = {}, floatingActionButtonPosition: FabPosition = FabPosition.End, containerColor: Color = MaterialTheme.colorScheme.background, contentColor: Color = contentColorFor(containerColor), contentWindowInsets: WindowInsets = ScaffoldDefaults.contentWindowInsets, toolbar: @Composable (screen: INavScreen) -> Unit, content: @Composable () -> Unit)
Link copied to clipboard
fun DesktopStatusBar(showAppVersionLeft: Boolean = true, showJavaVersionRight: Boolean = true, showUserNameRight: Boolean = true, showHostNameRight: Boolean = true, onAppVersionClick: () -> Unit? = null, onJavaVersionClick: () -> Unit? = null, onUserNameClick: () -> Unit? = null, onHostNameClick: () -> Unit? = null, foreground: Color = Color.Unspecified, background: Color = Color.Unspecified, content: @Composable () -> Unit? = null)
Link copied to clipboard
fun DesktopStatusBarCustom(left: List<DesktopStatusBarItem> = emptyList(), right: List<DesktopStatusBarItem> = emptyList(), foreground: Color = Color.Unspecified, background: Color = Color.Unspecified, content: @Composable () -> Unit? = null)
Link copied to clipboard
fun DecoratedWindowScope.DesktopTitleBar(setup: DesktopTitleBarSetup = DesktopTitleBarSetup(
showAlwaysOnTop = true,
showThemeSelector = true
), iconItems: List<DesktopTitleAction> = emptyList(), menu: @Composable () -> Unit = { })
Link copied to clipboard
Link copied to clipboard
stellt app spezifische Locals zur Verfügung welche global und überall verfügbar sein sollen bereits außerhalb von root!
Link copied to clipboard
fun WasmApplication(screen: Screen, wasmSetup: WasmAppSetup, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
Link copied to clipboard
fun WasmScaffold(topBar: @Composable () -> Unit = {}, floatingActionButton: @Composable () -> Unit = {}, floatingActionButtonPosition: FabPosition = FabPosition.End, containerColor: Color = MaterialTheme.colorScheme.background, contentColor: Color = contentColorFor(containerColor), contentWindowInsets: WindowInsets = ScaffoldDefaults.contentWindowInsets, content: @Composable () -> Unit)
Link copied to clipboard