ui

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Center added in v0.1.4

func Center(width, height int, p tview.Primitive) tview.Primitive

Center returns a new primitive which shows the provided primitive in its center, given the provided primitive's size. credits: https://github.com/rivo/tview/blob/master/demos/presentation/center.go

func CreateMultiplayer

func CreateMultiplayer(g *gocui.Gui) error

CreateMultiplayer creates multiplayer screen widgets

func CreateMultiplayerRoom added in v0.1.2

func CreateMultiplayerRoom(g *gocui.Gui) error

CreateMultiplayerRoom creates a room for multiplayer

func CreateMultiplayerSetup

func CreateMultiplayerSetup(g *gocui.Gui) error

CreateMultiplayerSetup creates multiplayer room creation

func CreateSettings

func CreateSettings(app *tview.Application) error

CreateSettings creates a screen with settings

func CreateSingleplayer

func CreateSingleplayer(app *tview.Application) error

CreateSingleplayer creates singleplayer screen widgets

func CreateWelcome

func CreateWelcome(app *tview.Application) error

CreateWelcome creates welcome screen widgets

Types

This section is empty.

Jump to

Keyboard shortcuts

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