components

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlsPane

type ControlsPane struct {
	Container      *fyne.Container
	Label          *widget.Label
	PlayBtn        *widget.Button
	FastPlayBtn    *widget.Button
	StepPlayBtn    *widget.Button
	StepOnePlayBtn *widget.Button
	ResetBtn       *widget.Button
	StepSpinBox    *extension.NumericalEntry
}

func NewControlsPane

func NewControlsPane() *ControlsPane

func (*ControlsPane) CreateAndFillContainer

func (cp *ControlsPane) CreateAndFillContainer()

func (*ControlsPane) DisableControls

func (cp *ControlsPane) DisableControls()

func (*ControlsPane) EnableControls

func (cp *ControlsPane) EnableControls()

func (*ControlsPane) InitPane

func (cp *ControlsPane) InitPane()

type InterfacesPane

type InterfacesPane struct {
	NicService        nic.NicServiceInterface
	Container         *fyne.Container
	Label             *widget.Label
	ComboBox          *widget.Select
	SelectedInterface *selectedInterface
}

func NewInterfacesPane

func NewInterfacesPane(ns nic.NicServiceInterface) *InterfacesPane

func (*InterfacesPane) CreateAndFillContainer

func (ip *InterfacesPane) CreateAndFillContainer()

func (*InterfacesPane) InitPane

func (ip *InterfacesPane) InitPane()

type ReplayPane

type ReplayPane struct {
	// Main
	Container *fyne.Container
	Label     *widget.Label
	// todo: sneaky reference to the main window maybe?
	MainWindow *fyne.Window
	// Stats
	//Stats1   *widget.Entry
	//Stats2   *widget.Entry
	Stats1   *widget.Label
	Stats2   *widget.Label
	StatPBar *widget.ProgressBar
	// File
	FileField  *widget.Entry
	FileDialog *dialog.FileDialog
	FileButton *widget.Button
}

func NewReplayPane

func NewReplayPane() *ReplayPane

func (*ReplayPane) CreateAndFillContainer

func (rp *ReplayPane) CreateAndFillContainer()

func (*ReplayPane) InitPane

func (rp *ReplayPane) InitPane()

Jump to

Keyboard shortcuts

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