Documentation
¶
Overview ¶
Bento is an XML based UI builder for Ebiten
Index ¶
Constants ¶
View Source
const ( Start = Justification(iota) End Center Evenly Stretch )
View Source
const ( Idle = ButtonState(0) Hover = ButtonState(1) Active = ButtonState(2) Disabled = ButtonState(3) )
Variables ¶
View Source
var (
Scrollspeed = 0.1
)
Functions ¶
This section is empty.
Types ¶
type Box ¶
type ButtonState ¶
type ButtonState int
type Justification ¶
type Justification int
func ParseJustification ¶
func ParseJustification(s string) Justification
type NineSlice ¶
type NineSlice struct {
// contains filtered or unexported fields
}
A NineSlice is an image that can be drawn with any width and height. It is basically a 3x3 grid of image tiles: The corner tiles are drawn as-is, while the center columns and rows of tiles will be stretched to fit the desired width and height.
func NewNineSlice ¶
type Scrollbar ¶
type Scrollbar struct {
// contains filtered or unexported fields
}
func NewScrollbar ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.