Lines Matching defs:dialog
22 #include "dialog.h"
137 * Do some initialization for dialog
173 * End using dialog functions.
180 /* Print the title of the dialog. Center the title and truncate
181 * tile if wider than dialog (- 2 chars).
183 void print_title(WINDOW *dialog, const char *title, int width)
187 wattrset(dialog, title_attr);
188 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' ');
189 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen);
190 waddch(dialog, ' ');