Documentation
¶
Index ¶
- type Box
- func (b *Box) AddChildNode(app *impress.Application) *Box
- func (b *Box) AddNextNode(app *impress.Application) *Box
- func (b *Box) Adopt(child *Box, beforeBox *Box)
- func (b *Box) Align(since image.Point) bool
- func (b *Box) Backspace() bool
- func (b *Box) DeEmphasize()
- func (b *Box) DeleteNode() *Box
- func (b *Box) Down() *Box
- func (b *Box) Drag(plus image.Point)
- func (b *Box) Draw(offset image.Point)
- func (b *Box) DrawGrid(w *impress.Window, offset image.Point, other *Box)
- func (b *Box) Emphasize()
- func (b *Box) Find(point image.Point) *Box
- func (b *Box) FindOther(point image.Point, other *Box) (*Box, *Box)
- func (b *Box) Fit(windowSize image.Point, offset image.Point) image.Point
- func (b *Box) GetNodes() *mindmap.Node
- func (b *Box) GetOffset(windowSize image.Point, offset image.Point) image.Point
- func (b *Box) In(point image.Point) bool
- func (b *Box) Insert(alpha rune)
- func (b *Box) IsRight() bool
- func (b *Box) Left() bool
- func (b *Box) Point() image.Point
- func (b *Box) Raise()
- func (b *Box) Right() bool
- func (b *Box) SetActive(isActive bool)
- func (b *Box) SplitLeftRight() bool
- func (b *Box) Up() *Box
- type BoxCursorOption
- type BoxTextOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct {
// contains filtered or unexported fields
}
func (*Box) AddChildNode ¶
func (b *Box) AddChildNode(app *impress.Application) *Box
func (*Box) AddNextNode ¶
func (b *Box) AddNextNode(app *impress.Application) *Box
func (*Box) DeEmphasize ¶
func (b *Box) DeEmphasize()
func (*Box) DeleteNode ¶
func (*Box) SplitLeftRight ¶
type BoxCursorOption ¶
type BoxCursorOption struct { text.CursorStyler // contains filtered or unexported fields }
func (*BoxCursorOption) Enable ¶
func (o *BoxCursorOption) Enable() bool
type BoxTextOption ¶
type BoxTextOption struct { text.TextStyler // contains filtered or unexported fields }
func (*BoxTextOption) Background ¶
func (o *BoxTextOption) Background() color.Color
func (*BoxTextOption) Border ¶
func (o *BoxTextOption) Border() color.Color
func (*BoxTextOption) Edge ¶
func (o *BoxTextOption) Edge() int
func (*BoxTextOption) Size ¶
func (o *BoxTextOption) Size() image.Point
Click to show internal directories.
Click to hide internal directories.