Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object AndroidApp
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 fileLoggingSetup: IFileLoggingSetup?, val consoleLoggingSetup: ConsoleLoggingSetup?, val changelogSetup: Changelog.Setup?, val isDebugBuild: Boolean)
Link copied to clipboard
object DesktopApp
Link copied to clipboard
object DesktopAppDefaults
Link copied to clipboard
Functions
Link copied to clipboard
fun ComponentActivity.AndroidApplication(composeTheme: ComposeTheme.State = rememberComposeTheme(), appThemeProvider: @Composable () -> AppTheme = { rememberAppTheme() }, theme: MyTheme = MyTheme.default(), content: @Composable () -> Unit)
This is the main entry point for the app. It sets up the app state and theme.
fun ComponentActivity.AndroidApplication(screen: Screen, composeTheme: ComposeTheme.State = rememberComposeTheme(), appThemeProvider: @Composable () -> AppTheme = { rememberAppTheme() }, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
This is the main entry point for the app. It sets up the app state, theme, and navigation.
Link copied to clipboard
Link copied to clipboard
fun AppTheme(composeTheme: ComposeTheme.State, appThemeProvider: @Composable () -> AppTheme, content: @Composable () -> Unit)
Link copied to clipboard
fun DesktopContainer(menuBar: @Composable () -> Unit = {}, statusBar: @Composable () -> 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
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 rememberAppTheme(statusBarColor: Color = getToolbarColorFromPrefs(), navigationBarColor: Color = NavigationBarDefaults.containerColor, isDark: Boolean = LocalComposeTheme.current.base.value.isDark(), toolbarColor: Color = getToolbarColorFromPrefs(), onToolbarColor: Color = getOnToolbarColorFromPrefs()): AppTheme
Link copied to clipboard
Link copied to clipboard
fun WasmApplication(screen: Screen, wasmSetup: WasmAppSetup, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
Link copied to clipboard