dagon
interface IGuiBackend
since 0.1.0-alpha.1linux
Methods
available
available() -> boolclipboardGet
clipboardGet() -> stringclipboardSet
clipboardSet(string s) -> voiddialogOpen
dialogOpen(int win, int kind, string title, string startDir, string filters) -> intdialogResult
dialogResult(int requestId) -> stringeventsDrain
eventsDrain(Block out, int maxRecords) -> intfontClose
fontClose(int font) -> voidfontOpen
fontOpen(string path, int sizePt, int attrs) -> intinit
init() -> voidmessageBox
messageBox(int win, int kind, string title, string body) -> voidshutdown
shutdown() -> voidsubmit
submit(int win, Canvas c) -> voidtextInput
textInput(int win, bool on, int x, int y, int w, int h) -> voidtextMeasure
textMeasure(int font, string s) -> SizetextureFree
textureFree(int tex) -> voidtextureFromFile
textureFromFile(string path) -> inttextureFromRgba
textureFromRgba(Block pixels, int w, int h) -> inttextureSize
textureSize(int tex) -> SizewindowClose
windowClose(int win) -> voidwindowCursor
windowCursor(int win, int cursorKind) -> voidwindowH
windowH(int win) -> intwindowMinSize
windowMinSize(int win, int w, int h) -> voidwindowOpen
windowOpen(string title, int w, int h, int flags) -> intwindowScale
windowScale(int win) -> floatwindowShow
windowShow(int win, bool show) -> voidwindowTitle
windowTitle(int win, string t) -> voidwindowW
windowW(int win) -> int