util

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: BSD-2-Clause Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSelect

type FileSelect struct {
	gui.Panel
	// contains filtered or unexported fields
}

func NewFileSelect

func NewFileSelect(width, height float32) *FileSelect

func (*FileSelect) Selected

func (fs *FileSelect) Selected() string

func (*FileSelect) SetFileFilters

func (fs *FileSelect) SetFileFilters(filter ...string)

SetFileFilters sets filters for file names which should be shown. Each filter must be a valid regular expression.

func (*FileSelect) SetPath

func (fs *FileSelect) SetPath(path string) error

type FileSelectButton

type FileSelectButton struct {
	*gui.Button
	FS *FileSelect
	// contains filtered or unexported fields
}

func NewFileSelectButton

func NewFileSelectButton(path, text string, width, height float32) *FileSelectButton

func (*FileSelectButton) SetError

func (fsb *FileSelectButton) SetError(text string)

type PointLightMesh

type PointLightMesh struct {
	*graphic.Mesh
	Light *light.Point
}

PointLightMesh

func NewPointLightMesh

func NewPointLightMesh(color *math32.Color) *PointLightMesh

type SpotLightMesh

type SpotLightMesh struct {
	*graphic.Mesh
	Light *light.Spot
}

SpotLightMesh

func NewSpotLightMesh

func NewSpotLightMesh(color *math32.Color) *SpotLightMesh

Jump to

Keyboard shortcuts

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