diff options
| author | Jeff Carr <[email protected]> | 2019-06-05 21:20:40 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-05 21:20:40 -0700 |
| commit | cb4c82428b300acf947dce403c634fb544236681 (patch) | |
| tree | ba4c9b766281522434911af9ba1bfe2bc04d3768 /gui.go | |
| parent | ba93e331fdc2a7ec883ac2f9e954e60d99f24285 (diff) | |
make an init() function
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ import _ "github.com/andlabs/ui/winmanifest" const Xaxis = 0 // box that is horizontal const Yaxis = 1 // box that is vertical +func init() { + log.Println("gui.init() has been run") +} + func GuiInit() { Data.buttonMap = make(map[*ui.Button]*GuiButton) Data.WindowMap = make(map[string]*GuiWindow) |
