2018-07-22 03:43:01 +00:00
|
|
|
package balance
|
|
|
|
|
2018-08-05 19:54:57 +00:00
|
|
|
import (
|
|
|
|
"git.kirsle.net/apps/doodle/render"
|
|
|
|
)
|
2018-07-22 03:43:01 +00:00
|
|
|
|
|
|
|
// Shell related variables.
|
|
|
|
var (
|
|
|
|
// TODO: why not renders transparent
|
2018-08-05 19:54:57 +00:00
|
|
|
ShellBackgroundColor = render.RGBA(0, 10, 20, 128)
|
2018-07-22 03:43:01 +00:00
|
|
|
ShellForegroundColor = render.White
|
|
|
|
ShellPadding int32 = 8
|
2018-07-24 03:10:53 +00:00
|
|
|
ShellFontSize = 16
|
2018-07-22 03:43:01 +00:00
|
|
|
ShellCursorBlinkRate uint64 = 20
|
|
|
|
ShellHistoryLineCount = 8
|
|
|
|
|
|
|
|
// Ticks that a flashed message persists for.
|
2018-07-24 03:10:53 +00:00
|
|
|
FlashTTL uint64 = 400
|
2018-07-22 03:43:01 +00:00
|
|
|
)
|
2018-08-05 19:54:57 +00:00
|
|
|
|
|
|
|
// StatusFont is the font for the status bar.
|
|
|
|
var StatusFont = render.Text{
|
|
|
|
Size: 12,
|
|
|
|
Padding: 4,
|
|
|
|
Color: render.Black,
|
|
|
|
}
|