palette

package
v0.0.0-...-d974ece Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ink

func Ink(filePath string, p color.Palette, screenMode uint8, dontImportDsk bool, cfg *config.MartineConfig) error

func InkInformation

func InkInformation(filePath string)

func Kit

func Kit(filePath string, p color.Palette, screenMode uint8, dontImportDsk bool, cfg *config.MartineConfig) error

func KitInformation

func KitInformation(filePath string)

func SaveKit

func SaveKit(filePath string, p color.Palette, noAmsdosHeader bool) error

Types

type InkPalette

type InkPalette struct {
	Colors [16]constants.CpcColor
}

func OpenInk

func OpenInk(filePath string) (color.Palette, *InkPalette, error)

func (*InkPalette) ToString

func (i *InkPalette) ToString() string

type KitPalette

type KitPalette struct {
	Colors [16]constants.CpcPlusColor
}

func OpenKit

func OpenKit(filePath string) (color.Palette, *KitPalette, error)

func (*KitPalette) ToString

func (i *KitPalette) ToString() string

Jump to

Keyboard shortcuts

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