Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + const NO_DEFAULT_FONT + const WrappedBatch + const WrappedCanvas + const WrappedNone + const WrappedSprite + func Color(r, g, b uint8) imgui.Vec4 + func ColorA(r, g, b, a uint8) imgui.Vec4 + func IV(x, y float64) imgui.Vec2 + func IVec(v pixel.Vec) imgui.Vec2 + func IZV() imgui.Vec2 + func PV(v imgui.Vec2) pixel.Vec + func ProjectV(x, y float64) imgui.Vec2 + func ProjectVec(v pixel.Vec) imgui.Vec2 + func Sprite(sprite *pixel.Sprite) imgui.TextureID + func UnprojectV(v imgui.Vec2) pixel.Vec + type Clipboard struct + func (c Clipboard) SetText(value string) + func (c Clipboard) Text() (text string, err error) + type UI struct + var CurrentUI *UI + func NewUI(win *pixelgl.Window, flags uint8) *UI + func (ui *UI) AddSprite(name string, sprite *pixel.Sprite) imgui.TextureID + func (ui *UI) AddSpriteFromFile(path string) (id imgui.TextureID, sprite *pixel.Sprite) + func (ui *UI) AddSpriteFromFileV(name, path string) (id imgui.TextureID, sprite *pixel.Sprite) + func (ui *UI) AddTTFFont(path string, size float32) + func (ui *UI) Destroy() + func (ui *UI) Draw(win *pixelgl.Window) + func (ui *UI) Image(alias interface{}, scale float64) + func (ui *UI) ImageButton(alias interface{}, scale float64) bool + func (ui *UI) JustPressed(button pixelgl.Button) bool + func (ui *UI) JustReleased(button pixelgl.Button) bool + func (ui *UI) KeyAlt() bool + func (ui *UI) KeyCtrl() bool + func (ui *UI) KeyShift() bool + func (ui *UI) KeySuper() bool + func (ui *UI) MouseScroll() pixel.Vec + func (ui *UI) NewFrame() + func (ui *UI) Pressed(button pixelgl.Button) bool + func (ui *UI) Repeated(button pixelgl.Button) bool + func (ui UI) GetPacker() *packer.AliasPacker