remove Render method from containerWidgets interface

This commit is contained in:
Bradley Cicenas
2017-02-26 22:55:45 +00:00
parent 70f2648952
commit 6cc357bb97
7 changed files with 108 additions and 80 deletions

View File

@@ -35,12 +35,7 @@ func (c *Container) ShortName() string {
}
func (c *Container) Expand() {
var curWidgets cwidgets.ContainerWidgets
curWidgets = c.widgets
c.widgets = expanded.NewExpanded(c.ShortID(), c.name)
c.widgets.Render(0, 0)
c.widgets = curWidgets
}
func (c *Container) SetState(s string) {