3 * \brief Header: WFrame widget
6 #ifndef MC__WIDGET_FRAME_H
7 #define MC__WIDGET_FRAME_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define FRAME(x) ((WFrame *)(x))
12 #define CONST_FRAME(x) ((const WFrame *)(x))
14 #define FRAME_COLOR_NORMAL DLG_COLOR_NORMAL
15 #define FRAME_COLOR_TITLE DLG_COLOR_TITLE
17 /*** enums ***************************************************************************************/
19 /*** typedefs(not structures) ********************************************************************/
21 /*** structures declarations (and typedefs of structures)*****************************************/
32 /*** global variables defined in .c file *********************************************************/
34 /*** declarations of public functions ************************************************************/
36 WFrame
*frame_new (int y
, int x
, int lines
, int cols
, const char *title
, gboolean single
,
38 cb_ret_t
frame_callback (Widget
* w
, Widget
* sender
, widget_msg_t msg
, int parm
, void *data
);
39 void frame_set_title (WFrame
* f
, const char *title
);
41 /*** inline functions ****************************************************************************/
43 #endif /* MC__WIDGET_FRAME_H */