1 #ifndef _ROTATESCREEN_H
2 #define _ROTATESCREEN_H 1
10 * Doesn't rotate the screens, but rotate _between_ them (ie. show
15 GenericScreen *screen;
18 class RotateScreen : public GenericScreen {
20 unsigned char *fadefrom_buf;
22 std::vector<Subscreen> subscreens;
23 unsigned current_screen;
25 struct timeval last_update, fade_started;
26 bool in_fade, fade_found_start_time, same_fade;
32 virtual ~RotateScreen();
34 bool check_invalidated();
35 void draw(unsigned char *buf);
37 void add_screen(GenericScreen *screen);
38 // void remove_screen(GenericScreen *screen);
41 #endif /* !defined(_ROTATESCREEN_H) */