mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
71364f88c3
...into small: one widget in one file. Renamed most if WInput functions. Minor optimization. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
31 lines
991 B
C
31 lines
991 B
C
|
|
/** \file hline.h
|
|
* \brief Header: WHLine widget
|
|
*/
|
|
|
|
#ifndef MC__WIDGET_HLINE_H
|
|
#define MC__WIDGET_HLINE_H
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
typedef struct
|
|
{
|
|
Widget widget;
|
|
gboolean auto_adjust_cols; /* Compute widget.cols from parent width? */
|
|
gboolean transparent; /* Paint in the default color fg/bg */
|
|
} WHLine;
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
WHLine *hline_new (int y, int x, int width);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC__WIDGET_HLINE_H */
|