summaryrefslogtreecommitdiff
path: root/treeDraw.go
diff options
context:
space:
mode:
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)