static

package
v0.0.0-...-94b8eea Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 8 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 key.Code
	PrevKey     key.Code

	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(ctx *scene.Context)

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 key.Code) 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