sily.tui

Undocumented in source.

Modules

app
module sily.tui.app
Undocumented in source.
elements
module sily.tui.elements

Module containing base Element class and publicly imports all element types

event
module sily.tui.event
Undocumented in source.
input
module sily.tui.input
Undocumented in source.
node
module sily.tui.node
Undocumented in source.
render
module sily.tui.render
Undocumented in source.

Members

Functions

aspectRatio
float aspectRatio()

Returns aspect ratio (w / h)

cleanup
void cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
fps
int fps()

Returns current FPS

fpsString
string fpsString()

Returns current FPS as string

height
uint height()

Returns app width/height

isRunning
bool isRunning()

Returns true if app is running

loop
void loop()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
renderFrameNumber
size_t renderFrameNumber()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
setTitle
void setTitle(string title)
Undocumented in source. Be warned that the author may not have intended to support it.
size
uvec2 size()

Returns app width/height

stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
width
uint width()

Returns app width/height

Meta