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, fade_to_new_info;
33 virtual ~RotateScreen();
35 bool check_invalidated();
36 void draw(unsigned char *buf, unsigned width, unsigned height);
38 void add_screen(GenericScreen *screen);
39 // void remove_screen(GenericScreen *screen);
42 #endif /* !defined(_ROTATESCREEN_H) */