Unify widget and dialog message handling.
[midnight-commander.git] / lib / widget / hline.h
blob68f34915c74899e36c5aceba403453408de004f7
2 /** \file hline.h
3 * \brief Header: WHLine widget
4 */
6 #ifndef MC__WIDGET_HLINE_H
7 #define MC__WIDGET_HLINE_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 /*** enums ***************************************************************************************/
13 /*** structures declarations (and typedefs of structures)*****************************************/
15 typedef struct
17 Widget widget;
18 gboolean auto_adjust_cols; /* Compute widget.cols from parent width? */
19 gboolean transparent; /* Paint in the default color fg/bg */
20 } WHLine;
22 /*** global variables defined in .c file *********************************************************/
24 /*** declarations of public functions ************************************************************/
26 WHLine *hline_new (int y, int x, int width);
28 /*** inline functions ****************************************************************************/
30 #endif /* MC__WIDGET_HLINE_H */