diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 00:15:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 00:15:20 -0600 |
| commit | fdc01e28d9f45e923bdbc783f957e5b87f108659 (patch) | |
| tree | e5ff92b4cbeb21d7c57eec0cf4cc8aa71d622ee3 /smartwindow/new.go | |
| parent | 495a08eddaef290dd4a6f63a543cf31ef26522f5 (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.go | 26 |
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 - } -} |
