root/lib/widget/radio.h

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

INCLUDED FROM


   1 
   2 /** \file radio.h
   3  *  \brief Header: WRadio widget
   4  */
   5 
   6 #ifndef MC__WIDGET_RADIO_H
   7 #define MC__WIDGET_RADIO_H
   8 
   9 /*** typedefs(not structures) and defined constants **********************************************/
  10 
  11 #define RADIO(x) ((WRadio *)(x))
  12 
  13 /*** enums ***************************************************************************************/
  14 
  15 /*** structures declarations (and typedefs of structures)*****************************************/
  16 
  17 typedef struct WRadio
  18 {
  19     Widget widget;
  20     int pos;
  21     int sel;
  22     int count;                  /* number of members */
  23     hotkey_t *texts;            /* texts of labels */
  24 } WRadio;
  25 
  26 /*** global variables defined in .c file *********************************************************/
  27 
  28 /*** declarations of public functions ************************************************************/
  29 
  30 WRadio *radio_new (int y, int x, int count, const char **text);
  31 
  32 /*** inline functions ****************************************************************************/
  33 
  34 #endif /* MC__WIDGET_RADIO_H */

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