LEVIATHAN v962456e · 962456eee1

dagon

interface IGuiBackend

since 0.1.0-alpha.1linux

Methods

available

available() -> bool

clipboardGet

clipboardGet() -> string

clipboardSet

clipboardSet(string s) -> void

dialogOpen

dialogOpen(int win, int kind, string title, string startDir, string filters) -> int

dialogResult

dialogResult(int requestId) -> string

eventsDrain

eventsDrain(Block out, int maxRecords) -> int

fontClose

fontClose(int font) -> void

fontOpen

fontOpen(string path, int sizePt, int attrs) -> int

init

init() -> void

messageBox

messageBox(int win, int kind, string title, string body) -> void

shutdown

shutdown() -> void

submit

submit(int win, Canvas c) -> void

textInput

textInput(int win, bool on, int x, int y, int w, int h) -> void

textMeasure

textMeasure(int font, string s) -> Size

textureFree

textureFree(int tex) -> void

textureFromFile

textureFromFile(string path) -> int

textureFromRgba

textureFromRgba(Block pixels, int w, int h) -> int

textureSize

textureSize(int tex) -> Size

windowClose

windowClose(int win) -> void

windowCursor

windowCursor(int win, int cursorKind) -> void

windowH

windowH(int win) -> int

windowMinSize

windowMinSize(int win, int w, int h) -> void

windowOpen

windowOpen(string title, int w, int h, int flags) -> int

windowScale

windowScale(int win) -> float

windowShow

windowShow(int win, bool show) -> void

windowTitle

windowTitle(int win, string t) -> void

windowW

windowW(int win) -> int