Documentation
¶
Overview ¶
Package icons draws the small icons the example applications use for their menus and toolbars, so the examples need no image files; an application would load its own (e.g. PNGs with image.Decode).
Index ¶
- Constants
- func App(size int, color string, mark func(dc *gg.Context)) image.Image
- func Arrow(size int, up bool) image.Image
- func Back(size int) image.Image
- func Cross(size int) image.Image
- func Draw(size int, draw func(dc *gg.Context)) image.Image
- func File(size int) image.Image
- func Folder(size int) image.Image
- func Info(size int) image.Image
- func Moon(size int) image.Image
- func New(size int) image.Image
- func Pencil(size int) image.Image
- func Plus(size int) image.Image
- func Printer(size int) image.Image
- func Redo(size int) image.Image
- func Save(size int) image.Image
- func Search(size int) image.Image
- func Sun(size int) image.Image
- func Undo(size int) image.Image
Constants ¶
const Size = 16
Size is the size of the menu icons. Toolbar icons are drawn with Draw at any size.
Variables ¶
This section is empty.
Functions ¶
func App ¶
App is a rounded square with a letter-like mark, the icon of an application in the launcher: color is its background.
Types ¶
This section is empty.