diff options
| author | Jeff Carr <[email protected]> | 2019-05-30 00:51:59 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-30 00:51:59 -0700 |
| commit | bcd3d85b793e6e19b653fb910d960d017c1fac70 (patch) | |
| tree | f33879b60f83eab78daacf5074c28cf3036eb71e /area.go | |
| parent | 5b25c0a80b2183c66e85ed437f1fb3b7409933b1 (diff) | |
more work on stability
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) |
