the

package
v0.0.0-...-cb7a979 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed fonts/SAN1.ttf
	NotoSansSC []byte
)

Functions

This section is empty.

Types

type MyTheme

type MyTheme struct{}

func (*MyTheme) Color

func (*MyTheme) Color(n fyne.ThemeColorName, v fyne.ThemeVariant) color.Color

func (MyTheme) Font

func (m MyTheme) Font(fyne.TextStyle) fyne.Resource

StaticName 为 fonts 目录下的 ttf 类型的字体文件名

func (*MyTheme) Icon

func (*MyTheme) Icon(n fyne.ThemeIconName) fyne.Resource

func (*MyTheme) Size

func (*MyTheme) Size(n fyne.ThemeSizeName) float32

Jump to

Keyboard shortcuts

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