app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package app provides a JS implementation of the github.com/mokiat/lacking/app package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config represents an application window configuration.

func NewConfig

func NewConfig(canvasID string) *Config

NewConfig creates a new Config object that contains the minimum required settings.

func (*Config) AddGLExtension

func (c *Config) AddGLExtension(name string)

func (*Config) Fullscreen

func (c *Config) Fullscreen() bool

func (*Config) Height

func (c *Config) Height() int

func (*Config) SetFullscreen

func (c *Config) SetFullscreen(fullscreen bool)

func (*Config) SetHeight

func (c *Config) SetHeight(height int)

func (*Config) SetTitle

func (c *Config) SetTitle(title string)

func (*Config) SetWidth

func (c *Config) SetWidth(width int)

func (*Config) Title

func (c *Config) Title() string

func (*Config) Width

func (c *Config) Width() int

Jump to

Keyboard shortcuts

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