From acefe2924215e3c70129c4017e8d58afb53372e5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 27 May 2019 16:27:43 -0700 Subject: start an Entries map Signed-off-by: Jeff Carr --- area.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'area.go') diff --git a/area.go b/area.go index cbf129f..2d4ae59 100644 --- a/area.go +++ b/area.go @@ -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 } -- cgit v1.2.3