summaryrefslogtreecommitdiff
path: root/smartwindow/new.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 00:15:20 -0600
committerJeff Carr <[email protected]>2024-01-21 00:15:20 -0600
commitfdc01e28d9f45e923bdbc783f957e5b87f108659 (patch)
treee5ff92b4cbeb21d7c57eec0cf4cc8aa71d622ee3 /smartwindow/new.go
parent495a08eddaef290dd4a6f63a543cf31ef26522f5 (diff)
name changes in the gui package
Signed-off-by: Jeff Carr <[email protected]>
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
- }
-}