settings

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppearanceSection

type AppearanceSection struct {
	// contains filtered or unexported fields
}

AppearanceSection manages theme settings

func NewAppearanceSection

func NewAppearanceSection(callback types.ScreenCallback, config *storage.Config) *AppearanceSection

NewAppearanceSection creates a new appearance section

func (*AppearanceSection) Build

Build creates the appearance section UI

func (*AppearanceSection) SetConfig

func (a *AppearanceSection) SetConfig(config *storage.Config)

SetConfig updates the config reference

type AudioSection

type AudioSection struct {
	// contains filtered or unexported fields
}

AudioSection manages audio settings

func NewAudioSection

func NewAudioSection(callback types.ScreenCallback, config *storage.Config) *AudioSection

NewAudioSection creates a new audio section

func (*AudioSection) Build

func (a *AudioSection) Build(focus types.FocusManager) *widget.Container

Build creates the audio section UI

func (*AudioSection) SetConfig

func (a *AudioSection) SetConfig(config *storage.Config)

SetConfig updates the config reference

type LibrarySection

type LibrarySection struct {
	// contains filtered or unexported fields
}

LibrarySection manages ROM folder settings

func NewLibrarySection

func NewLibrarySection(callback types.ScreenCallback, library *storage.Library) *LibrarySection

NewLibrarySection creates a new library section

func (*LibrarySection) Build

Build creates the library section UI

func (*LibrarySection) ClearPendingScan

func (l *LibrarySection) ClearPendingScan()

ClearPendingScan clears the pending scan flag

func (*LibrarySection) HasPendingScan

func (l *LibrarySection) HasPendingScan() bool

HasPendingScan returns true if a scan should be triggered

func (*LibrarySection) SetLibrary

func (l *LibrarySection) SetLibrary(library *storage.Library)

SetLibrary updates the library reference

type RetroAchievementsSection

type RetroAchievementsSection struct {
	// contains filtered or unexported fields
}

RetroAchievementsSection manages RetroAchievements settings

func NewRetroAchievementsSection

func NewRetroAchievementsSection(
	callback types.ScreenCallback,
	config *storage.Config,
	achievementMgr *achievements.Manager,
) *RetroAchievementsSection

NewRetroAchievementsSection creates a new RetroAchievements section

func (*RetroAchievementsSection) Build

Build creates the RetroAchievements section UI

func (*RetroAchievementsSection) SetAchievements

func (r *RetroAchievementsSection) SetAchievements(mgr *achievements.Manager)

SetAchievements updates the achievement manager reference

func (*RetroAchievementsSection) SetConfig

func (r *RetroAchievementsSection) SetConfig(config *storage.Config)

SetConfig updates the config reference

func (*RetroAchievementsSection) Update

func (r *RetroAchievementsSection) Update()

Update handles keyboard shortcuts for text inputs (Ctrl+A, Ctrl+V, Ctrl+C)

type RewindSection

type RewindSection struct {
	// contains filtered or unexported fields
}

RewindSection manages rewind settings

func NewRewindSection

func NewRewindSection(callback types.ScreenCallback, config *storage.Config, serializeSize int) *RewindSection

NewRewindSection creates a new rewind section. serializeSize is the bytes per save state from SystemInfo.SerializeSize.

func (*RewindSection) Build

func (r *RewindSection) Build(focus types.FocusManager) *widget.Container

Build creates the rewind section UI

func (*RewindSection) SetConfig

func (r *RewindSection) SetConfig(config *storage.Config)

SetConfig updates the config reference

type VideoSection

type VideoSection struct {
	// contains filtered or unexported fields
}

VideoSection manages video settings including shaders

func NewVideoSection

func NewVideoSection(callback types.ScreenCallback, config *storage.Config) *VideoSection

NewVideoSection creates a new video section

func (*VideoSection) Build

func (v *VideoSection) Build(focus types.FocusManager) *widget.Container

Build creates the video section UI

func (*VideoSection) SetConfig

func (v *VideoSection) SetConfig(config *storage.Config)

SetConfig updates the config reference

Jump to

Keyboard shortcuts

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