App Config
data class AppConfig(blinkLengthInMilliSeconds: Long, cursorStyle: CursorStyle, cursorColor: TileColor, isCursorBlinking: Boolean, isClipboardAvailable: Boolean, defaultTileset: TilesetResource, defaultGraphicalTileset: TilesetResource, defaultColorTheme: ColorTheme, debugMode: Boolean, size: Size, fullScreen: Boolean, borderless: Boolean, title: String, fpsLimit: Int, debugConfig: DebugConfig, closeBehavior: CloseBehavior, shortcutsConfig: ShortcutsConfig, iconData: ByteArray?, iconPath: String?)
Content copied to clipboard
Object that encapsulates the configuration parameters for an Application. This includes properties such as the shape of the cursor, the color of the cursor and if the cursor should blink or not.
Constructors
AppConfig
Link copied to clipboard
fun AppConfig(blinkLengthInMilliSeconds: Long = 500, cursorStyle: CursorStyle = CursorStyle.FIXED_BACKGROUND, cursorColor: TileColor = TileColor.defaultForegroundColor(), isCursorBlinking: Boolean = false, isClipboardAvailable: Boolean = true, defaultTileset: TilesetResource = CP437TilesetResources.wanderlust16x16(), defaultGraphicalTileset: TilesetResource = GraphicalTilesetResources.nethack16x16(), defaultColorTheme: ColorTheme = ColorThemes.defaultTheme(), debugMode: Boolean = false, size: Size = Size.create(80, 40), fullScreen: Boolean = false, borderless: Boolean = false, title: String = "Zircon Application", fpsLimit: Int = 60, debugConfig: DebugConfig = DebugConfig.defaultConfig(), closeBehavior: CloseBehavior = CloseBehavior.EXIT_ON_CLOSE, shortcutsConfig: ShortcutsConfig = ShortcutsConfig(), iconData: ByteArray? = null, iconPath: String? = null)
Content copied to clipboard
Types
Functions
component1
Link copied to clipboard
component10
Link copied to clipboard
component11
Link copied to clipboard
component12
Link copied to clipboard
component13
Link copied to clipboard
component14
Link copied to clipboard
component15
Link copied to clipboard
component16
Link copied to clipboard
component17
Link copied to clipboard
component18
Link copied to clipboard
component19
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard
copy
Link copied to clipboard
fun copy(blinkLengthInMilliSeconds: Long = 500, cursorStyle: CursorStyle = CursorStyle.FIXED_BACKGROUND, cursorColor: TileColor = TileColor.defaultForegroundColor(), isCursorBlinking: Boolean = false, isClipboardAvailable: Boolean = true, defaultTileset: TilesetResource = CP437TilesetResources.wanderlust16x16(), defaultGraphicalTileset: TilesetResource = GraphicalTilesetResources.nethack16x16(), defaultColorTheme: ColorTheme = ColorThemes.defaultTheme(), debugMode: Boolean = false, size: Size = Size.create(80, 40), fullScreen: Boolean = false, borderless: Boolean = false, title: String = "Zircon Application", fpsLimit: Int = 60, debugConfig: DebugConfig = DebugConfig.defaultConfig(), closeBehavior: CloseBehavior = CloseBehavior.EXIT_ON_CLOSE, shortcutsConfig: ShortcutsConfig = ShortcutsConfig(), iconData: ByteArray? = null, iconPath: String? = null): AppConfig
Content copied to clipboard
shouldCheckBounds
Link copied to clipboard
Properties
blinkLengthInMilliSeconds
Link copied to clipboard
borderless
Link copied to clipboard
Controls if the Application will be borderless or not.
closeBehavior
Link copied to clipboard
Determines the CloseBehavior when the application windows is closed.
cursorColor
Link copied to clipboard
The TileColor to be used when drawing a cursor.
cursorStyle
Link copied to clipboard
The CursorStyle to be used when the cursor is displayed.
debugConfig
Link copied to clipboard
defaultColorTheme
Link copied to clipboard
The default ColorTheme to be used when no color theme is specified.
defaultGraphicalTileset
Link copied to clipboard
defaultTileset
Link copied to clipboard
The tileset to be used when no tileset is specified for the Application.
fpsLimit
Link copied to clipboard
fullScreen
Link copied to clipboard
Controls if the Application will be full screen or not.
isClipboardAvailable
Link copied to clipboard
isCursorBlinking
Link copied to clipboard
shortcutsConfig
Link copied to clipboard
Determines the ShortcutsConfig to be used for built-in shortcuts.
size
Link copied to clipboard
Sources
(source)
Link copied to clipboard