draw

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View struct {
	// contains filtered or unexported fields
}

func NewView

func NewView(w *impress.Window, box *box.Box, modifiedStatus *modifiedstatus.ModifiedStatus) *View

func (*View) AddChildNode

func (v *View) AddChildNode(app *impress.Application)

func (*View) AddNextNode

func (v *View) AddNextNode(app *impress.Application)

func (*View) Catch

func (v *View) Catch(eventPoint image.Point) (*dragState, bool)

func (*View) Click

func (v *View) Click(point image.Point)

func (*View) ConfigureSize

func (v *View) ConfigureSize(size image.Point)

func (*View) DeleteNode

func (v *View) DeleteNode()

func (*View) Drag

func (v *View) Drag(state *dragState, eventPoint image.Point)

func (*View) DrawDrag

func (v *View) DrawDrag(state *dragState)

func (*View) DrawRemain

func (v *View) DrawRemain(state *dragState)

func (*View) Drop

func (v *View) Drop(state *dragState, eventPoint image.Point)

func (*View) GetNodes

func (v *View) GetNodes() *mindmap.Node

func (*View) InsertChar

func (v *View) InsertChar(alpha rune)

func (*View) KeyDown

func (v *View) KeyDown()

func (*View) KeyLeft

func (v *View) KeyLeft()

func (*View) KeyRight

func (v *View) KeyRight()

func (*View) KeyUp

func (v *View) KeyUp()

func (*View) Modified

func (v *View) Modified(ok bool)

func (*View) QueueDraw

func (v *View) QueueDraw()

func (*View) ReDraw

func (v *View) ReDraw(s syncer)

func (*View) RemoveLastChar

func (v *View) RemoveLastChar()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL