Initial version
This commit is contained in:
commit
325ef7a8d4
6 changed files with 163 additions and 0 deletions
13
tests/tui.nim
Normal file
13
tests/tui.nim
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue