RIT VEXU Core API
Loading...
Searching...
No Matches
video.h
1#include "../core/include/subsystems/screen.h"
2#include "pl_mpeg.h"
3#include <string>
4
6void set_video(const std::string &filename);
8void video_restart();
9// plays the video set by set_video()
10// because of memory constraints we're limited to one video at a time
11class VideoPlayer : public screen::Page {
12public:
13 VideoPlayer();
14 void update(bool was_pressed, int x, int y) override;
15
16 void draw(vex::brain::lcd &screen, bool first_draw, unsigned int frame_number) override;
17};
Page describes one part of the screen slideshow.
Definition screen.h:125