1999-12-09 23:15:14 +00:00
|
|
|
#ifndef RENDER_H
|
|
|
|
|
#define RENDER_H
|
|
|
|
|
|
|
|
|
|
#include "screen.h"
|
|
|
|
|
|
2001-10-04 21:05:15 +00:00
|
|
|
#define HEART_OFF 1
|
|
|
|
|
#define HEART_ON 2
|
|
|
|
|
#define HEART_OPEN 3
|
|
|
|
|
|
|
|
|
|
#define HEARTBEAT_OFF HEART_OFF
|
|
|
|
|
#define HEARTBEAT_ON HEART_ON
|
|
|
|
|
#define HEARTBEAT_OPEN HEART_OPEN
|
1999-12-09 23:15:14 +00:00
|
|
|
|
|
|
|
|
#define BACKLIGHT_OFF 0
|
|
|
|
|
#define BACKLIGHT_ON 1
|
|
|
|
|
#define BACKLIGHT_OPEN 2
|
|
|
|
|
#define BACKLIGHT_LOAD 3
|
|
|
|
|
#define BACKLIGHT_VIS 4
|
|
|
|
|
|
|
|
|
|
#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
|