preparation du plan B

This commit is contained in:
phyto
2019-05-22 09:50:25 +02:00
parent dcc927418b
commit 1b03d60613
9 changed files with 46 additions and 21 deletions

View File

@@ -11,6 +11,16 @@
extern int verbosity;
/* ---------------------------------------------------------------- */
void bordure(WINDOW * w, char *texte, int type)
{
if (type)
box(w, 0, 0);
else
wborder(w, '|', '|', '-', '-', '+', '+', '+', '+');
wstandout(w); mvwaddstr(w, 0, 3, texte); wstandend(w);
wrefresh(w);
}
/* ---------------------------------------------------------------- */
int kbhit(void)
{
@@ -29,7 +39,7 @@ else { // input
ungetch(ch);
}
// restore block and echo
// restore block and echo
echo();
nodelay(stdscr, FALSE);

View File

@@ -6,6 +6,7 @@ int kbhit(void); /* experimental */
int fond_ecran(char *titre);
int aff_message(char *);
void bordure(WINDOW * w, char *texte, int type);
int aff7segs_base(WINDOW * win, int lig, int col, int bits, int k);