layerview

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LayerView

type LayerView struct {
	MainFontHandle   *nk.UserFont
	SymbolFontHandle *nk.UserFont
	ThumbnailSize    int

	Thumbnail     *nkhelper.Texture
	ThumbnailChip map[int]*nk.Image

	LayerFavSelectedIndex int32

	CopyToClipboard    func(sliderName, name, value string)
	ExportFaviewSlider func(sliderName string, names, values []string)
}

func (*LayerView) Init

func (lv *LayerView) Init()

func (*LayerView) Render

func (lv *LayerView) Render(ctx *nk.Context, winRect nk.Rect, img *img.Image) bool

func (*LayerView) UpdateThumbnails

func (lv *LayerView) UpdateThumbnails(tree *composite.Tree, size int, doMain func(func()))

Jump to

Keyboard shortcuts

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