diff options
| author | Jeff Carr <[email protected]> | 2021-10-04 23:38:45 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-04 23:38:45 -0500 |
| commit | 10292371973f65fda2997eda41e911fc48f45414 (patch) | |
| tree | 68442a4716c420dbdc9d54f5e473de671e62c6fa /window.go | |
| parent | e5b4e184fc20e13e4744ea7b3a46d57055460864 (diff) | |
ANALABS: work on improving the abstraction
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -204,6 +204,11 @@ func CreateBlankWindow(title string, x int, y int) *GuiBox { newGuiWindow.Name = title newGuiWindow.UiWindow = window + newGuiWindow.BoxMap = make(map[string]*GuiBox) + newGuiWindow.EntryMap = make(map[string]*GuiEntry) + + Data.WindowMap[newGuiWindow.Name] = &newGuiWindow + var box GuiBox box.Window = &newGuiWindow |
