static

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slide

type Slide struct {
	Rs          *render.CompositeR
	ContinueKey string
	PrevKey     string

	OnClick func()
	// contains filtered or unexported fields
}

func NewSlide

func NewSlide(rs ...render.Renderable) *Slide

func NewSlideSet

func NewSlideSet(n int, opts ...SlideOption) []*Slide

func (*Slide) Append

func (ss *Slide) Append(rs ...render.Renderable)

func (*Slide) Continue

func (ss *Slide) Continue() bool

func (*Slide) Init

func (ss *Slide) Init()

func (*Slide) Prev

func (ss *Slide) Prev() bool

func (*Slide) Transition

func (ss *Slide) Transition() scene.Transition

type SlideOption

type SlideOption func(*Slide) *Slide

func Background

func Background(r render.Modifiable) SlideOption

func ControlKeys

func ControlKeys(cont, prev string) SlideOption

func Transition

func Transition(trans scene.Transition) SlideOption

Jump to

Keyboard shortcuts

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