summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
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)