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