Versions in this module Expand all Collapse all v0 v0.1.0 Apr 29, 2021 Changes in this version + type Palette struct + func NewPalette(x, y int) *Palette + func (p *Palette) Bounds() image.Rectangle + func (p *Palette) Draw(screen *ebiten.Image) + func (p *Palette) PreferredSize() (sx, sy int) + func (p *Palette) SetPosition(x, y int) + func (p *Palette) SetSize(sx, sy int) + func (p *Palette) SetVisible(visible bool) + func (p *Palette) Update() error + type Preview struct + func NewPreview(x, y int) *Preview + func (p *Preview) Bounds() image.Rectangle + func (p *Preview) Draw(screen *ebiten.Image) + func (p *Preview) PreferredSize() (sx, sy int) + func (p *Preview) SetPosition(x, y int) + func (p *Preview) SetSize(sx, sy int) + func (p *Preview) SetVisible(visible bool) + func (p *Preview) Update() error + type Swatch struct + func NewSwatch(size int, color color.Color) *Swatch + func (s *Swatch) Bounds() image.Rectangle + func (s *Swatch) Draw(screen *ebiten.Image) + func (s *Swatch) PreferredSize() (int, int) + func (s *Swatch) SetPosition(x, y int) + func (s *Swatch) SetSize(sx, sy int) + func (s *Swatch) SetVisible(visible bool) + func (s *Swatch) Swap(color color.Color) (prev color.Color) + func (s *Swatch) Update() error