init expanded view, add cpu histogram

This commit is contained in:
Bradley Cicenas
2017-01-06 19:46:30 +00:00
parent bebdfd844f
commit 99aac17030
6 changed files with 162 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ import (
type ContainerWidgets interface {
Row() *ui.Row
Render()
Highlight()
UnHighlight()
SetCPU(int)
@@ -34,6 +35,9 @@ func NewCompact(id string, name string) *Compact {
}
}
func (w *Compact) Render() {
}
func (w *Compact) Row() *ui.Row {
return ui.NewRow(
ui.NewCol(2, 0, w.Name),