Lines Matching refs:FORM
33 /* $Id: form.h,v 0.20 2004/12/04 22:22:10 tom Exp $ */
83 short page; /* page on form */
84 short index; /* into form -> field */
92 struct formnode * form; /* containing form */
131 * FORM *
159 } FORM;
161 typedef void (*Form_Hook)(FORM *);
185 /* form options */
189 /* form driver commands */
284 extern NCURSES_EXPORT_VAR(FORM *) _nc_Default_Form;
350 * FORM routines *
353 extern NCURSES_EXPORT(FORM *) new_form (FIELD **);
355 extern NCURSES_EXPORT(FIELD **) form_fields (const FORM *);
356 extern NCURSES_EXPORT(FIELD *) current_field (const FORM *);
358 extern NCURSES_EXPORT(WINDOW *) form_win (const FORM *);
359 extern NCURSES_EXPORT(WINDOW *) form_sub (const FORM *);
361 extern NCURSES_EXPORT(Form_Hook) form_init (const FORM *);
362 extern NCURSES_EXPORT(Form_Hook) form_term (const FORM *);
363 extern NCURSES_EXPORT(Form_Hook) field_init (const FORM *);
364 extern NCURSES_EXPORT(Form_Hook) field_term (const FORM *);
366 extern NCURSES_EXPORT(int) free_form (FORM *);
367 extern NCURSES_EXPORT(int) set_form_fields (FORM *,FIELD **);
368 extern NCURSES_EXPORT(int) field_count (const FORM *);
369 extern NCURSES_EXPORT(int) set_form_win (FORM *,WINDOW *);
370 extern NCURSES_EXPORT(int) set_form_sub (FORM *,WINDOW *);
371 extern NCURSES_EXPORT(int) set_current_field (FORM *,FIELD *);
373 extern NCURSES_EXPORT(int) set_form_page (FORM *,int);
374 extern NCURSES_EXPORT(int) form_page (const FORM *);
375 extern NCURSES_EXPORT(int) scale_form (const FORM *,int *,int *);
376 extern NCURSES_EXPORT(int) set_form_init (FORM *,Form_Hook);
377 extern NCURSES_EXPORT(int) set_form_term (FORM *,Form_Hook);
378 extern NCURSES_EXPORT(int) set_field_init (FORM *,Form_Hook);
379 extern NCURSES_EXPORT(int) set_field_term (FORM *,Form_Hook);
380 extern NCURSES_EXPORT(int) post_form (FORM *);
381 FORM *);
382 extern NCURSES_EXPORT(int) pos_form_cursor (FORM *);
383 extern NCURSES_EXPORT(int) form_driver (FORM *,int);
384 extern NCURSES_EXPORT(int) set_form_userptr (FORM *,void *);
385 extern NCURSES_EXPORT(int) set_form_opts (FORM *,Form_Options);
386 extern NCURSES_EXPORT(int) form_opts_on (FORM *,Form_Options);
387 extern NCURSES_EXPORT(int) form_opts_off (FORM *,Form_Options);
392 extern NCURSES_EXPORT(void *) form_userptr (const FORM *);
394 extern NCURSES_EXPORT(Form_Options) form_opts (const FORM *);
396 extern NCURSES_EXPORT(bool) data_ahead (const FORM *);
397 extern NCURSES_EXPORT(bool) data_behind (const FORM *);