]> git.sesse.net Git - ccbs/blobdiff - bigscreen/rotatescreen.h
Make sure each screen stays on for a minimum of three seconds (eight if it contains...
[ccbs] / bigscreen / rotatescreen.h
index 0883ca27cc4d24591b4e5d764d28e711820c91d8..6a5c35f70b7031e82270463defae10da707cbc41 100644 (file)
@@ -17,13 +17,16 @@ struct Subscreen {
 
 class RotateScreen : public GenericScreen {
 private:
+       unsigned char *fadefrom_buf;
        bool valid;
        std::vector<Subscreen> 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();