bugfix: added missing changes i.e. some constans needed in Tabpane

This commit is contained in:
marigs 2015-05-26 21:37:04 +02:00
parent 5a0bce64fa
commit 52789d8258
3 changed files with 9 additions and 3 deletions

View File

@ -12,3 +12,9 @@ const HORIZONTAL_LINE = '─'
const TOP_LEFT = '┌'
const BOTTOM_RIGHT = '┘'
const BOTTOM_LEFT = '└'
const VERTICAL_LEFT = '┤'
const VERTICAL_RIGHT = '├'
const HORIZONTAL_DOWN = '┬'
const HORIZONTAL_UP = '┴'
const QUOTA_LEFT = '«'
const QUOTA_RIGHT = '»'

View File

@ -1,9 +1,7 @@
package main
import (
"github.com/gizak/termui"
//"fmt"
//"os"
"github.com/marigs/termui"
)
func main() {

View File

@ -29,6 +29,7 @@ type ColorScheme struct {
MBarChartBar Attribute
MBarChartText Attribute
MBarChartNum Attribute
TabActiveBg Attribute
}
// default color scheme depends on the user's terminal setting.
@ -58,6 +59,7 @@ var themeHelloWorld = ColorScheme{
MBarChartBar: ColorRed,
MBarChartNum: ColorWhite,
MBarChartText: ColorCyan,
TabActiveBg: ColorMagenta,
}
var theme = themeDefault // global dep