resources

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StudioEnvironment []byte
View Source
var TitlebarHTML string
View Source
var WorkspaceCSS string
View Source
var WorkspaceFilesHTML string
View Source
var WorkspaceHTML string
View Source
var WorkspaceInspectorHTML string
View Source
var WorkspaceScenesHTML string

Functions

func DialogHTML

func DialogHTML(name string) string

func FileIconName

func FileIconName(filename string, directory bool) string

FileIconName identifies formats without opening files. Structured resource suffixes take precedence over the generic JSON icon.

func FileIconTexture

func FileIconTexture(name string) *graphics.Texture

FileIconTexture reuses regions of one shared texture; warmed lookups allocate nothing. The retained PNG can recreate the atlas after a device is disposed.

func LogoData

func LogoData() ([]byte, error)

func LogoTexture

func LogoTexture(size LogoSize) *graphics.Texture

Types

type LogoSize

type LogoSize uint16
const (
	Logo16   LogoSize = 16
	Logo32   LogoSize = 32
	Logo48   LogoSize = 48
	Logo64   LogoSize = 64
	Logo128  LogoSize = 128
	Logo512  LogoSize = 512
	Logo1024 LogoSize = 1024
)

Directories

Path Synopsis
images

Jump to

Keyboard shortcuts

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