ui

package
v0.0.0-...-88569e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPrimitiveCloser

type IPrimitiveCloser interface {
	tview.Primitive
	io.Closer
	UpdateContent() error
	Name() string
	OrderNumber() int
}

func NewPrimitiveNoCloser

func NewPrimitiveNoCloser(slideOrderNumber int, slideName string, primitive tview.Primitive) IPrimitiveCloser

func NewPrimitiveWithCloser

func NewPrimitiveWithCloser(
	slideOrderNumber int,
	slideName string,
	primitive tview.Primitive,
	closers []IPrimitiveCloser,
) IPrimitiveCloser

type IScreenDrawToggle

type IScreenDrawToggle interface {
	Toggle(bool)
}

type PagePaintToggle

type PagePaintToggle struct {
	// contains filtered or unexported fields
}

func NewPagePaintToggle

func NewPagePaintToggle(pages *tview.Pages) *PagePaintToggle

func (*PagePaintToggle) SetChangedFunc

func (self *PagePaintToggle) SetChangedFunc()

func (*PagePaintToggle) SetCurrent

func (self *PagePaintToggle) SetCurrent(page string, item tview.Primitive)

type PrimitiveNoCloser

type PrimitiveNoCloser struct {
	// contains filtered or unexported fields
}

func (*PrimitiveNoCloser) Blur

func (self *PrimitiveNoCloser) Blur()

func (*PrimitiveNoCloser) Close

func (self *PrimitiveNoCloser) Close() error

func (*PrimitiveNoCloser) Draw

func (self *PrimitiveNoCloser) Draw(screen tcell.Screen)

func (*PrimitiveNoCloser) Focus

func (self *PrimitiveNoCloser) Focus(delegate func(p tview.Primitive))

func (*PrimitiveNoCloser) GetRect

func (self *PrimitiveNoCloser) GetRect() (int, int, int, int)

func (*PrimitiveNoCloser) HasFocus

func (self *PrimitiveNoCloser) HasFocus() bool

func (*PrimitiveNoCloser) InputHandler

func (self *PrimitiveNoCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

func (*PrimitiveNoCloser) MouseHandler

func (self *PrimitiveNoCloser) MouseHandler() func(action tview.MouseAction, event *tcell.EventMouse, setFocus func(p tview.Primitive)) (consumed bool, capture tview.Primitive)

func (*PrimitiveNoCloser) Name

func (self *PrimitiveNoCloser) Name() string

func (*PrimitiveNoCloser) OrderNumber

func (self *PrimitiveNoCloser) OrderNumber() int

func (*PrimitiveNoCloser) SetRect

func (self *PrimitiveNoCloser) SetRect(x, y, width, height int)

func (*PrimitiveNoCloser) UpdateContent

func (self *PrimitiveNoCloser) UpdateContent() error

type PrimitiveWithCloser

type PrimitiveWithCloser struct {
	// contains filtered or unexported fields
}

func (*PrimitiveWithCloser) Blur

func (self *PrimitiveWithCloser) Blur()

func (*PrimitiveWithCloser) Close

func (self *PrimitiveWithCloser) Close() error

func (*PrimitiveWithCloser) Draw

func (self *PrimitiveWithCloser) Draw(screen tcell.Screen)

func (*PrimitiveWithCloser) Focus

func (self *PrimitiveWithCloser) Focus(delegate func(p tview.Primitive))

func (*PrimitiveWithCloser) GetRect

func (self *PrimitiveWithCloser) GetRect() (int, int, int, int)

func (*PrimitiveWithCloser) HasFocus

func (self *PrimitiveWithCloser) HasFocus() bool

func (*PrimitiveWithCloser) InputHandler

func (self *PrimitiveWithCloser) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

func (*PrimitiveWithCloser) MouseHandler

func (self *PrimitiveWithCloser) MouseHandler() func(action tview.MouseAction, event *tcell.EventMouse, setFocus func(p tview.Primitive)) (consumed bool, capture tview.Primitive)

func (*PrimitiveWithCloser) Name

func (self *PrimitiveWithCloser) Name() string

func (*PrimitiveWithCloser) OrderNumber

func (self *PrimitiveWithCloser) OrderNumber() int

func (*PrimitiveWithCloser) SetRect

func (self *PrimitiveWithCloser) SetRect(x, y, width, height int)

func (*PrimitiveWithCloser) UpdateContent

func (self *PrimitiveWithCloser) UpdateContent() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL