Documentation ¶
Overview ¶
Package display implements an Fyne-backed preview window.
Package display implements an SDL-backed preview window. The way SDL is shoehorned into Go makes for some intereasting limitations in regards to how multithreading is managed. This will probably be replaced by something Vulkan-backed in the future. nolint TODO: Reimplement this using fyne.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayTile ¶
type FyneDisplay ¶
type FyneDisplay struct {
// contains filtered or unexported fields
}
func NewFyneDisplay ¶
func NewFyneDisplay(name string, width int, height int, input chan DisplayTile) *FyneDisplay
func (*FyneDisplay) Start ¶
func (fd *FyneDisplay) Start()
func (*FyneDisplay) Wait ¶
func (fd *FyneDisplay) Wait()
type SDLDisplay ¶
type SDLDisplay struct {
// contains filtered or unexported fields
}
func NewSDLDisplay ¶
func NewSDLDisplay(name string, width int, height int, input chan DisplayTile) *SDLDisplay
func (*SDLDisplay) Start ¶
func (sd *SDLDisplay) Start()
func (*SDLDisplay) Wait ¶
func (sd *SDLDisplay) Wait()
Click to show internal directories.
Click to hide internal directories.