Files
lcdproc/server/screen.h
T
glengray 853d9053dd Added the fine grained backlight hierarchy code.
Depending on how the server sets the backlight it controls the clients
(if OPEN then the clients have individual control). If the client is set to
open (inherited from the server) then each screen has backlight control.
2001-11-14 13:57:25 +00:00

33 lines
545 B
C

#ifndef SCREEN_H
#define SCREEN_H
#include "shared/LL.h"
#include "clients.h"
typedef struct screen {
char *id;
char *name;
int wid, hgt;
int priority;
int duration;
int heartbeat;
int timeout;
int backlight_state;
char *keys;
LinkedList *widgets;
client *parent;
} screen;
extern int default_duration ;
extern int default_priority ;
screen *screen_create ();
int screen_destroy (screen * s);
screen *screen_find (client * c, char *id);
int screen_add (client * c, char *id);
int screen_remove (client * c, char *id);
#endif