summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-30 00:51:59 -0700
committerJeff Carr <[email protected]>2019-05-30 00:51:59 -0700
commitbcd3d85b793e6e19b653fb910d960d017c1fac70 (patch)
treef33879b60f83eab78daacf5074c28cf3036eb71e /area.go
parent5b25c0a80b2183c66e85ed437f1fb3b7409933b1 (diff)
more work on stability
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
-rw-r--r--area.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/area.go b/area.go
index 7ea70e3..9c1e5b9 100644
--- a/area.go
+++ b/area.go
@@ -20,17 +20,17 @@ func findFB(button *ButtonMap) *ButtonMap {
return a
}
-func makeSplashArea(ah *AreaHandler) {
+func makeSplashArea(wm *WindowMap, ah *AreaHandler) {
// make this button just to get the default font (but don't display the button)
// There should be another way to do this (?)
- wm := ah.WM
- newB := CreateFontButton(wm, "AREA")
+ newB := CreateFontButton(wm, "AREA")
// ah.Attrstr = makeAttributedString()
ah.Area = ui.NewArea(ah)
newB.A = ah.Area
- Data.AllButtons[1].A = ah.Area
- ah.Button = &Data.AllButtons[1]
+ // Data.AllButtons[1].A = ah.Area
+ // ah.Button = &Data.AllButtons[1]
+ ah.Button = newB
if (Data.Debug) {
spew.Dump(ah.Area)