forked from go/golangs_learn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.5 KiB
66 lines
1.5 KiB
package icon
|
|
|
|
import (
|
|
"gioui.org/widget"
|
|
"golang.org/x/exp/shiny/materialdesign/icons"
|
|
)
|
|
|
|
var MenuIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.NavigationMenu)
|
|
return icon
|
|
}()
|
|
|
|
var RestaurantMenuIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.MapsRestaurantMenu)
|
|
return icon
|
|
}()
|
|
|
|
var AccountBalanceIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionAccountBalance)
|
|
return icon
|
|
}()
|
|
|
|
var AccountBoxIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionAccountBox)
|
|
return icon
|
|
}()
|
|
|
|
var CartIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionAddShoppingCart)
|
|
return icon
|
|
}()
|
|
|
|
var HomeIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionHome)
|
|
return icon
|
|
}()
|
|
|
|
var SettingsIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionSettings)
|
|
return icon
|
|
}()
|
|
|
|
var OtherIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionHelp)
|
|
return icon
|
|
}()
|
|
|
|
var HeartIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionFavorite)
|
|
return icon
|
|
}()
|
|
|
|
var PlusIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ContentAdd)
|
|
return icon
|
|
}()
|
|
|
|
var EditIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ContentCreate)
|
|
return icon
|
|
}()
|
|
|
|
var VisibilityIcon *widget.Icon = func() *widget.Icon {
|
|
icon, _ := widget.NewIcon(icons.ActionVisibility)
|
|
return icon
|
|
}()
|
|
|