Files
lcdproc/server/screenlist.h
T
robijn 726f2f995e Big changes in code of clients, screens and widgets.
- Moved and altered code to create, destroy and manipulate clients, screens
  and widgets in an OO-like manner.
- Moved command execution code to a commands directory, splitting commands to
  what subject they are concerned.
- Menus are temporary disabled while working on new menu structure.
2002-04-26 00:00:31 +00:00

41 lines
794 B
C

/*
* screenlist.h
* This file is part of LCDd, the lcdproc server.
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 1999, William Ferrell, Scott Scriven
*
*/
#ifndef SCREENLIST_H
#define SCREENLIST_H
#include "screen.h"
#define SCR_HOLD 1
#define SCR_SKIP 2
#define SCR_BACK 3
#define RENDER_HOLD 11
#define RENDER_SKIP 12
#define RENDER_BACK 13
extern int screenlist_action;
extern int timer;
int screenlist_init ();
int screenlist_shutdown ();
LinkedList *screenlist_getlist ();
Screen *screenlist_current ();
int screenlist_add (Screen * s);
Screen *screenlist_next ();
Screen *screenlist_prev ();
int screenlist_remove (Screen * s);
int screenlist_remove_all (Screen * s);
#endif