summaryrefslogtreecommitdiff
path: root/testSmartWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'testSmartWindow.go')
-rw-r--r--testSmartWindow.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/testSmartWindow.go b/testSmartWindow.go
new file mode 100644
index 0000000..354cc78
--- /dev/null
+++ b/testSmartWindow.go
@@ -0,0 +1,21 @@
+// testing the smart window
+package main
+
+import (
+ "go.wit.com/log"
+ // "go.wit.com/gui/cloudflare"
+ "go.wit.com/apps/control-panel-dns/smartwindow"
+)
+
+func testSmartWindow(sw *smartwindow.SmartWindow) {
+ log.Log(WARN, "testSmartWindow() START")
+ grid := sw.Box().NewGrid("test", 5, 1)
+ grid.NewLabel("test 1")
+ grid.NewLabel("test 1")
+ grid.NewLabel("test 2")
+ grid.NewLabel("test 2")
+ grid.NewLabel("test 3")
+ grid.NewLabel("test 3")
+ grid.NewLabel("test 3")
+ grid.NewLabel("test 3")
+}