gui

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

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

Start .

Types

type FyneScreen added in v1.18.0

type FyneScreen 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, *FyneScreen, *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
}

FyneScreen .

func NewFyneScreen added in v1.18.0

func NewFyneScreen(version string) *FyneScreen

NewFyneScreen .

func (*FyneScreen) EmitMsg added in v1.18.0

func (p *FyneScreen) EmitMsg(a string)

EmitMsg Method to implement the screen interface

func (*FyneScreen) Fini added in v1.18.0

func (p *FyneScreen) 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
JackTT - Gopher 🇻🇳