/**************************************************************************
<MODULE NAME>
  <FILENAME> video.h </FILENAME>
  <HISTORY>
    <MODIFICATION>
      <DATE>  </DATE>
      <AUTHOR>  </AUTHOR>
      <DESCRIPTION>
      </DESCRIPTION>
    </MODIFICATION>
</HISTORY>
</MODULE NAME>
**************************************************************************/

/**************************************************************************
MACRO
**************************************************************************/
#define V     0  /* Version */
#define H     1  /* Hardware */
#define I     2  /* Id */
#define C     3  /* Commune */
#define B     4  /* Bureau */
#define D     5  /* Date */
#define SU    6  /* Status Urne */
#define SV    7  /* Status Valideuse */
#define OU    8  /* Output Urne */
#define OV    9  /* Output Valideuse */
#define CT   10  /* Nb cards (total) */
#define CN   11  /* Nb cards (national) */
#define CE   12  /* Nb cards (stranger) */
#define CNX  13  /* Nb cards (national X) -> last card introduced */
#define CEX  14  /* Nb cards (stranger X) -> last card introduced */
#define VP   15  /* Next Validation */
#define VD   16  /* Last Validation */
#define PWD  17  /* Password */
#define PWD2 18  /* Password Validation */
#define OG   19  /* Output general (bottom) */
#define OB   20  /* Output Base (SCR_START (middle of the screen))
                   In this case whe can specify several lines with "\n" */
/* end Video_Affiche */

#define SCR_START      0 /* Just top of the screen (Date...) */
#define SCR_GEN        1 /* General (urne + valideuse) */
#define SCR_PWD        2 /* Password */
#define SCR_URNE       3 /* urne + output */
#define SCR_RECOMPT    5 /* urne + recomptage */

/**************************************************************************
FUNCTION PROTOTYPES
**************************************************************************/
#ifdef __cplusplus
/*C++ define*/
extern "C"
{
#endif
extern void Init_Graph(void);
extern void Video_Affiche(int, char *);
extern void Video_Init(int, int);
extern void Video_Screen(int);
extern int  GetVideoScreen(void);
#ifdef __cplusplus
}
#endif
