Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProgressOptions = ProgressOptions{ Font: fontutil.RobotoBold, FontSize: 24, Fill: color.White, Color: color.NRGBA{R: 0x7f, G: 0x7f, B: 0xff, A: 0xff}, Background: image.Transparent, }
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { ConnectedTo DrawablePeripheral Effects Effects // contains filtered or unexported fields }
Base widget
func MakeBase ¶
func MakeBase(peripheral DrawablePeripheral, effects ...Effect) Base
func (*Base) Peripheral ¶
func (w *Base) Peripheral() benjamin.Peripheral
type DrawablePeripheral ¶
type DrawablePeripheral interface { benjamin.Drawable benjamin.Peripheral }
type Progress ¶
func NewProgress ¶
func NewProgress(p DrawablePeripheral, opts *ProgressOptions, effects ...Effect) *Progress
func (*Progress) SetBackground ¶
type ProgressOptions ¶
type ProgressOptions struct { Label string Font *truetype.Font FontSize float64 Fill color.Color Color color.Color Background image.Image Icon image.Image }
func (*ProgressOptions) Defaults ¶
func (o *ProgressOptions) Defaults()
type Rotate ¶
type UpdateChecker ¶
Click to show internal directories.
Click to hide internal directories.