Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GamePadButtonEvent @JvmOverloads constructor(var type: GamePadButtonEvent.Type = Type.DOWN, var gamepad: Int = 0, var button: GameButton = GameButton.BUTTON_SOUTH, var value: Float = 0.0f) : Event, TEvent<GamePadButtonEvent>
Link copied to clipboard
Link copied to clipboard
data class GamePadStickEvent(var gamepad: Int = 0, var stick: GameStick = GameStick.LEFT, var pos: Point = Point.ZERO) : TypedEvent<GamePadStickEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class MouseDragInfo(val view: View, var dx: Double = 0.0, var dy: Double = 0.0, var start: Boolean = false, var end: Boolean = false, var startTime: DateTime = DateTime.EPOCH, var time: DateTime = DateTime.EPOCH, var sx: Double = 0.0, var sy: Double = 0.0, var cx: Double = 0.0, var cy: Double = 0.0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class OnMouseDragCloseable(val onDownCloseable: Closeable, val onUpAnywhereCloseable: Closeable, val onMoveAnywhereCloseable: Closeable) : Closeable
Link copied to clipboard
data class RotationRecognizerInfo(var started: Boolean = false, var completed: Boolean = false, var start: Angle = 0.degrees, var current: Angle = 0.degrees)
Link copied to clipboard
data class ScaleRecognizerInfo(var started: Boolean = false, var completed: Boolean = true, var start: Double = 0.0, var current: Double = 0.0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun <T : View> T.draggableCloseable(selector: View = this, autoMove: Boolean = true, onDrag: (DraggableInfo) -> Unit? = null): DraggableCloseable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Handles a DropFileEvent. The event happens when a drag&drop file over the window happens.
Link copied to clipboard
fun <T : View> T.onMouseDrag(timeProvider: TimeProvider = TimeProvider, info: MouseDragInfo = MouseDragInfo(this), callback: Views.(MouseDragInfo) -> Unit): T
Link copied to clipboard
fun <T : View> T.onMouseDragCloseable(timeProvider: TimeProvider = TimeProvider, info: MouseDragInfo = MouseDragInfo(this), callback: Views.(MouseDragInfo) -> Unit): OnMouseDragCloseable
Link copied to clipboard
inline fun <T : View> T.onOutOnOver(noinline out: (MouseEvents) -> Unit, noinline over: (MouseEvents) -> Unit): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun TouchEvents.rotationRecognizer(start: RotationRecognizerInfo.() -> Unit = {}, end: RotationRecognizerInfo.(delta: Angle) -> Unit = {}, block: RotationRecognizerInfo.(delta: Angle) -> Unit)
Link copied to clipboard
fun TouchEvents.scaleRecognizer(start: ScaleRecognizerInfo.() -> Unit = {}, end: ScaleRecognizerInfo.(ratio: Double) -> Unit = {}, block: ScaleRecognizerInfo.(ratio: Double) -> Unit)
Link copied to clipboard
fun View.singleTouch(removeTouch: Boolean = false, supportStartAnywhere: Boolean = false, block: SingleTouchHandler.(id: Int) -> Unit)
Link copied to clipboard
fun TouchEvents.swipeRecognizer(thresold: Double = 32.0, block: (direction: SwipeRecognizerDirection) -> Unit)
Link copied to clipboard
Link copied to clipboard