entities

package
v0.0.0-...-ded38ef Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color struct {
	Fg     string `mapstructure:"fg"`
	Bg     string `yaml:"bg,omitempty" mapstructure:"bg"`
	Bold   bool   `mapstructure:"bold"`
	Italic bool   `mapstructure:"italic"`
}

func (*Color) Background

func (c *Color) Background() tcell.Color

func (*Color) Foreground

func (c *Color) Foreground() tcell.Color

func (*Color) String

func (c *Color) String() string

func (*Color) Style

func (c *Color) Style() tcell.Style

type Colors

type Colors struct {
	Artist      Color `mapstructure:"artist"`
	Album       Color `mapstructure:"album"`
	Track       Color `mapstructure:"track"`
	Genre       Color `mapstructure:"genre"`
	Folder      Color `mapstructure:"folder"`
	Timestamp   Color `mapstructure:"timestamp"`
	PBarArtist  Color `yaml:"pbar_artist" mapstructure:"pbar_artist"`
	PBarTrack   Color `yaml:"pbar_track" mapstructure:"pbar_track"`
	PlaylistNav Color `yaml:"playlist_nav" mapstructure:"playlist_nav"`
	Nav         Color `mapstructure:"nav"`
	ContextMenu Color `yaml:"context_menu" mapstructure:"context_menu"`
	BorderFocus Color `yaml:"border_focus" mapstructure:"border_focus"`
	Border      Color `mapstructure:"border"`

	Null Color
}

func NewColors

func NewColors() *Colors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳