hline.h 991 B

123456789101112131415161718192021222324252627282930
  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. /*** enums ***************************************************************************************/
  8. /*** structures declarations (and typedefs of structures)*****************************************/
  9. typedef struct
  10. {
  11. Widget widget;
  12. gboolean auto_adjust_cols; /* Compute widget.cols from parent width? */
  13. gboolean transparent; /* Paint in the default color fg/bg */
  14. } WHLine;
  15. /*** global variables defined in .c file *********************************************************/
  16. /*** declarations of public functions ************************************************************/
  17. WHLine *hline_new (int y, int x, int width);
  18. /*** inline functions ****************************************************************************/
  19. #endif /* MC__WIDGET_HLINE_H */