Documentation ¶
Index ¶
- func LoadImage(filename string) image.Image
- type BasePage
- func (page *BasePage) AddButton(img image.Image, x, y int, action func()) *elems.Button
- func (page *BasePage) AddMenuButton(img image.Image, x, y int, newPage string) *elems.Button
- func (page BasePage) BaseDraw(target *draw.Image)
- func (page BasePage) BaseProcess() bool
- func (page BasePage) Buttons() []*elems.Button
- func (page BasePage) Draw(target *draw.Image)
- func (page BasePage) Process() bool
- func (page *BasePage) SetBackground(img image.Image)
- func (page *BasePage) SetDirtyChan(dirtyChan *chan bool)
- type ClearPage
- type GasPage
- type MainPage
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasePage ¶
type BasePage struct { DirtyChan *chan bool // contains filtered or unexported fields }
func NewBasePage ¶
func NewBasePage() (page BasePage)
func (*BasePage) AddMenuButton ¶
func (BasePage) BaseProcess ¶
func (*BasePage) SetBackground ¶
func (*BasePage) SetDirtyChan ¶
Click to show internal directories.
Click to hide internal directories.