Type InputGroupLayout

type InputGroupLayout struct {
	Bounds      ui.Rect
	Control     ui.Rect
	InlineStart ui.Rect
	InlineEnd   ui.Rect
	BlockStart  ui.Rect
	BlockEnd    ui.Rect
}

InputGroupLayout reports every deterministic region produced by a snapshot.

Constructors

PaintInputGroup#

func PaintInputGroup(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, snapshot InputGroupSnapshot) InputGroupLayout

PaintInputGroup paints one official bordered group. It only describes the current editor/slot snapshot; focus changes, editing, and IME stay external.