RIT VEXU Core API
|
Page describes one part of the screen slideshow. More...
#include <screen.h>
Public Member Functions | |
virtual void | update (bool was_pressed, int x, int y) |
collect data, respond to screen input, do fast things (runs at 50hz even if you're not focused on this Page (only drawn page gets touch updates)) | |
virtual void | draw (vex::brain::lcd &screen, bool first_draw, unsigned int frame_number) |
draw stored data to the screen (runs at 10 hz and only runs if this page is in front) | |
Page describes one part of the screen slideshow.
|
virtual |
draw stored data to the screen (runs at 10 hz and only runs if this page is in front)
first_draw | true if we just switched to this page |
frame_number | frame of drawing we are on (basically an animation tick) |
Reimplemented in screen::StatsPage, screen::OdometryPage, screen::FunctionPage, and screen::PIDPage.
|
virtual |
collect data, respond to screen input, do fast things (runs at 50hz even if you're not focused on this Page (only drawn page gets touch updates))
was_pressed | true if the screen has been pressed |
x | x position of screen press (if the screen was pressed) |
y | y position of screen press (if the screen was pressed) |
Reimplemented in screen::StatsPage, screen::OdometryPage, screen::FunctionPage, and screen::PIDPage.