3 * $Id: curses_xlat.h,v 1.3 2005/02/08 05:54:44 cpressey Exp $
6 #ifndef __CURSES_XLAT_H
7 #define __CURSES_XLAT_H
10 * Info structure attached to each curses form's userdata pointer.
11 * Lets us get back to the underlying dfui form and track columns widths.
13 struct curses_form_userdata {
14 const struct dfui_form *f;
18 int curses_form_create_widget_row(struct curses_form *,
19 struct curses_widget *, const struct dfui_dataset *,
21 struct curses_form *curses_form_construct_from_dfui_form(const struct dfui_form *);
22 struct curses_form *curses_form_construct_from_dfui_progress(const struct dfui_progress *,
23 struct curses_widget **,
24 struct curses_widget **,
25 struct curses_widget **);
26 void curses_widgets_update_from_dfui_progress(const struct dfui_progress *,
27 struct curses_widget *,
28 struct curses_widget *,
29 struct curses_widget *);
30 struct dfui_response *response_construct_from_curses_form(const struct dfui_form *,
31 const struct curses_form *,
32 const struct curses_widget *);
34 #endif /* !__CURSES_XLAT_H */