File: [Platon] / tucniak / term / tt_message.c (download)
Revision 1.1.1.1 (vendor branch), Fri Nov 11 16:08:27 2005 UTC (18 years, 5 months ago) by koli
Changes since 1.1: +0 -0
lines
Initial import
|
// Copyright (c) 2003 Juraj Kolesár (koli) <koli@koli.sk>
#include "tt.h"
/******************************************************************************/
int tt_message(WINDOW *parent, char *str) {
int Status;
WINDOW *win = newwin(5, 40, 10, 20);
box(win,0,0);
mvwprintw(win, 2, 5, str);
wrefresh(win);
Status = tt_input();
delwin(win);
touchwin(parent);
wrefresh(parent);
return(Status);
}
Platon Group <platon@platon.org> http://platon.org/
|