Manual pages: mcmcdiffmceditmcview

root/lib/widget/hline.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 
   2 /** \file hline.h
   3  *  \brief Header: WHLine widget
   4  */
   5 
   6 #ifndef MC__WIDGET_HLINE_H
   7 #define MC__WIDGET_HLINE_H
   8 
   9 /*** typedefs(not structures) and defined constants **********************************************/
  10 
  11 #define HLINE(x) ((WHLine *) (x))
  12 
  13 /*** enums ***************************************************************************************/
  14 
  15 /*** structures declarations (and typedefs of structures)*****************************************/
  16 
  17 typedef struct
  18 {
  19     Widget widget;
  20     char *text;
  21     gboolean auto_adjust_cols;  // Compute widget.cols from parent width?
  22 } WHLine;
  23 
  24 /*** global variables defined in .c file *********************************************************/
  25 
  26 /*** declarations of public functions ************************************************************/
  27 
  28 WHLine *hline_new (int y, int x, int width);
  29 void hline_set_text (WHLine *l, const char *text);
  30 void hline_set_textv (WHLine *l, const char *format, ...) G_GNUC_PRINTF (2, 3);
  31 
  32 /*** inline functions ****************************************************************************/
  33 
  34 #endif

/* [previous][next][first][last][top][bottom][index][help]  */