view

package
v0.0.0-...-c01338d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TabList = []string{
		"Game",
		"Leaderboard",
		"Settings",
		"About",
	}
)

Functions

func ChangelogView

func ChangelogView() string

func DisabledListItem

func DisabledListItem(text string) string

func List

func List(title string, items []string) string

func ListHeader

func ListHeader(text string) string

func ListItem

func ListItem(text string, selected bool) string

func MainLayout

func MainLayout(width int, selectedTab int, ident string, points uint64, perSecond uint64, body string) string

func Tab

func Tab(title string, index int, selectedIndex int) string

func Tabs

func Tabs(width int, selectIndex int) string

func Title

func Title(ident string, points uint64, perSecond uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL