Versions in this module Expand all Collapse all v0 v0.1.2 Jan 25, 2021 v0.1.1 Jan 25, 2021 Changes in this version + const Handled + const MarkNeedsMeasureLayout + const MarkNeedsPaint + const MarkNeedsPaintBase + const NoHint + const NotHandled + type ContainerEmbed struct + func (m *ContainerEmbed) Insert(c, nextSibling Node) + func (m *ContainerEmbed) Layout(t *theme.Theme) + func (m *ContainerEmbed) Measure(t *theme.Theme, widthHint, heightHint int) + func (m *ContainerEmbed) OnChildMarked(child Node, newMarks Marks) + func (m *ContainerEmbed) OnInputEvent(e interface{}, origin image.Point) EventHandled + func (m *ContainerEmbed) OnLifecycleEvent(e lifecycle.Event) + func (m *ContainerEmbed) Paint(ctx *PaintContext, origin image.Point) error + func (m *ContainerEmbed) PaintBase(ctx *PaintBaseContext, origin image.Point) error + func (m *ContainerEmbed) Remove(c Node) + type Embed struct + FirstChild *Embed + LastChild *Embed + LayoutData interface{} + Marks Marks + MeasuredSize image.Point + NextSibling *Embed + Parent *Embed + PrevSibling *Embed + Rect image.Rectangle + Wrapper Node + func (m *Embed) Mark(marks Marks) + func (m *Embed) Wrappee() *Embed + type EventHandled bool + type LeafEmbed struct + func (m *LeafEmbed) Insert(c, nextSibling Node) + func (m *LeafEmbed) Layout(t *theme.Theme) + func (m *LeafEmbed) Measure(t *theme.Theme, widthHint, heightHint int) + func (m *LeafEmbed) OnChildMarked(child Node, newMarks Marks) + func (m *LeafEmbed) OnInputEvent(e interface{}, origin image.Point) EventHandled + func (m *LeafEmbed) OnLifecycleEvent(e lifecycle.Event) + func (m *LeafEmbed) Paint(ctx *PaintContext, origin image.Point) error + func (m *LeafEmbed) PaintBase(ctx *PaintBaseContext, origin image.Point) error + func (m *LeafEmbed) Remove(c Node) + type Marks uint32 + func (m *Marks) UnmarkNeedsMeasureLayout() + func (m *Marks) UnmarkNeedsPaint() + func (m *Marks) UnmarkNeedsPaintBase() + func (m Marks) NeedsMeasureLayout() bool + func (m Marks) NeedsPaint() bool + func (m Marks) NeedsPaintBase() bool + type Node interface + Insert func(c, nextSibling Node) + Layout func(t *theme.Theme) + Mark func(m Marks) + Measure func(t *theme.Theme, widthHint, heightHint int) + OnChildMarked func(child Node, newMarks Marks) + OnInputEvent func(e interface{}, origin image.Point) EventHandled + OnLifecycleEvent func(e lifecycle.Event) + Paint func(ctx *PaintContext, origin image.Point) error + PaintBase func(ctx *PaintBaseContext, origin image.Point) error + Remove func(c Node) + Wrappee func() *Embed + type PaintBaseContext struct + Dst *image.RGBA + Theme *theme.Theme + type PaintContext struct + Drawer screen.Drawer + Screen screen.Screen + Src2Dst f64.Aff3 + Theme *theme.Theme + type ShellEmbed struct + func (m *ShellEmbed) Insert(c, nextSibling Node) + func (m *ShellEmbed) Layout(t *theme.Theme) + func (m *ShellEmbed) Measure(t *theme.Theme, widthHint, heightHint int) + func (m *ShellEmbed) OnChildMarked(child Node, newMarks Marks) + func (m *ShellEmbed) OnInputEvent(e interface{}, origin image.Point) EventHandled + func (m *ShellEmbed) OnLifecycleEvent(e lifecycle.Event) + func (m *ShellEmbed) Paint(ctx *PaintContext, origin image.Point) error + func (m *ShellEmbed) PaintBase(ctx *PaintBaseContext, origin image.Point) error + func (m *ShellEmbed) Remove(c Node)