Update code for icon sets
This commit is contained in:
@@ -14,13 +14,13 @@ import "git.tebibyte.media/tomo/tomo/canvas"
|
||||
|
||||
type iconTheme struct {
|
||||
xdg xdgIconTheme.Theme
|
||||
fallback tomo.Icons
|
||||
fallback tomo.IconSet
|
||||
texturesSmall map[tomo.Icon] canvas.Texture
|
||||
texturesMedium map[tomo.Icon] canvas.Texture
|
||||
texturesLarge map[tomo.Icon] canvas.Texture
|
||||
}
|
||||
|
||||
func FindThemeWarn (name string, fallback tomo.Icons, path ...string) (tomo.Icons, error) {
|
||||
func FindThemeWarn (name string, fallback tomo.IconSet, path ...string) (tomo.IconSet, error) {
|
||||
this := &iconTheme {
|
||||
fallback: fallback,
|
||||
texturesLarge: make(map[tomo.Icon] canvas.Texture),
|
||||
|
||||
Reference in New Issue
Block a user