theme

package
v0.0.0-...-ca3d120 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

The default theme of Fyne is missing CJK font support, UnicodeTheme

inherts the default theme with CJK characters support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractXZ

func ExtractXZ(original []byte) ([]byte, error)

func NewResource

func NewResource(name string, data []byte) *fyne.StaticResource

Types

type UnicodeTheme

type UnicodeTheme struct{}

func (*UnicodeTheme) Color

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

func (*UnicodeTheme) Font

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

func (*UnicodeTheme) Icon

func (t *UnicodeTheme) Icon(n fyne.ThemeIconName) fyne.Resource

func (*UnicodeTheme) Size

func (t *UnicodeTheme) Size(n fyne.ThemeSizeName) float32

Jump to

Keyboard shortcuts

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