Versions in this module Expand all Collapse all v0 v0.1.9 Jul 19, 2026 v0.1.8 Jul 5, 2026 v0.1.7 Jul 5, 2026 v0.1.6 Jul 5, 2026 Changes in this version type Context + func (c *Context) Slider(id ID, val *float64, lo, hi float64) bool v0.1.5 Jul 3, 2026 v0.1.4 Jul 3, 2026 v0.1.3 Jul 3, 2026 v0.1.2 Jul 3, 2026 v0.1.1 Jul 2, 2026 v0.1.0 Jun 25, 2026 Changes in this version + var VGAPalette = []string + type Context struct + func (c *Context) Begin(in Input, x, y float64) + func (c *Context) BeginPanel(title string, x, y float64) + func (c *Context) BeginWindow(w *Window) bool + func (c *Context) Button(id ID, label string) bool + func (c *Context) ClearFocus() + func (c *Context) Dragging() bool + func (c *Context) End() + func (c *Context) EndPanel() image.Rectangle + func (c *Context) EndWindow() image.Rectangle + func (c *Context) Focus(id ID) + func (c *Context) HasFocus() bool + func (c *Context) Label(s string) + func (c *Context) List(id ID, items []string, selected *int) bool + func (c *Context) ListWithIcons(id ID, items []string, selected *int, iconPx float64) (changed bool, clicked int, icons []IconSlot) + func (c *Context) Render(dst *ebiten.Image) + func (c *Context) SameLine() + func (c *Context) SetFace(f Face) + func (c *Context) SetItemWidth(w float64) + func (c *Context) SetStyle(s Style) + func (c *Context) Style() Style + func (c *Context) Submitted(id ID) bool + func (c *Context) Swatch(id ID, col color.RGBA, selected bool) bool + func (c *Context) TextArea(id ID, s *string, rows int) bool + func (c *Context) TextField(id ID, s *string) bool + func (c *Context) Toggle(id ID, label string, on bool) bool + type Face = text.Face + func SystemFace(size float64) (Face, error) + type ID string + type IconSlot struct + Index int + Size float64 + X float64 + Y float64 + type Input struct + Backspace bool + Chars []rune + Copy bool + Cut bool + Down bool + End bool + Enter bool + Home bool + Left bool + MouseClicked bool + MouseDown bool + MouseX float64 + MouseY float64 + Paste bool + Right bool + SelectAll bool + Shift bool + Undo bool + Up bool + WheelY float64 + func InputFromEbiten() Input + type Style struct + Border color.RGBA + Button color.RGBA + ButtonHot color.RGBA + ButtonOn color.RGBA + Face Face + Field color.RGBA + FieldW float64 + Focus color.RGBA + Gap float64 + Pad float64 + RowH float64 + Selection color.RGBA + Text color.RGBA + func DefaultStyle() Style + type Window struct + NoClose bool + Open bool + Title string + X float64 + Y float64