about summary refs log tree commit diff stats
path: root/lib/ui/borders.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/borders.go
parent87fa305848a893b1c85472ea394f24486bd478b6 (diff)
downloadaerc-a0c2b1caf03d0ed8b89de8402fcc14b003969e2c.tar.gz
Implement the Container interface in lib/ui/
Diffstat (limited to 'lib/ui/borders.go')
-rw-r--r--lib/ui/borders.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ui/borders.go b/lib/ui/borders.go
index 38b35fd..97df5df 100644
--- a/lib/ui/borders.go
+++ b/lib/ui/borders.go
@@ -30,6 +30,10 @@ func (bordered *Bordered) contentInvalidated(d Drawable) {
 	bordered.Invalidate()
 }
 
+func (bordered *Bordered) Children() []Drawable {
+	return []Drawable{bordered.content}
+}
+
 func (bordered *Bordered) Invalidate() {
 	if bordered.onInvalidate != nil {
 		bordered.onInvalidate(bordered)
dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
[colours]
bkgnd=white
titlebar=blue
statusbar=blue
titlebar.text=white
titlebar.brackets=white
statusbar.text=white
statusbar.brackets=white
statusbar.active=megenta
statusbar.new=red
main.text=black
input.text=black
main.time=black
main.splash=black
online=green
away=cyan
chat=green
dnd=red
xa=cyan
offline=red
typing=yellow
gone=red
error=red
incoming=yellow
roominfo=yellow
me=yellow
them=green