Laxkit
0.0.7.1
|
File previewer module to handle different kinds of files. More...
Public Member Functions | |
PreviewerFunction (const char *ext, double fps, int canpan) | |
virtual int | Handles (const char *filename)=0 |
virtual void | Refresh (aDrawable *dest, const char *filename, DoubleBBox *box)=0 |
virtual void | FitTo (double x, double y, double w, double h)=0 |
virtual void | Move (double x, double y, double dx, double dy) |
Public Attributes | |
char * | extensions |
double | frames_per_second |
int | pannable |
File previewer module to handle different kinds of files.
One might handle images, others movies, others 3-d shapes. Previewers can optionally allow animation when mouse over at a single specified frame rate, and/or respond to simple mouse movement.
This class is meant only for making dynamic thumbnails of files, not for overlaying file name or metadata. It is used, for instance, in FilePreviewer.