root/lib/widget/check.h

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

INCLUDED FROM


   1 
   2 /** \file check.h
   3  *  \brief Header: WCheck widget
   4  */
   5 
   6 #ifndef MC__WIDGET_CHECK_H
   7 #define MC__WIDGET_CHECK_H
   8 
   9 /*** typedefs(not structures) and defined constants **********************************************/
  10 
  11 #define CHECK(x) ((WCheck *)(x))
  12 
  13 /*** enums ***************************************************************************************/
  14 
  15 /*** structures declarations (and typedefs of structures)*****************************************/
  16 
  17 typedef struct WCheck
  18 {
  19     Widget widget;
  20     gboolean state;             /* check button state */
  21     hotkey_t text;              /* text of check button */
  22 } WCheck;
  23 
  24 /*** global variables defined in .c file *********************************************************/
  25 
  26 /*** declarations of public functions ************************************************************/
  27 
  28 WCheck *check_new (int y, int x, gboolean state, const char *text);
  29 
  30 /*** inline functions ****************************************************************************/
  31 
  32 #endif /* MC__WIDGET_CHECK_H */

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