aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/interfaces.go')
-rw-r--r--lib/ui/interfaces.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ui/interfaces.go b/lib/ui/interfaces.go
index 9e795712..c12bdb76 100644
--- a/lib/ui/interfaces.go
+++ b/lib/ui/interfaces.go
@@ -16,6 +16,10 @@ type Drawable interface {
Invalidate()
}
+type RootDrawable interface {
+ Initialize(ui *UI)
+}
+
type Interactive interface {
// Returns true if the event was handled by this component
Event(event tcell.Event) bool