ui

package
v0.0.0-...-65dbf8d Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddButtonHoverAnimation

func AddButtonHoverAnimation(button *widget.Button)

AddButtonHoverAnimation adds hover effects for buttons

func LoadCustomTheme

func LoadCustomTheme() fyne.Theme

LoadCustomTheme loads the custom theme for the app

func MakeInjectPage

func MakeInjectPage() fyne.CanvasObject

MakeInjectPage creates the "Inject" tab content

func MakeModsPage

func MakeModsPage() fyne.CanvasObject

MakeModsPage creates the "Mods" tab layout

func MakeWindow

func MakeWindow(a fyne.App) fyne.Window

MakeWindow creates the main window for the application

Types

type ModConfig

type ModConfig struct {
	Repo string `yaml:"repo"`
}

ModConfig represents the mod configuration file structure (from yml)

type ToontownTheme

type ToontownTheme struct{}

ToontownTheme implements fyne.Theme to create a custom look

func (*ToontownTheme) BackgroundColor

func (t *ToontownTheme) BackgroundColor() color.Color

BackgroundColor overrides the background color

func (*ToontownTheme) BorderColor

func (t *ToontownTheme) BorderColor() color.Color

BorderColor overrides the border color for custom window

func (*ToontownTheme) Font

func (t *ToontownTheme) Font(s fyne.TextStyle) fyne.Resource

Font overrides the default font with a custom Toontown font

func (*ToontownTheme) PrimaryColor

func (t *ToontownTheme) PrimaryColor() color.Color

PrimaryColor changes the primary color to a vibrant Toontown-like color

Jump to

Keyboard shortcuts

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