diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 22:22:04 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 22:22:04 -0700 |
| commit | 5336ee2444a831e10600f8573d4460e7d7e3f9e8 (patch) | |
| tree | b4839dbc86267fbf46ef2bbbe04fa62be1d6391b /button.go | |
| parent | 4c76bfac47ff1ac0a9901e489e11c97b537168d7 (diff) | |
make a buttonMap
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ func guiButtonClick(button *GuiButton) { } } -func NewCreateButton(box *GuiBox, custom func(*GuiButton), name string, values interface {}) *GuiButton { +func CreateButton(box *GuiBox, custom func(*GuiButton), name string, values interface {}) *GuiButton { newUiB := ui.NewButton(name) newUiB.OnClicked(defaultButtonClick) |
