diff options
| author | Jeff Carr <[email protected]> | 2019-06-01 12:43:40 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-01 12:43:40 -0700 |
| commit | c5f9c6d96f1ce960fa08ab2c77b348a5bcdf03ea (patch) | |
| tree | c0b1e42a90b42cbc2f8a5f23cf5ef3392817c114 /area.go | |
| parent | 1e51d3252b032fd60566834e17973c134e4ad18c (diff) | |
rename fields
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ func makeSplashArea(gb *GuiBox, newText *ui.AttributedString) { var newB *GuiButton newB = CreateFontButton(gb, "AREA") newB.Box = gb - newB.GW = gb.W + newB.GW = gb.Window // initialize the GuiArea{} gb.Area = new(GuiArea) @@ -124,7 +124,7 @@ func ShowTextBox(gw *GuiWindow, newText *ui.AttributedString) *GuiBox { newbox := ui.NewVerticalBox() newbox.SetPadded(true) gb.UiBox = newbox - gb.W = gw + gb.Window = gw gw.BoxMap["Splash"] = gb makeSplashArea(gb, newText) |
