MakeMenuBar

@Composable
fun FrameWindowScope.MakeMenuBar(appState: AppStateImpl, scope: CoroutineScope, windowState: WindowState, setPage: (Page) -> Unit, setGame: (Game) -> Unit, setTheme: (AppTheme) -> Unit, setGlobalError: (Exception?, ErrorType?) -> Unit, exitAction: () -> Unit)

Creates the application menu bar with File, View, Dev, and Help menus. Provides navigation to different pages and application controls.

Parameters

appState

Global application state for navigation and configuration.

windowState

Window state for toggling fullscreen mode.

setPage

Callback to change the current page.

setGame

Callback to update the current game instance.

setTheme

Callback to reapply the current theme (used after fullscreen toggle).

setGlobalError

Callback to surface errors triggered from menu actions.

exitAction

Callback function to execute on application exit.