2014-01-15 03:11:12 +08:00
|
|
|
// Copyright 2014 The gocui Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-01-10 04:55:23 +08:00
|
|
|
package gocui
|
|
|
|
|
2014-01-10 04:58:31 +08:00
|
|
|
import "github.com/nsf/termbox-go"
|
2014-01-10 04:55:23 +08:00
|
|
|
|
|
|
|
type Attribute termbox.Attribute
|
|
|
|
|
|
|
|
const (
|
|
|
|
ColorDefault Attribute = Attribute(termbox.ColorDefault)
|
|
|
|
ColorBlack = Attribute(termbox.ColorBlack)
|
|
|
|
ColorRed = Attribute(termbox.ColorRed)
|
|
|
|
ColorGreen = Attribute(termbox.ColorGreen)
|
|
|
|
ColorYellow = Attribute(termbox.ColorYellow)
|
|
|
|
ColorBlue = Attribute(termbox.ColorBlue)
|
|
|
|
ColorMagenta = Attribute(termbox.ColorMagenta)
|
|
|
|
ColorCyan = Attribute(termbox.ColorCyan)
|
|
|
|
ColorWhite = Attribute(termbox.ColorWhite)
|
|
|
|
)
|