rename struct mode to _screen_mode resp. ScreenMode to keep Doxygen happy
This commit is contained in:
@@ -82,8 +82,8 @@ static int process_configfile(char *cfgfile);
|
||||
#define DEFAULT_REPORTDEST RPT_DEST_STDERR
|
||||
#define DEFAULT_REPORTLEVEL RPT_WARNING
|
||||
|
||||
/* list of modes to run */
|
||||
mode sequence[] =
|
||||
/* list of screen modes to run */
|
||||
ScreenMode sequence[] =
|
||||
{
|
||||
// flags default ACTIVE will run by default
|
||||
// longname which on off inv timer flags
|
||||
|
||||
@@ -30,7 +30,7 @@ extern int lcd_hgt;
|
||||
extern int lcd_cellwid;
|
||||
extern int lcd_cellhgt;
|
||||
|
||||
typedef struct mode
|
||||
typedef struct _screen_mode
|
||||
{
|
||||
char *longname; // Which screen is it?
|
||||
char which; // Which screen is it?
|
||||
@@ -40,7 +40,7 @@ typedef struct mode
|
||||
int timer; // Time since last update
|
||||
int flags; // bit 1 visible, bit 2 selected for display, bit 3 first
|
||||
int (*func)(int,int,int *); // function pointer
|
||||
} mode;
|
||||
} ScreenMode;
|
||||
|
||||
//mode flags
|
||||
#define VISIBLE 0x00000001 //currently visible
|
||||
|
||||
@@ -41,7 +41,7 @@ mode_close(void)
|
||||
}
|
||||
|
||||
int
|
||||
update_screen(mode *m, int display)
|
||||
update_screen(ScreenMode *m, int display)
|
||||
{
|
||||
static int status = -1;
|
||||
int old_status = status;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
int mode_init(void);
|
||||
void mode_close(void);
|
||||
|
||||
int update_screen(mode * m, int display);
|
||||
int update_screen(ScreenMode *m, int display);
|
||||
|
||||
int credit_screen(int rep, int display, int *flags_ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user