3 * This file is part of LCDd, the lcdproc server.
5 * This file is released under the GNU General Public License. Refer to the
6 * COPYING file distributed with this package.
8 * Copyright (c) 1999, William Ferrell, Scott Scriven
21 #define RENDER_HOLD 11
22 #define RENDER_SKIP 12
23 #define RENDER_BACK 13
25 /*extern int screenlist_action;*/
26 extern bool autorotate
;
28 int screenlist_init(void);
29 /* Initializes the screenlist. */
31 int screenlist_shutdown(void);
32 /* Shuts down the screenlist. */
34 int screenlist_add(Screen
*s
);
35 /* Adds a screen to the screenlist. */
37 int screenlist_remove(Screen
*s
);
38 /* Removes a screen from the screenlist. */
40 void screenlist_process(void);
41 /* Processes the screenlist. Decides if we need to switch to an other
44 void screenlist_switch(Screen
*s
);
45 /* Switches to an other screen in the proper way. Informs clients of
46 * the switch. ALWAYS USE THIS FUNCTION TO SWITCH SCREENS. */
48 Screen
*screenlist_current(void);
49 /* Returns the currently active screen. */
51 int screenlist_goto_next(void);
52 /* Moves on to the next screen. */
54 int screenlist_goto_prev(void);
55 /* Moves on to the previous screen. */