summaryrefslogtreecommitdiff
path: root/treeDraw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-03 15:47:50 -0600
committerJeff Carr <[email protected]>2025-02-03 15:47:50 -0600
commitacb0e43945f75ef3cfeed6588a164901f69b9212 (patch)
treebdf79a8198d2e48f37bcb03d717a435d44e6d339 /treeDraw.go
parent65622d01cd303f6e357d32e4ad6ab8b42755f74c (diff)
notsure
Diffstat (limited to 'treeDraw.go')
-rw-r--r--treeDraw.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/treeDraw.go b/treeDraw.go
index 6a171e1..7c42693 100644
--- a/treeDraw.go
+++ b/treeDraw.go
@@ -21,6 +21,12 @@ func (w *guiWidget) DrawAt(offsetW, offsetH int) {
w.dumpWidget("DrawAt()")
}
+func (w *guiWidget) simpleDrawAt(offsetW, offsetH int) {
+ w.setColor(&colorActiveW)
+ w.active = false
+ w.dumpWidget("simpleDrawAt()")
+}
+
func (w *guiWidget) toggleTree() {
if toggle {
w.drawTree(toggle)