Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::PreviewerFunction Class Reference

File previewer module to handle different kinds of files. More...

List of all members.

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

charextensions
double frames_per_second
int pannable

Detailed Description

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.


The documentation for this class was generated from the following file:

Mon Feb 17 2014 11:52:59, Laxkit