Video display and composing engine for JUCE
Loading...
Searching...
No Matches
FilmStrip Class Referencefinal

The FilmStrip allows to display a line of thumbnails of a video clip. More...

#include <foleys_FilmStrip.h>

Inherits Component.

Classes

class  ThumbnailJob
 

Public Member Functions

 FilmStrip ()
 
 ~FilmStrip () override
 
void setClip (std::shared_ptr< AVClip > clip)
 Set the clip to be shown as thimbnails.
 
void paint (juce::Graphics &) override
 Paints the thumbnails.
 
void resized () override
 Triggers update of thumbnails.
 
void setStartAndEnd (double start, double end)
 Set the start time and the end time of the clip in seconds.
 

Detailed Description

The FilmStrip allows to display a line of thumbnails of a video clip.

Because it already uses the paint() and resized() hooks, you cannot inherit that. Instead put it into your Component, that you can decorate. The Filmstrip itself will not catch any mouse events, so you have still all flexibility by doing so.

Constructor & Destructor Documentation

◆ FilmStrip()

FilmStrip ( )

◆ ~FilmStrip()

~FilmStrip ( )
override

Member Function Documentation

◆ setClip()

void setClip ( std::shared_ptr< AVClip clip)

Set the clip to be shown as thimbnails.

Referenced by MainContentComponent::openFile().

◆ paint()

void paint ( juce::Graphics &  g)
override

Paints the thumbnails.

◆ resized()

void resized ( )
override

Triggers update of thumbnails.

◆ setStartAndEnd()

void setStartAndEnd ( double  start,
double  end 
)

Set the start time and the end time of the clip in seconds.

This is used to allow only a subset of thumbnails to be shown.

Referenced by MainContentComponent::openFile().


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