Documentation ¶
Index ¶
- type EventLogWidget
- type HomeWidget
- type PreferencesWidget
- func (preferences *PreferencesWidget) Create()
- func (preferences *PreferencesWidget) ResetPreference()
- func (preferences *PreferencesWidget) SavePreference()
- func (preferences *PreferencesWidget) SetPreference(name string)
- func (widget *PreferencesWidget) SetPreferences(preferences *preferences.Preferences)
- type SettingsWidget
- type UI
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 (*UI) SetPreferences ¶
func (ui *UI) SetPreferences(preferences *preferences.Preferences)
func (*UI) SetSettings ¶
Click to show internal directories.
Click to hide internal directories.