diff options
| author | Jeff Carr <[email protected]> | 2019-06-03 17:10:50 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-03 17:10:50 -0700 |
| commit | c18bfd884be56f7957869dfb5e6daeddd4985244 (patch) | |
| tree | 6a33e2f42eb57dc99118f3a7671cbae8ebccad0c /area.go | |
| parent | 015d6a25ec8429f6a1ff6f7aee58f7d5cf0c0280 (diff) | |
| parent | 70779ab33b662d3e7849133f57521c2ce217bf96 (diff) | |
Merge branch 'master' into devel
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,7 +107,7 @@ func (ah GuiArea) KeyEvent(a *ui.Area, ke *ui.AreaKeyEvent) (handled bool) { return false } -func ShowTextBox(gw *GuiWindow, newText *ui.AttributedString, custom func(*GuiButton)) *GuiBox { +func ShowTextBox(gw *GuiWindow, newText *ui.AttributedString, custom func(*GuiButton), name string) *GuiBox { log.Println("ShowTextBox() START") if (gw == nil) { log.Println("ShowTextBox() ERROR gw = nil") @@ -118,7 +118,7 @@ func ShowTextBox(gw *GuiWindow, newText *ui.AttributedString, custom func(*GuiBu var newbox *GuiBox newbox = new(GuiBox) newbox.Window = gw - newbox.Name = "Hbox1" + newbox.Name = name hbox := ui.NewVerticalBox() newbox.UiBox = hbox |
