2001-12-27 23:30:36 +00:00
|
|
|
/*
|
|
|
|
|
* render.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
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
1999-12-09 23:15:14 +00:00
|
|
|
#ifndef RENDER_H
|
|
|
|
|
#define RENDER_H
|
|
|
|
|
|
|
|
|
|
#include "screen.h"
|
|
|
|
|
|
2002-03-27 22:38:12 +00:00
|
|
|
#define HEARTBEAT_OFF 0
|
|
|
|
|
#define HEARTBEAT_ON 1
|
|
|
|
|
#define HEARTBEAT_OPEN 2
|
|
|
|
|
#define HEARTBEAT_SLASH 3
|
1999-12-09 23:15:14 +00:00
|
|
|
|
2002-03-15 20:24:39 +00:00
|
|
|
#define SERVER_SCREEN_NEVER 0
|
|
|
|
|
#define SERVER_SCREEN_NOSCREEN 1
|
|
|
|
|
#define SERVER_SCREEN_ALWAYS 2
|
|
|
|
|
|
1999-12-09 23:15:14 +00:00
|
|
|
#define BACKLIGHT_OFF 0
|
|
|
|
|
#define BACKLIGHT_ON 1
|
|
|
|
|
#define BACKLIGHT_OPEN 2
|
2001-11-14 13:57:25 +00:00
|
|
|
#define BACKLIGHT_NOTSET 3
|
1999-12-09 23:15:14 +00:00
|
|
|
|
|
|
|
|
#define BACKLIGHT_BLINK 0x100
|
|
|
|
|
#define BACKLIGHT_FLASH 0x200
|
|
|
|
|
|
|
|
|
|
extern int heartbeat;
|
|
|
|
|
extern int backlight;
|
|
|
|
|
extern int backlight_state;
|
|
|
|
|
extern int backlight_brightness;
|
|
|
|
|
extern int backlight_off_brightness;
|
|
|
|
|
extern int output_state;
|
2000-03-30 20:20:41 +00:00
|
|
|
int draw_screen (screen * s, int timer);
|
1999-12-09 23:15:14 +00:00
|
|
|
|
|
|
|
|
#endif
|