Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FontColor = color.NRGBA{R: 255, G: 255, B: 255, A: 255} OverlayBackgroundColor = color.NRGBA{R: 55, G: 55, B: 55, A: 255} BackgroundColor = color.NRGBA{G: 45, B: 123, A: 255} ForegroundColor = color.NRGBA{G: 145, B: 223, A: 255} HoverColor = color.NRGBA{R: 100, G: 45, B: 123, A: 255} )
View Source
var ( PaddingOut = ebui.Outset{ Top: 6, Bottom: 6, Left: 6, Right: 6, } PaddingIn = ebui.Inset{ Top: 6, Bottom: 6, Left: 6, Right: 6, } IconSize = image.Pt(20, 20) StrokeWidth = 3 OutlineWidth = 2 Radius = 6 )
View Source
var Face font.Face
Functions ¶
This section is empty.
Types ¶
type Combobox ¶
type Combobox struct { // List of items. Widgets ebui.WidgetList // Selected item from the list. Selected int // Dims of the selection. Dims image.Point // contains filtered or unexported fields }
type Input ¶
type Input struct {
ebui.LineEditor
}
type List ¶
type List struct { ebui.List // Expand hovering and clicking cross axis. Expand bool // contains filtered or unexported fields }
List implements a hoverable and clickable list.
type ProgressBar ¶
func (*ProgressBar) Draw ¶
func (p *ProgressBar) Draw(screen *ebiten.Image, viewport image.Rectangle)
Click to show internal directories.
Click to hide internal directories.