Categorygithub.com/diamondburned/catnip-gtk
modulepackage
0.0.0-20220418040234-92350c410e39
Repository: https://github.com/diamondburned/catnip-gtk.git
Documentation: pkg.go.dev

# README

catnip-gtk

screenshot

A catnip frontend as a Gtk3 widget.

Usage

Check ./cmd/catnip-gtk.

# Packages

No description provided by the author

# Functions

No description provided by the author
New creates a new Catnip DrawingArea from the given config.
No description provided by the author
NewDrawer creates a separated drawer state.
WrapExternalWindowFn wraps external (mostly gonum/dsp/window) functions to be compatible with catnip's usage.

# Constants

HorizontalBars is drawing the bars horizontally mirrored if stereo.
DrawLines draws the spectrum as lines.
VerticalBars is drawing the bars vertically mirrored if stereo.

# Structs

Area is the area that Catnip draws onto.
Colors is the color settings for the Drawer.
Config is the catnip config.
Drawer is the separated drawer state without any widget.
DrawOffsets controls the offset for the Drawer.
DrawOptions is the option for Cairo draws.
ScalingConfig is the scaling settings for the visualizer.

# Interfaces

AllocatedSizeGetter is any widget that can be obtained dimensions of.
DrawQueuer is a custom widget interface that allows draw queueing.

# Type aliases

No description provided by the author
DrawStyle is the style to draw the bars symmetrically.