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
6
void
set_video(
const
std::string &filename);
8
void
video_restart();
9
// plays the video set by set_video()
10
// because of memory constraints we're limited to one video at a time
11
class
VideoPlayer :
public
screen::Page
{
12
public
:
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
};
screen::Page
Page describes one part of the screen slideshow.
Definition
screen.h:125
include
subsystems
fun
video.h
Generated by
1.10.0