make an init() function
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
999a8fd199
commit
030b9b1600
4
gui.go
4
gui.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue