summaryrefslogtreecommitdiff
path: root/widgetDraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgetDraw.go')
-rw-r--r--widgetDraw.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/widgetDraw.go b/widgetDraw.go
index d678678..6da9fcd 100644
--- a/widgetDraw.go
+++ b/widgetDraw.go
@@ -223,17 +223,12 @@ func (tk *guiWidget) drawView() {
log.Log(INFO, "drawView() END")
}
+// redraw the widget tree starting at this location
func (w *guiWidget) DrawAt(offsetW, offsetH int) {
- // w.setColor(&colorActiveW)
w.placeWidgets(offsetW, offsetH) // compute the sizes & places for each widget
// w.dumpWidget(fmt.Sprintf("DrawAt(%d,%d)", offsetW, offsetH))
}
-func (w *guiWidget) simpleDrawAt(offsetW, offsetH int) {
- // w.setColor(&colorActiveW)
- w.dumpWidget("simpleDrawAt()")
-}
-
// display the widgets in the binary tree
func (w *guiWidget) drawTree(draw bool) {
if w == nil {