Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxColorValue = 255
)
Variables ¶
View Source
var ( MagnifyX2 = Magnify{ Display: 10, Value: 2, WidthPixels: 40, HeightPixels: 40, } MagnifyX4 = Magnify{ Display: 12, Value: 4, WidthPixels: 32, HeightPixels: 32, } MagnifyX8 = Magnify{ Display: 22, Value: 8, WidthPixels: 16, HeightPixels: 16, } Sprite = Magnify{ Display: 25, Value: 8, WidthPixels: 16, HeightPixels: 16, } )
Functions ¶
This section is empty.
Types ¶
type ClickableImage ¶
func NewClickableImage ¶
func NewClickableImage(i image.Image, tapped func(float32, float32)) *ClickableImage
func (*ClickableImage) CreateRenderer ¶
func (ci *ClickableImage) CreateRenderer() fyne.WidgetRenderer
func (*ClickableImage) Move ¶
func (ci *ClickableImage) Move(position fyne.Position)
func (*ClickableImage) SetImage ¶
func (c *ClickableImage) SetImage(i image.Image)
func (*ClickableImage) Tapped ¶
func (c *ClickableImage) Tapped(pe *fyne.PointEvent)
func (*ClickableImage) TappedSecondary ¶
func (c *ClickableImage) TappedSecondary(_ *fyne.PointEvent)
type ColorHistorc ¶
type ColorHistorc struct {
// contains filtered or unexported fields
}
type ColorSelector ¶
type ColorSelector struct {
// contains filtered or unexported fields
}
func NewColorSelector ¶
func NewColorSelector(p color.Palette, newColor, directColorChange func(c color.Color)) *ColorSelector
func (*ColorSelector) NewColorSelector ¶
func (c *ColorSelector) NewColorSelector() *fyne.Container
func (*ColorSelector) NewPalette ¶
func (c *ColorSelector) NewPalette(p color.Palette)
func (*ColorSelector) SetColorSelector ¶
func (c *ColorSelector) SetColorSelector(col color.Color)
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
func (*Editor) NewAvailablePalette ¶
func (*Editor) NewEmbededEditor ¶
type PixelsMap ¶
type PixelsMap struct {
// contains filtered or unexported fields
}
func NewPixelsMap ¶
func (*PixelsMap) NewPixelsMap ¶
func (pm *PixelsMap) NewPixelsMap() *fyne.Container
func (*PixelsMap) SelectedCell ¶
func (*PixelsMap) SetMagnify ¶
func (*PixelsMap) SetPickColor ¶
func (p *PixelsMap) SetPickColor()
Click to show internal directories.
Click to hide internal directories.