UAV::Pilot::SDL::VideoOverlay
A role for objects to draw on top of a video. Requires a process_video_overlay() method, which will be passed the UAV::Pilot::SDL::Window object that the video is drawing to.
process_video_overlay()
UAV::Pilot::SDL::Window
Where $video is an UAV::Pilot::SDL::Video object, you can set an $overlay object with:
$video
UAV::Pilot::SDL::Video
$overlay
$video->register_video_overlay( $overlay );
NOTE: This is still experimental. Lines tend to flicker and show up as black. This is probably due to the SDL YUV hardware overlay.
To install UAV::Pilot::SDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UAV::Pilot::SDL
CPAN shell
perl -MCPAN -e shell install UAV::Pilot::SDL
For more information on module installation, please visit the detailed CPAN module installation guide.