1 /** \file listbox-window.h
2 * \brief Header: Listbox widget, a listbox within dialog window
5 #ifndef MC__LISTBOX_DIALOG_H
6 #define MC__LISTBOX_DIALOG_H
8 /*** typedefs(not structures) and defined constants **********************************************/
10 #define LISTBOX_APPEND_TEXT(l,h,t,d,f) \
11 listbox_add_item (l->list, LISTBOX_APPEND_AT_END, h, t, d, f)
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
23 /*** global variables defined in .c file *********************************************************/
25 /*** declarations of public functions ************************************************************/
27 /* Listbox utility functions */
28 Listbox
*create_listbox_window_centered (int center_y
, int center_x
, int lines
, int cols
,
29 const char *title
, const char *help
);
30 Listbox
*create_listbox_window (int lines
, int cols
, const char *title
, const char *help
);
31 int run_listbox (Listbox
* l
);
33 /*** inline functions ****************************************************************************/
35 #endif /* MC__LISTBOX_DIALOG_H */