Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object AndroidApp
Link copied to clipboard
Link copied to clipboard
object App
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
class AppTheme(val statusBarColor: Color, val navigationBarColor: Color, val isDark: Boolean, val toolbarColor: Color, val onToolbarColor: Color, val updateStatusBar: @Composable () -> Unit)
Link copied to clipboard
object Constants
Link copied to clipboard
object DesktopApp
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface IJvmImpl
Link copied to clipboard
object JvmImpl
Link copied to clipboard
object WasmApp

Properties

Link copied to clipboard
val AppScope: CoroutineScope
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
fun ProvideAppLocals(activity: Activity, content: @Composable () -> Unit)

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
fun rememberComposeTheme(): ComposeTheme.State
Link copied to clipboard
fun WasmApplication(screen: Screen, wasmSetup: WasmAppSetup, theme: MyTheme = MyTheme.default(), content: @Composable (navigator: Navigator) -> Unit)
Link copied to clipboard
fun WasmContainer(content: @Composable () -> Unit)