aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/interfaces.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-20 15:06:44 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-20 15:06:44 -0500
commita0c2b1caf03d0ed8b89de8402fcc14b003969e2c (patch)
treeef20eb601dcf9238b6d57aad7ae69e0f5c5d4d51 /lib/ui/interfaces.go
parent87fa305848a893b1c85472ea394f24486bd478b6 (diff)
downloadaerc-a0c2b1caf03d0ed8b89de8402fcc14b003969e2c.tar.gz
Implement the Container interface in lib/ui/
Diffstat (limited to 'lib/ui/interfaces.go')
-rw-r--r--lib/ui/interfaces.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/ui/interfaces.go b/lib/ui/interfaces.go
index 320183fe..c38fcff0 100644
--- a/lib/ui/interfaces.go
+++ b/lib/ui/interfaces.go
@@ -31,12 +31,7 @@ type DrawableInteractive interface {
// A drawable which contains other drawables
type Container interface {
Drawable
- // A list of all drawables which are children of this one (do not recurse
- // into your grandchildren).
+ // Return all of the drawables which are children of this one (do not
+ // recurse into your grandchildren).
Children() []Drawable
- // Return the "focused" child, or none of no preference. Does not actually
- // have to be Interactive. If there is a preferred child, input events will
- // be directed to it. If there's no preference, events will be delivered to
- // all children.
- InteractiveChild() Drawable
}