aboutsummaryrefslogtreecommitdiffhomepage
path: root/libslang/modules/newt.sl
diff options
context:
space:
mode:
Diffstat (limited to 'libslang/modules/newt.sl')
-rw-r--r--libslang/modules/newt.sl14
1 files changed, 14 insertions, 0 deletions
diff --git a/libslang/modules/newt.sl b/libslang/modules/newt.sl
new file mode 100644
index 0000000..0864d5e
--- /dev/null
+++ b/libslang/modules/newt.sl
@@ -0,0 +1,14 @@
+import ("newt");
+
+newtInit ();
+%newtCls ();
+newtDrawRootText (0, 0, "Root Text");
+newtOpenWindow (3,4,20, 20, "First Window");
+newtOpenWindow (8, 10,20, 20, "Second Window");
+
+newtRefresh ();
+sleep (5);
+NewtFinished ();
+
+exit (0);
+