IosGameWindow

open class IosGameWindow(val windowProvider: () -> UIWindow?? = null, val glXViewControllerProvider: () -> MyGLKViewController?? = null) : GameWindow

Constructors

Link copied to clipboard
constructor(windowProvider: () -> UIWindow?? = null, glXViewControllerProvider: () -> MyGLKViewController?? = null)

Types

Link copied to clipboard
class MyUITextComponent(val gw: IosGameWindow, rect: CValue<CGRect>) : UIView, UITextInputProtocol, UITextInputTraitsProtocol

Properties

Link copied to clipboard
open override val ag: AG
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var bgcolor: RGBA
Link copied to clipboard
open val bufferHeight: Int
Link copied to clipboard
open val bufferWidth: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var debug: Boolean
Link copied to clipboard
open val debugComponent: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
open override var fps: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val height: Int
Link copied to clipboard
open var icon: Bitmap?
Link copied to clipboard
open override val isSoftKeyboardVisible: Boolean
Link copied to clipboard
open override var keepScreenOn: Boolean
Link copied to clipboard
open override val key: CoroutineContext.Key<*>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val pixelsPerInch: Double
Link copied to clipboard
Link copied to clipboard
open override var preferredFps: Int
Link copied to clipboard
open override var quality: GameWindow.Quality
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var title: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var visible: Boolean
Link copied to clipboard
open var vsync: Boolean
Link copied to clipboard
open val width: Int
Link copied to clipboard
val window: UIWindow
Link copied to clipboard
val windowProvider: () -> UIWindow?? = null

Functions

Link copied to clipboard
suspend fun DialogInterfaceProvider.alert(message: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : BEvent> clearEvents(type: EventType<T>)
Link copied to clipboard
open suspend fun clipboardRead(): ClipboardData?
Link copied to clipboard
open suspend fun clipboardWrite(data: ClipboardData)
Link copied to clipboard
open override fun close(exitCode: Int)
Link copied to clipboard
Link copied to clipboard
fun GameWindow.configure(size: Size, title: String? = "GameWindow", icon: Bitmap? = null, fullscreen: Boolean? = null, bgcolor: RGBA = Colors.BLACK)
Link copied to clipboard
Link copied to clipboard
override fun <T : BEvent> dispatch(event: T): Boolean
override fun <T : BEvent> dispatch(type: EventType<T>, event: T, result: EventResult?): Boolean
open override fun <T : BEvent> dispatch(type: EventType<T>, event: T, result: EventResult?, up: Boolean, down: Boolean): Boolean
Link copied to clipboard
open fun <T : BEvent> dispatchChildren(type: EventType<T>, event: T, result: EventResult?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : BEvent> dispatchDown(type: EventType<T>, event: T, result: EventResult?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun dispatchKeyEvent(type: KeyEvent.Type, id: Int, character: Char, key: Key, keyCode: Int, str: String?): Boolean
Link copied to clipboard
fun dispatchKeyEventDownUp(id: Int, character: Char, key: Key, keyCode: Int, str: String?): Boolean
Link copied to clipboard
fun dispatchKeyEventEx(type: KeyEvent.Type, id: Int, character: Char, key: Key, keyCode: Int, shift: Boolean, ctrl: Boolean, alt: Boolean, meta: Boolean, str: String?): Boolean
Link copied to clipboard
fun dispatchMouseEvent(type: MouseEvent.Type, id: Int, x: Int, y: Int, button: MouseButton, buttons: Int, scrollDeltaX: Float, scrollDeltaY: Float, scrollDeltaZ: Float, isShiftDown: Boolean, isCtrlDown: Boolean, isAltDown: Boolean, isMetaDown: Boolean, scaleCoords: Boolean, simulateClickOnUp: Boolean, scrollDeltaMode: MouseEvent.ScrollDeltaMode)
Link copied to clipboard
Link copied to clipboard
open fun <T : BEvent> dispatchParent(type: EventType<T>, event: T, result: EventResult?)
Link copied to clipboard
Link copied to clipboard
fun dispatchRenderEvent(update: Boolean, render: Boolean)
Link copied to clipboard
fun dispatchReshapeEvent(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
fun dispatchReshapeEventEx(x: Int, y: Int, width: Int, height: Int, fullWidth: Int, fullHeight: Int)
Link copied to clipboard
Link copied to clipboard
fun dispatchSimpleMouseEvent(type: MouseEvent.Type, id: Int, x: Int, y: Int, button: MouseButton, simulateClickOnUp: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun <T : BEvent> dispatchUp(type: EventType<T>, event: T, result: EventResult?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun <T : BEvent> dispatchWithResult(event: T, out: EventResult): EventResult
Link copied to clipboard
fun entry(callback: suspend () -> Unit)
Link copied to clipboard
fun executePending(availableTime: TimeSpan)
Link copied to clipboard
fun exit(exitCode: Int)
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
fun frame(doUpdate: Boolean, doRender: Boolean, frameStartTime: TimeSpan): TimeSpan
Link copied to clipboard
fun frameRender(doUpdate: Boolean, doRender: Boolean)
Link copied to clipboard
fun frameUpdate(startTime: TimeSpan)
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun handleReshapeEventIfRequired(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
Link copied to clipboard
fun hide()
Link copied to clipboard
open override fun hideSoftKeyboard()
Link copied to clipboard
Link copied to clipboard
open suspend override fun loop(entry: suspend GameWindow.() -> Unit)
Link copied to clipboard
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
Link copied to clipboard
override fun <T : BEvent> onEvent(type: EventType<T>, handler: (T) -> Unit): CloseableCancellable
Link copied to clipboard
override fun onEventCount(type: EventType<*>): Int
Link copied to clipboard
open fun <T : BEvent> onEvents(vararg etypes: EventType<out T>, handler: (T) -> Unit): Closeable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun DialogInterfaceProvider.openFileDialog(filter: String? = null, write: Boolean = false, multi: Boolean = false): List<VfsFile>
suspend fun DialogInterfaceProvider.openFileDialog(filter: FileFilter? = null, write: Boolean = false, multi: Boolean = false, currentDir: VfsFile? = null): List<VfsFile>
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
suspend fun DialogInterfaceProvider.prompt(message: String, default: String = ""): String
Link copied to clipboard
fun queue(callback: () -> Unit)
fun queue(callback: Runnable)
Link copied to clipboard
fun <T> queueBlocking(callback: () -> T): T
Link copied to clipboard
inline fun <T> registerTime(name: String, block: () -> T): T
open fun registerTime(name: String, time: TimeSpan)
Link copied to clipboard
open override fun repaint()
Link copied to clipboard
open override fun setInputRectangle(windowRect: Rectangle)
Link copied to clipboard
Link copied to clipboard
open fun setSize(width: Int, height: Int)
Link copied to clipboard
fun show()
Link copied to clipboard
Link copied to clipboard
open override fun showSoftKeyboard(force: Boolean, config: ISoftKeyboardConfig?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun SoftKeyboardReturnKeyType.toIOS(): UIReturnKeyType
fun SoftKeyboardType?.toIOS(): UIKeyboardType
fun <T> Boolean?.toIOS(default: T, no: T, yes: T): T
Link copied to clipboard
open fun updateGamepads()
Link copied to clipboard
inline fun updateRenderLock(block: () -> Unit)
Link copied to clipboard
suspend fun waitClose()