Files
lcdproc/server/screen.h
T

33 lines
545 B
C
Raw Normal View History

1999-12-09 23:15:14 +00:00
#ifndef SCREEN_H
#define SCREEN_H
#include "shared/LL.h"
1999-12-09 23:15:14 +00:00
#include "clients.h"
typedef struct screen {
2000-04-03 22:13:57 +00:00
char *id;
char *name;
int wid, hgt;
int priority;
int duration;
int heartbeat;
int timeout;
int backlight_state;
char *keys;
LinkedList *widgets;
2000-04-03 22:13:57 +00:00
client *parent;
1999-12-09 23:15:14 +00:00
} screen;
extern int default_duration ;
extern int default_priority ;
screen *screen_create ();
int screen_destroy (screen * s);
1999-12-09 23:15:14 +00:00
screen *screen_find (client * c, char *id);
1999-12-09 23:15:14 +00:00
int screen_add (client * c, char *id);
int screen_remove (client * c, char *id);
1999-12-09 23:15:14 +00:00
#endif