Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultFont ¶
Types ¶
type Box ¶
func (*Box) HandleDraw ¶
type Label ¶
func (*Label) HandleDraw ¶
type LabelButton ¶
type LabelButton struct { Label Action func() }
func (*LabelButton) HandleJustPressedMouseButtonLeft ¶
func (b *LabelButton) HandleJustPressedMouseButtonLeft(x, y int) bool
func (*LabelButton) HandleJustReleasedMouseButtonLeft ¶
func (b *LabelButton) HandleJustReleasedMouseButtonLeft(x, y int)
type Sprite ¶
func (*Sprite) HandleDraw ¶
type SpriteButton ¶
type SpriteButton struct { Sprite Action func() }
func (*SpriteButton) HandleJustPressedMouseButtonLeft ¶
func (b *SpriteButton) HandleJustPressedMouseButtonLeft(x, y int) bool
func (*SpriteButton) HandleJustReleasedMouseButtonLeft ¶
func (b *SpriteButton) HandleJustReleasedMouseButtonLeft(x, y int)
Click to show internal directories.
Click to hide internal directories.