(mcview__get_nroff_real_len): immediately return 0 if viewer is not in nroff mode..
[midnight-commander.git] / lib / widget.h
blob22c00c7d03842fa84371f026a6b593e698b264a3
1 /** \file widget.h
2 * \brief Header: MC widget and dialog manager: main include file.
3 */
4 #ifndef MC__WIDGET_H
5 #define MC__WIDGET_H
7 #include "lib/global.h" /* GLib */
9 /* main forward declarations */
10 struct Widget;
11 typedef struct Widget Widget;
12 struct Dlg_head;
13 typedef struct Dlg_head Dlg_head;
15 /* Please note that the first element in all the widgets is a */
16 /* widget variable of type Widget. We abuse this fact everywhere */
18 #include "lib/widget/widget-common.h"
19 #include "lib/widget/dialog.h"
20 #include "lib/widget/history.h"
21 #include "lib/widget/button.h"
22 #include "lib/widget/buttonbar.h"
23 #include "lib/widget/check.h"
24 #include "lib/widget/hline.h"
25 #include "lib/widget/gauge.h"
26 #include "lib/widget/groupbox.h"
27 #include "lib/widget/label.h"
28 #include "lib/widget/listbox.h"
29 #include "lib/widget/menu.h"
30 #include "lib/widget/radio.h"
31 #include "lib/widget/input.h"
32 #include "lib/widget/listbox-window.h"
33 #include "lib/widget/quick.h"
34 #include "lib/widget/wtools.h"
35 #include "lib/widget/dialog-switch.h"
37 /*** typedefs(not structures) and defined constants **********************************************/
39 /*** enums ***************************************************************************************/
41 /*** structures declarations (and typedefs of structures)*****************************************/
43 /*** global variables defined in .c file *********************************************************/
45 /*** declarations of public functions ************************************************************/
47 /*** inline functions ****************************************************************************/
49 #endif /* MC__WIDGET_H */