summaryrefslogtreecommitdiff
path: root/smartwindow/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'smartwindow/new.go')
-rw-r--r--smartwindow/new.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/smartwindow/new.go b/smartwindow/new.go
deleted file mode 100644
index 35e9df5..0000000
--- a/smartwindow/new.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package smartwindow
-
-import (
- "go.wit.com/log"
-)
-
-func New() *SmartWindow {
- sw := SmartWindow {
- hidden: true,
- ready: false,
- }
-
- return &sw
-}
-
-func (sw *SmartWindow) InitWindow() {
- if sw == nil {
- log.Log(WARN, "not initalized yet (no parent for the window?)")
- return
- }
- if sw.window != nil {
- log.Log(WARN, "You already have a SmartWindow")
- sw.ready = true
- return
- }
-}