Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawRectangle ¶
func SaveSymbol ¶
func SaveSymbol()
func SymbolMain ¶
func SymbolMain()
Types ¶
type Container ¶
type Container struct {
*Visual
Theme *Theme
Widgets []Widget
Orientation Orientation
GrowAdder float64
}
func NewContainer ¶
func NewContainer(orientation Orientation, theme *Theme) *Container
type Font ¶
type Font struct {
Name string
Symbols map[rune]*Symbol
Source string
DescriptionPath string
SymbolSize int
SizeFactor int
RealSize int
}
func (*Font) LoadSymbol ¶
type Size ¶
func (*Size) UpdateFrom ¶
type SymbolGame ¶
type SymbolGame struct {
}
func (*SymbolGame) Draw ¶
func (g *SymbolGame) Draw(screen *ebiten.Image)
func (*SymbolGame) Layout ¶
func (g *SymbolGame) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)
type TextVisual ¶
func NewTextVisual ¶
func NewTextVisual(text string, theme *Theme) *TextVisual
func (*TextVisual) Draw ¶
func (textVisual *TextVisual) Draw(screen *ebiten.Image)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.