Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHookFunc ¶
func DecodeHookFunc() mapstructure.DecodeHookFunc
Types ¶
type Gauge ¶
type Gauge struct { WidgetBase Min float64 `yaml:"min"` Max float64 `yaml:"min"` Value float64 `yaml:"value"` ValueOf string `yaml:"value_of"` Position [2]float64 `yaml:"position"` Size [2]float64 `yaml:"size"` }
func (*Gauge) UnmarshalJSON ¶
type Image ¶
type Image struct { WidgetBase File string `yaml:"file"` Animate bool `yaml:"animate"` Loop bool `yaml:"loop"` Position [2]float64 `yaml:"position"` Size [2]float64 `yaml:"size"` Resolution canvas.Resolution `yaml:"resolution"` // contains filtered or unexported fields }
func (*Image) UnmarshalJSON ¶
type Line ¶
type Line struct { WidgetBase From [2]float64 `yaml:"from"` To [2]float64 `yaml:"to"` }
func (*Line) UnmarshalJSON ¶
type Text ¶
type WidgetBase ¶
type WidgetBase struct {
Type string `yaml:"type"`
}
Click to show internal directories.
Click to hide internal directories.