imgui

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Color

func Color(c color.RGBA) imgui.Vec4

func RemoveUI

func RemoveUI(id UID)

func SetFilter

func SetFilter(filter ebiten.Filter)

func Setup

func Setup(engine core.Engine)

Types

type UI

type UI struct {
	// contains filtered or unexported fields
}

func (*UI) ID

func (ui *UI) ID() UID

func (*UI) Render

func (ui *UI) Render(ctx core.DrawCtx)

type UID

type UID int64

func AddRawUI

func AddRawUI(renderfn func(ctx core.DrawCtx)) UID

func AddUI

func AddUI(doc []dom.Node) UID

type Uinstance

type Uinstance interface {
	Render(ctx core.DrawCtx)
	ID() UID
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL