X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Frotatescreen.h;h=6a5c35f70b7031e82270463defae10da707cbc41;hp=0883ca27cc4d24591b4e5d764d28e711820c91d8;hb=ef1894b4aa12db7fef35e1f62be0964fb7f6159e;hpb=865e85b2e5da68f6bf0b907d239f2277579382a6 diff --git a/bigscreen/rotatescreen.h b/bigscreen/rotatescreen.h index 0883ca2..6a5c35f 100644 --- a/bigscreen/rotatescreen.h +++ b/bigscreen/rotatescreen.h @@ -17,13 +17,16 @@ struct Subscreen { class RotateScreen : public GenericScreen { private: + unsigned char *fadefrom_buf; bool valid; std::vector subscreens; unsigned current_screen; - struct timeval last_update; + struct timeval last_update, fade_started; + bool in_fade, fade_found_start_time, fade_to_new_info; bool needs_update(); + bool can_update(); public: RotateScreen();