Documentation ¶
Index ¶
- type Clip
- func (c *Clip) Draw(scale int)
- func (c *Clip) GetName() string
- func (c *Clip) GotoFrame(frame int)
- func (c *Clip) IsHovered(scale int) bool
- func (c *Clip) OnLongPress(handler func())
- func (c *Clip) OnPress(handler func())
- func (c *Clip) OnRelease(handler func())
- func (c *Clip) OnReleaseOutside(handler func())
- func (c *Clip) Update(scale int) (err error)
- type ClipJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clip ¶
type Clip struct {
// contains filtered or unexported fields
}
Clip is a set of frames
func (*Clip) OnLongPress ¶
func (c *Clip) OnLongPress(handler func())
OnLongPress sets the click handler function
func (*Clip) OnPress ¶
func (c *Clip) OnPress(handler func())
OnPress sets the click handler function
func (*Clip) OnRelease ¶
func (c *Clip) OnRelease(handler func())
OnRelease sets the click handler function
func (*Clip) OnReleaseOutside ¶
func (c *Clip) OnReleaseOutside(handler func())
OnReleaseOutside sets the click handler function
Click to show internal directories.
Click to hide internal directories.