preparation du plan B
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user