2017-01-22 05:13:37 +00:00
|
|
|
// +build !ncurses
|
|
|
|
// +build !tcell
|
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package tui
|
|
|
|
|
|
|
|
type Attr int
|
|
|
|
|
|
|
|
func HasFullscreenRenderer() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (a Attr) Merge(b Attr) Attr {
|
|
|
|
return a | b
|
|
|
|
}
|
|
|
|
|
|
|
|
const (
|
|
|
|
AttrRegular Attr = Attr(0)
|
|
|
|
Bold = Attr(1)
|
|
|
|
Dim = Attr(1 << 1)
|
|
|
|
Italic = Attr(1 << 2)
|
|
|
|
Underline = Attr(1 << 3)
|
|
|
|
Blink = Attr(1 << 4)
|
|
|
|
Blink2 = Attr(1 << 5)
|
|
|
|
Reverse = Attr(1 << 6)
|
|
|
|
)
|
|
|
|
|
2020-05-17 17:33:37 +00:00
|
|
|
func (r *FullscreenRenderer) Init() {}
|
|
|
|
func (r *FullscreenRenderer) Pause(bool) {}
|
|
|
|
func (r *FullscreenRenderer) Resume(bool, bool) {}
|
|
|
|
func (r *FullscreenRenderer) Clear() {}
|
|
|
|
func (r *FullscreenRenderer) Refresh() {}
|
|
|
|
func (r *FullscreenRenderer) Close() {}
|
2017-01-22 05:13:37 +00:00
|
|
|
|
2020-10-18 08:03:33 +00:00
|
|
|
func (r *FullscreenRenderer) GetChar() Event { return Event{} }
|
|
|
|
func (r *FullscreenRenderer) MaxX() int { return 0 }
|
|
|
|
func (r *FullscreenRenderer) MaxY() int { return 0 }
|
2017-01-22 05:13:37 +00:00
|
|
|
|
|
|
|
func (r *FullscreenRenderer) RefreshWindows(windows []Window) {}
|
|
|
|
|
2019-12-12 14:03:17 +00:00
|
|
|
func (r *FullscreenRenderer) NewWindow(top int, left int, width int, height int, preview bool, borderStyle BorderStyle) Window {
|
2017-01-22 05:13:37 +00:00
|
|
|
return nil
|
|
|
|
}
|