1ff6f3b431067db18e3a4974d536ae87e6dfcb11
[midnight-commander.git] / lib / widget / groupbox.h
blob1ff6f3b431067db18e3a4974d536ae87e6dfcb11
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 */