summaryrefslogtreecommitdiff
path: root/testSmartWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 13:02:43 -0600
committerJeff Carr <[email protected]>2024-01-08 13:02:43 -0600
commit9b4bf224dcf4a7d29433be25e73d33b45b670d0b (patch)
treebeb9399994472f66a6470586ecf344a995c24805 /testSmartWindow.go
parentb9929490609301454eacbc4bf0358002efb680c8 (diff)
more testing
Signed-off-by: Jeff Carr <[email protected]>
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")
+}