gui

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SystemVariant fyne.ThemeVariant = 999
)

Functions

func Start

func Start(ctx context.Context, s *NewScreen)

Start .

Types

type NewScreen

type NewScreen struct {
	SelectInternalSubs *widget.Select
	CurrentPos         binding.String
	EndPos             binding.String

	Current fyne.Window

	PlayPause *widget.Button
	Debug     *debugWriter
	VolumeUp  *widget.Button

	CheckVersion      *widget.Button
	SubsText          *widget.Entry
	CustomSubsCheck   *widget.Check
	NextMediaCheck    *widget.Check
	TranscodeCheckBox *widget.Check
	Stop              *widget.Button
	DeviceList        *deviceList

	MediaText           *widget.Entry
	ExternalMediaURL    *widget.Check
	GaplessMediaWatcher func(context.Context, *NewScreen, *soapcalls.TVPayload)
	SlideBar            *tappedSlider
	MuteUnmute          *widget.Button
	VolumeDown          *widget.Button

	State string

	Medialoop bool

	Transcode    bool
	ErrorVisible bool
	Hotkeys      bool
	// contains filtered or unexported fields
}

NewScreen .

func InitFyneNewScreen

func InitFyneNewScreen(version string) *NewScreen

InitFyneNewScreen .

func (*NewScreen) EmitMsg

func (p *NewScreen) EmitMsg(a string)

EmitMsg Method to implement the screen interface

func (*NewScreen) Fini

func (p *NewScreen) Fini()

Fini Method to implement the screen interface. Will only be executed when we receive a callback message, not when we explicitly click the Stop button.

Jump to

Keyboard shortcuts

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