hline.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. /** \file hline.h
  2. * \brief Header: WHLine widget
  3. */
  4. #ifndef MC__WIDGET_HLINE_H
  5. #define MC__WIDGET_HLINE_H
  6. /*** typedefs(not structures) and defined constants **********************************************/
  7. #define HLINE(x) ((WHLine *)(x))
  8. /*** enums ***************************************************************************************/
  9. /*** structures declarations (and typedefs of structures)*****************************************/
  10. typedef struct
  11. {
  12. Widget widget;
  13. gboolean auto_adjust_cols; /* Compute widget.cols from parent width? */
  14. gboolean transparent; /* Paint in the default color fg/bg */
  15. } WHLine;
  16. /*** global variables defined in .c file *********************************************************/
  17. /*** declarations of public functions ************************************************************/
  18. WHLine *hline_new (int y, int x, int width);
  19. /*** inline functions ****************************************************************************/
  20. #endif /* MC__WIDGET_HLINE_H */