source: npl/mediabox/lcdproc_edwin/src/clients/lcdproc/main.h @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 780 bytes
Line 
1#ifndef MAIN_H
2#define MAIN_H
3
4extern int Quit;
5extern int sock;
6extern char * version;
7extern char * build_date;
8
9extern int lcd_wid;
10extern int lcd_hgt;
11extern int lcd_cellwid;
12extern int lcd_cellhgt;
13
14
15typedef struct mode {
16      char which;      // Which screen is it?
17      int on_time;     // How often to update while visible?
18      int off_time;    // How often to get stats while not visible?
19      int show_invisible;  // Send stats while not visible?
20      int timer;       // Time since last update
21      int visible;     // Can we be seen right now?
22} mode;
23
24
25
26#define BLINK_ON 0x10
27#define BLINK_OFF 0x11
28#define BACKLIGHT_OFF 0x20
29#define BACKLIGHT_ON 0x21
30#define HOLD_SCREEN 0x30
31#define CONTINUE 0x31
32
33
34#define LCD_MAX_WIDTH 80
35#define LCD_MAX_HEIGHT 80
36
37#endif
Note: See TracBrowser for help on using the repository browser.