Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceFont = GetResource(GetRunnerPath() + "/res-static/fonts/Alibaba-PuHuiTi-Regular.ttf")
View Source
var ResourceIcon = GetResource(GetRunnerPath() + "/res-static/icon/icon.png")
Functions ¶
func GetResource ¶
func GetResource(resourcePath string) *fyne.StaticResource
func GetRunnerPath ¶
func GetRunnerPath() string
Types ¶
type CustomerTheme ¶
type CustomerTheme struct{}
func (*CustomerTheme) Color ¶
func (t *CustomerTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color
func (*CustomerTheme) Font ¶
func (*CustomerTheme) Font(s fyne.TextStyle) fyne.Resource
func (*CustomerTheme) Icon ¶
func (t *CustomerTheme) Icon(name fyne.ThemeIconName) fyne.Resource
func (*CustomerTheme) Size ¶
func (t *CustomerTheme) Size(name fyne.ThemeSizeName) float32
Click to show internal directories.
Click to hide internal directories.