1 2 /** \file groupbox.h 3 * \brief Header: WGroupbox widget 4 */ 5 6 #ifndef MC__WIDGET_GROUPBOX_H 7 #define MC__WIDGET_GROUPBOX_H 8 9 /*** typedefs(not structures) and defined constants **********************************************/ 10 11 #define GROUPBOX(x) ((WGroupbox *)(x)) 12 13 /*** enums ***************************************************************************************/ 14 15 /*** structures declarations (and typedefs of structures)*****************************************/ 16 17 typedef struct WGroupbox 18 { 19 Widget widget; 20 char *title; 21 } WGroupbox; 22 23 /*** global variables defined in .c file *********************************************************/ 24 25 /*** declarations of public functions ************************************************************/ 26 27 WGroupbox *groupbox_new (int y, int x, int height, int width, const char *title); 28 void groupbox_set_title (WGroupbox * g, const char *title); 29 30 /*** inline functions ****************************************************************************/ 31 32 #endif /* MC__WIDGET_GROUPBOX_H */