vol

package
v0.0.0-...-79ab148 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawRectangle

func DrawRectangle(gtx *layout.Context, w, h float32, color color.RGBA, borderRadius [4]float32, inset unit.Value)

func HexARGB

func HexARGB(s string) (c color.RGBA)

func Volume

func Volume()

Types

type Panel

type Panel struct {
	Name string
	// contains filtered or unexported fields
}

func (*Panel) Layout

func (p *Panel) Layout(gtx *layout.Context, th *material.Theme)

func (*Panel) SliderLayout

func (p *Panel) SliderLayout(gtx *layout.Context)

type ScrollBar

type ScrollBar struct {
	ColorBg      string
	BorderRadius [4]float32
	OperateValue interface{}
	// contains filtered or unexported fields
}

type ScrollBarBody

type ScrollBarBody struct {
	Do           func(interface{})
	ColorBg      string
	Position     float32
	Cursor       float32
	OperateValue interface{}
	Height       int
	CursorHeight float32
	Icon         material.Icon
	// contains filtered or unexported fields
}

type ScrollBarButton

type ScrollBarButton struct {
	Height float32
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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