summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 23:49:18 -0600
committerJeff Carr <[email protected]>2025-02-06 23:49:18 -0600
commitc2f8cac4a9f9737eee5983ca7ce81fde8c102715 (patch)
treee33ca8bb88def7e0f9d4b1946c3f59a30cc0e049 /eventMouseClick.go
parent7e47ca98435ed6315f2f0c15d41a1c817576f0f3 (diff)
basic start of a stubbed out 'textbox' entry box
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 57c4580..ca361b7 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -96,6 +96,8 @@ func (tk *guiWidget) doWidgetClick(w int, h int) {
tk.showDropdown()
case widget.Dropdown:
tk.showDropdown()
+ case widget.Textbox:
+ tk.showTextbox()
case widget.Flag:
tk.dropdownClicked(w, h)
default:
@@ -104,7 +106,7 @@ func (tk *guiWidget) doWidgetClick(w int, h int) {
}
// sends the mouse click to a widget underneath
-func click(g *gocui.Gui, v *gocui.View) error {
+func clickOLD(g *gocui.Gui, v *gocui.View) error {
mouseW, mouseH := me.baseGui.MousePosition()
w := mouseW