1// Copyright 2014 The gocui Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package gocui
6
7import "github.com/nsf/termbox-go"
8
9// Attribute represents a terminal attribute, like color, font style, etc. They
10// can be combined using bitwise OR (|). Note that it is not possible to
11// combine multiple color attributes.
12type Attribute termbox.Attribute
13
14// Color attributes.
15const (
16	ColorDefault Attribute = Attribute(termbox.ColorDefault)
17	ColorBlack             = Attribute(termbox.ColorBlack)
18	ColorRed               = Attribute(termbox.ColorRed)
19	ColorGreen             = Attribute(termbox.ColorGreen)
20	ColorYellow            = Attribute(termbox.ColorYellow)
21	ColorBlue              = Attribute(termbox.ColorBlue)
22	ColorMagenta           = Attribute(termbox.ColorMagenta)
23	ColorCyan              = Attribute(termbox.ColorCyan)
24	ColorWhite             = Attribute(termbox.ColorWhite)
25)
26
27// Text style attributes.
28const (
29	AttrBold      Attribute = Attribute(termbox.AttrBold)
30	AttrUnderline           = Attribute(termbox.AttrUnderline)
31	AttrReverse             = Attribute(termbox.AttrReverse)
32)
33