diff options
| -rw-r--r-- | button.go | 4 | ||||
| -rw-r--r-- | debug.go | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -68,7 +68,7 @@ func CreateButton(box *GuiBox, custom func(*GuiButton), name string, values inte Data.AllButtons = append(Data.AllButtons, newB) - box.UiBox.Append(newB.B, false) + box.Append(newB.B, false) return newB } @@ -110,6 +110,6 @@ func CreateColorButton(box *GuiBox, custom func(*GuiButton), name string, values Data.MouseClick(&newCB) } }) - box.UiBox.Append(newCB.CB, false) + box.Append(newCB.CB, false) return &newCB } @@ -30,6 +30,12 @@ func WatchGUI() { } } +func DumpMap() { + for name, _ := range Data.WindowMap { + log.Println("gui.DumpBoxes() MAP: ", name) + } +} + func DumpBoxes() { for name, window := range Data.WindowMap { log.Println("gui.DumpBoxes() MAP: ", name) |
