Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddButtonHoverAnimation ¶
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
Click to show internal directories.
Click to hide internal directories.