Initial version

This commit is contained in:
Ganesh Viswanathan 2018-08-19 17:52:04 -05:00
commit 325ef7a8d4
6 changed files with 163 additions and 0 deletions

13
tests/tui.nim Normal file
View file

@ -0,0 +1,13 @@
import nimui/ui
var opts: UiInitOptions
if uiInit(addr opts) != nil:
quit(1)
# var
# mainwin: ptr UiWindow = uiNewWindow("libui Control Gallery", 640, 480, 1)
# uiWindowSetMargined(mainwin, 1)
# uiControlShow(cast[ptr UiControl](mainwin))
# uiMain()