Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Animation ¶
type Animation interface { // Activate is called when the animation is being started on the display. // An animation may be re-used so this should be able to be called more than once. // Typically, this would be used to clear the display for an animation that does not cover the entire display, // so each frame only has to draw the changed areas. Activate(drivers.Displayer) // DrawFrame draws the next frame of the animation. // The current frame number is provided to allow animations to be keyed off every-x-frames without having to keep // track of that themselves. // Returns whether the animation should continue. DrawFrame(disp drivers.Displayer, tick uint32) bool }
Click to show internal directories.
Click to hide internal directories.