summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-04 14:27:32 -0600
committerJeff Carr <[email protected]>2025-02-04 14:27:32 -0600
commitbf8cbddf1ac6b65c1a77dae0b7ccd910a9e96a3d (patch)
treebda3af3732978d0441ea46b91145fa0af85b0d09 /eventMouseClick.go
parent4e5c6f25156318e7c05b847eca12bf200ce3dcf6 (diff)
add findWindows()
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 8c32910..3707ae0 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -9,21 +9,6 @@ import (
"go.wit.com/widget"
)
-func (tk *guiWidget) redrawWindow(w int, h int) {
- if tk.node.WidgetType != widget.Window {
- return
- }
- tk.setFullSize() // might make the green box the right size
-
- tk.DrawAt(w, h)
- tk.setColor(&colorActiveW) // sets the window to Green BG
- tk.placeWidgets(w, h) // compute the sizes & places for each widget
- tk.showWidgets()
-
- tk.setFullSize()
- me.baseGui.SetView(tk.cuiName, tk.gocuiSize.w0, tk.gocuiSize.h0, tk.gocuiSize.w1, tk.gocuiSize.h1, 0)
-}
-
// this whole things was impossible to make but it got me where I am now
// the debugging is way way better now with it being visible in the Stdout window
// so now it's possible to redo all this and make it better