diff options
| author | Jeff Carr <[email protected]> | 2019-05-30 09:58:05 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-30 09:58:05 -0700 |
| commit | 469c7bdd508b25577512704689fd3457aa045ce0 (patch) | |
| tree | 1319e8f10395f90972980022df90022e32b71889 /area.go | |
| parent | 2b7c2022be24a454c79a613332487fe7faea508e (diff) | |
more variable name changes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,16 +25,16 @@ func makeSplashArea(wm *GuiWindow, ah *GuiArea) { // There should be another way to do this (?) newB := CreateFontButton(wm, "AREA") - // ah.Attrstr = makeAttributedString() - ah.Area = ui.NewArea(ah) - newB.A = ah.Area + // ah.UiAttrstr = makeAttributedString() + ah.UiArea = ui.NewArea(ah) + newB.A = ah.UiArea newB.WM = wm - // Data.AllButtons[1].A = ah.Area + // Data.AllButtons[1].A = ah.UiArea // ah.Button = &Data.AllButtons[1] ah.Button = newB if (Data.Debug) { - spew.Dump(ah.Area) + spew.Dump(ah.UiArea) log.Println("DEBUGGING", Data.Debug) } else { log.Println("NOT DEBUGGING AREA mhAH.Button =", ah.Button) @@ -61,7 +61,7 @@ func appendWithAttributes(newText *ui.AttributedString, what string, attrs ...ui func (ah GuiArea) Draw(a *ui.Area, p *ui.AreaDrawParams) { tl := ui.DrawNewTextLayout(&ui.DrawTextLayoutParams{ - String: ah.Attrstr, + String: ah.UiAttrstr, DefaultFont: ah.Button.FB.Font(), Width: p.AreaWidth, Align: ui.DrawTextAlign(1), |
