gui

package
v0.0.0-...-fa5a9cb Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

func NewFilter

func NewFilter(opts ...FilterOption) *Filter

func (*Filter) Allowed

func (f *Filter) Allowed(path string) bool

type FilterOption

type FilterOption func(*Filter)

func WithDirectories

func WithDirectories() FilterOption

func WithDotFiles

func WithDotFiles() FilterOption

func WithExtensions

func WithExtensions(extensions ...string) FilterOption

func WithSuffixes

func WithSuffixes(suffixes ...string) FilterOption

type ImageViewPort

type ImageViewPort struct {
	// contains filtered or unexported fields
}

func (*ImageViewPort) Draw

func (v *ImageViewPort) Draw(win *opengl.Window, state windowState) error

type ViewPort

type ViewPort interface {
	Draw(win *opengl.Window, state windowState) error
}

type Window

type Window struct {
	// contains filtered or unexported fields
}

func NewWindow

func NewWindow(width, height float64, path string) (*Window, error)

NewWindow creates a new window at the supplied path

func (*Window) CreateAndDraw

func (w *Window) CreateAndDraw()

Jump to

Keyboard shortcuts

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