Documentation ¶
Overview ¶
˅
˅
˅
˅
˅
˅
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMain ¶
type AppMain struct {
// contains filtered or unexported fields
}
func NewAppMain ¶
func NewAppMain() *AppMain
type HistoryCommand ¶
type HistoryCommand struct {
// contains filtered or unexported fields
}
Holder of the past commands
func NewHistoryCommand ¶
func NewHistoryCommand() *HistoryCommand
func (*HistoryCommand) Add ¶
func (h *HistoryCommand) Add(cmd Command)
type PaintingCanvas ¶
type PaintingCanvas struct {
// contains filtered or unexported fields
}
func NewPaintingCanvas ¶
func NewPaintingCanvas(window *walk.MainWindow) *PaintingCanvas
func (*PaintingCanvas) Clear ¶
func (p *PaintingCanvas) Clear()
func (*PaintingCanvas) Paint ¶
func (p *PaintingCanvas) Paint(x int, y int)
type PaintingCommand ¶
type PaintingCommand struct {
// contains filtered or unexported fields
}
Command to paint a single point
func NewPaintingCommand ¶
func NewPaintingCommand(paintingTarget PaintingTarget, paintingPosX int, paintingPosY int) *PaintingCommand
func (*PaintingCommand) Execute ¶
func (p *PaintingCommand) Execute()
type PaintingTarget ¶
Click to show internal directories.
Click to hide internal directories.