code formatting

This commit is contained in:
Tim Cooper
2014-12-22 20:37:36 -04:00
parent 686fb79e8f
commit 497db88dcb
5 changed files with 7 additions and 12 deletions

View File

@@ -7,9 +7,8 @@ import (
)
type Label struct {
Text string
Fg Attribute
Bg Attribute
Text string
Fg, Bg Attribute
ui *Ui
x0, y0, x1, y1 int

View File

@@ -8,9 +8,8 @@ import (
)
type Textbox struct {
Text string
Fg Attribute
Bg Attribute
Text string
Fg, Bg Attribute
Input func(ui *Ui, textbox *Textbox, text string)

View File

@@ -9,8 +9,7 @@ import (
type Textview struct {
Lines []string
CurrentLine int
Fg Attribute
Bg Attribute
Fg, Bg Attribute
parsedLines []string

View File

@@ -18,8 +18,7 @@ type renderedTreeItem struct {
}
type Tree struct {
Fg Attribute
Bg Attribute
Fg, Bg Attribute
Generator func(item TreeItem) []TreeItem
Listener func(ui *Ui, tree *Tree, item TreeItem)

View File

@@ -15,8 +15,7 @@ type UiManager interface {
}
type Ui struct {
Fg Attribute
Bg Attribute
Fg, Bg Attribute
close chan bool
manager UiManager