screens

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = layout.Context

type Dimensions

type Dimensions = layout.Dimensions

func Show

func Show(gtx layout.Context, screen Screen) Dimensions

type Flex

type Flex = layout.Flex

type FlexChild

type FlexChild = layout.FlexChild

type Home

type Home struct {
	Texto         string
	Editor        *widget.Editor
	TwitchChannel chan string
	Next          chan struct{}
	ConnectTwitch chan struct{}
	Img           image.Image
	*component.ComponentTheme
}

func NewHomeScreen

func NewHomeScreen(next, connect chan struct{}, twitchChannel chan string) *Home

func (*Home) Render

func (m *Home) Render(gtx Context) Dimensions

func (*Home) TwitchIcon

func (m *Home) TwitchIcon(gtx Context) Dimensions

type Inset

type Inset = layout.Inset

type Screen

type Screen interface {
	Render(gtx Context) Dimensions
}

type Widget

type Widget = layout.Widget

Jump to

Keyboard shortcuts

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