static

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 5 Imported by: 3

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