LEVIATHAN v962456e · 962456eee1

dagon

class ScriptedEvents

since 0.1.0-alpha.1linux

bases
IEventSource

Fields

queue_

Array<Block> queue_

Methods

drain

drain(Block out, int maxRecords) -> int

keyDown

keyDown(int win, KeyCode code, int scancode, int mods, bool repeat) -> ScriptedEvents

keyUp

keyUp(int win, KeyCode code, int scancode, int mods) -> ScriptedEvents

mouseButton

mouseButton(int win, bool down, int sdlButton, int x, int y, int clicks, int mods) -> ScriptedEvents

mouseMove

mouseMove(int win, int x, int y, int buttonsMask) -> ScriptedEvents

pending

pending() -> int

pushRecord

pushRecord(int type, int win, int f2, int f3, int f4, int f5, int f6, int f7) -> void

quit

quit() -> ScriptedEvents

raw

raw(int type, int win, int f2, int f3, int f4, int f5, int f6, int f7) -> ScriptedEvents

text

text(int win, string s) -> ScriptedEvents

wheel

wheel(int win, float dx, float dy, int x, int y) -> ScriptedEvents

windowEvent

windowEvent(int win, WindowEventKind k, int w, int h) -> ScriptedEvents