ui

package
v0.0.0-...-290d03d Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLogWidget

type EventLogWidget struct {
	History binding.ExternalStringList
	// contains filtered or unexported fields
}

func NewEventLogWidget

func NewEventLogWidget() *EventLogWidget

type HomeWidget

type HomeWidget struct {
	Username binding.String
	State    *widget.Button
	Classic  *widget.Button
	ARAM     *widget.Button
	// contains filtered or unexported fields
}

func NewHomeWidget

func NewHomeWidget() *HomeWidget

type PreferencesWidget

type PreferencesWidget struct {
	Champion   *widget.Select
	Identifier map[string]string
	Preference map[string]model.Preference
	Spell      []string
	ARAM_X     *widget.Select
	ARAM_Y     *widget.Select
	Classic_X  *widget.Select
	Classic_Y  *widget.Select
	OFA_X      *widget.Select
	OFA_Y      *widget.Select
	URF_X      *widget.Select
	URF_Y      *widget.Select
	Save       *widget.Button
	Reset      *widget.Button
	// contains filtered or unexported fields
}

func NewPreferencesWidget

func NewPreferencesWidget() *PreferencesWidget

func (*PreferencesWidget) Create

func (preferences *PreferencesWidget) Create()

func (*PreferencesWidget) ResetPreference

func (preferences *PreferencesWidget) ResetPreference()

func (*PreferencesWidget) SavePreference

func (preferences *PreferencesWidget) SavePreference()

func (*PreferencesWidget) SetPreference

func (preferences *PreferencesWidget) SetPreference(name string)

func (*PreferencesWidget) SetPreferences

func (widget *PreferencesWidget) SetPreferences(preferences *preferences.Preferences)

type SettingsWidget

type SettingsWidget struct {
	Save    *widget.Button
	Restart *widget.Button
	// contains filtered or unexported fields
}

func NewSettingsWidget

func NewSettingsWidget() *SettingsWidget

func (*SettingsWidget) Create

func (settings *SettingsWidget) Create()

func (*SettingsWidget) Get

func (settings *SettingsWidget) Get() map[string]string

func (*SettingsWidget) SetSettings

func (widget *SettingsWidget) SetSettings(settings *settings.Settings)

type UI

type UI struct {
	App         fyne.App
	Window      fyne.Window
	Home        *HomeWidget
	Event       *EventLogWidget
	Preferences *PreferencesWidget
	Settings    *SettingsWidget
}

func NewUI

func NewUI() *UI

func (*UI) Clear

func (ui *UI) Clear()

func (*UI) Create

func (ui *UI) Create()

func (*UI) Restart

func (ui *UI) Restart()

func (*UI) SetPreferences

func (ui *UI) SetPreferences(preferences *preferences.Preferences)

func (*UI) SetSettings

func (ui *UI) SetSettings(settings *settings.Settings)

Jump to

Keyboard shortcuts

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