Merge branch '4524_cleanup'
[midnight-commander.git] / lib / widget / groupbox.h
blob06fb0d35c6595780ccf04488db4c86d698e169b5
2 /** \file groupbox.h
3 * \brief Header: WGroupbox widget
4 */
6 #ifndef MC__WIDGET_GROUPBOX_H
7 #define MC__WIDGET_GROUPBOX_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define GROUPBOX(x) ((WGroupbox *)(x))
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 typedef struct WGroupbox
19 Widget widget;
20 char *title;
21 } WGroupbox;
23 /*** global variables defined in .c file *********************************************************/
25 /*** declarations of public functions ************************************************************/
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);
30 /*** inline functions ****************************************************************************/
32 #endif /* MC__WIDGET_GROUPBOX_H */