diff options
| author | Jeff Carr <[email protected]> | 2019-06-03 12:56:33 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-03 12:56:33 -0700 |
| commit | 3a94b27b6308b41f54753b5ae0e38ed97837e440 (patch) | |
| tree | 8e9c25b7b41171484aa6b51af4bc87f3f0ea645d /area.go | |
| parent | cc9edaab3a6d7594fac6ce082b3b2feed2114ced (diff) | |
better display and debugging
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
@@ -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 |
