core

package
v0.0.0-...-6ae5079 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Rounding = 15.
	Alpha    = 0.75
)

Variables

This section is empty.

Functions

func NewButton

func NewButton(txt string, clr, hover color.RGBA) *uiex.ButtonText

func NewScrollbar

func NewScrollbar(direction uiex.Direction) *uiex.Scrollbar

Types

type Editor

type Editor struct {
	*uiex.TextInput
	// contains filtered or unexported fields
}

func NewEditor

func NewEditor(logger *Logger) *Editor

func (*Editor) Shader

func (e *Editor) Shader() *ebiten.Shader

func (*Editor) Update

func (e *Editor) Update()

type ImageBar

type ImageBar struct {
	*ui.Grid
	// contains filtered or unexported fields
}

func NewImageBar

func NewImageBar(logger *Logger) *ImageBar

func (*ImageBar) Images

func (ib *ImageBar) Images() [4]*ebiten.Image

type Lexer

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

func (*Lexer) Format

func (p *Lexer) Format(rt *uiex.RichText) error

type Logger

type Logger struct {
	*uiex.Label
}

func NewLogger

func NewLogger() *Logger

func (*Logger) RegisterError

func (l *Logger) RegisterError(err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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