Documentation
¶
Index ¶
Constants ¶
View Source
const ( ENTRY_WIDTH = 120 BORDER_SIZE = 1 )
View Source
const RELEASE = true
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GUI ¶
type GUI struct { App fyne.App Main fyne.Window Version Version Menu *fyne.MainMenu Save *save.Savegame Backup bool Resources []Resource Research []NamedCheckbox UnlockAllResearch *widget.Check UnlockResearchQueue *widget.Button SpaceshipParts []NamedCheckbox OtherOptions OtherOptions ActionButtons []*widget.Button }
func (*GUI) DisplayError ¶
func (*GUI) ReloadFromSave ¶
func (g *GUI) ReloadFromSave()
type NamedCheckbox ¶ added in v1.1.0
type OtherOptions ¶
type Version ¶ added in v1.2.0
type Version struct {
Name, Version, Commit, Go, GameVersion string
}
func NewVersionFromApp ¶ added in v1.2.0
func NewVersionFromApp(app fyne.App) Version
func (Version) CreateContent ¶ added in v1.2.0
func (v Version) CreateContent() fyne.CanvasObject
Create the content for the version dialog
Click to show internal directories.
Click to hide internal directories.