Versions in this module Expand all Collapse all v0 v0.1.0 Apr 29, 2024 Changes in this version + const ErrBadIconSizeType + const ErrCircularDependency + const ErrDirectoryGroupMissing + const ErrEntryMissing + const ErrGroupMissing + const ErrIconNotFound + const ErrIconThemeGroupMissing + const ErrThemeNotFound + func ThemeDirs() ([]string, error) + type Directory struct + Context string + MaxSize int + MinSize int + Name string + Paths []string + Scale int + Size int + Threshold int + Type IconSizeType + func (directory Directory) Fits(size, scale int) bool + func (directory Directory) SizeDistance(size, scale int) int + type Icon struct + AttachPoints []image.Point + DisplayName keyValue.Entry + EmbeddedTextRectangle image.Rectangle + FileType IconFileType + Path string + type IconFileType uint + const PNG + const SVG + const XPM + func (ty IconFileType) Extend(name string) string + func (ty IconFileType) String() string + type IconSizeType int + const IconSizeTypeFixed + const IconSizeTypeScalable + const IconSizeTypeThreshold + func IconSizeTypeFromString(value string) (IconSizeType, error) + func (ty IconSizeType) String() string + type Theme struct + Comment keyValue.Entry + Directories []Directory + Example string + Hidden bool + Inherits []Theme + Name keyValue.Entry + ScaledDirectories []Directory + func FindTheme(name string, path ...string) (Theme, error) + func FindThemeWarn(name string, path ...string) (Theme, error) + func (theme Theme) FindIcon(name string, size, scale int, supported ...IconFileType) (Icon, error)