gui

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 43 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

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

	Current fyne.Window

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

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

	MediaText             *widget.Entry
	ExternalMediaURL      *widget.Check
	SkinNextOnlySameTypes bool
	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

	MediaBrowse       *widget.Button
	ClearMedia        *widget.Button
	SubsBrowse        *widget.Button
	ActiveDeviceLabel *widget.Label
	ActiveDeviceCard  *widget.Card
	// contains filtered or unexported fields
}

FyneScreen .

func NewFyneScreen

func NewFyneScreen(version string) *FyneScreen

NewFyneScreen creates and initializes a new FyneScreen instance with the provided version string.

func (*FyneScreen) EmitMsg

func (p *FyneScreen) EmitMsg(a string)

EmitMsg Method to implement the screen interface

func (*FyneScreen) Fini

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.

func (*FyneScreen) SetMediaType added in v2.1.0

func (p *FyneScreen) SetMediaType(mediaType string)

SetMediaType Method to implement the screen interface

type RatioLayout added in v2.1.0

type RatioLayout struct {
	LeftRatio float32
}

func (*RatioLayout) Layout added in v2.1.0

func (l *RatioLayout) Layout(objects []fyne.CanvasObject, size fyne.Size)

func (*RatioLayout) MinSize added in v2.1.0

func (l *RatioLayout) MinSize(objects []fyne.CanvasObject) fyne.Size

Jump to

Keyboard shortcuts

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