diff options
| author | Jeff Carr <[email protected]> | 2019-05-27 16:27:43 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-27 16:27:43 -0700 |
| commit | acefe2924215e3c70129c4017e8d58afb53372e5 (patch) | |
| tree | 8c6369de85515200a966680858c0dae44556c63e /area.go | |
| parent | e04e84aba2f39eeaba8b3f5a2fcdcfa48ecb71a2 (diff) | |
start an Entries map
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -13,24 +13,20 @@ func makeSplashArea() *ui.Area { Data.fontButton = CreateFontButton("SplashFont", "DONE") makeAttributedString() - splashArea := ui.NewArea(myAH) + Data.splashArea = ui.NewArea(myAH) // create a 'fake' button entry for the mouse clicks var newmap ButtonMap newmap.Action = "AREA" - newmap.A = splashArea - + newmap.A = Data.splashArea myAH.button = &newmap Data.AllButtons = append(Data.AllButtons, newmap) - Data.splashArea = splashArea if (Data.Debug) { spew.Dump(Data.splashArea) log.Println("DEBUGGING", Data.Debug) } else { log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button) - log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button) - log.Println("NOT DEBUGGING AREA mhAH.button =", myAH.button) } return Data.splashArea } |
