Manual pages: mcmcdiffmceditmcview

root/lib/widget/frame.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 
   2 /** \file frame.h
   3  *  \brief Header: WFrame widget
   4  */
   5 
   6 #ifndef MC__WIDGET_FRAME_H
   7 #define MC__WIDGET_FRAME_H
   8 
   9 /*** typedefs(not structures) and defined constants **********************************************/
  10 
  11 #define FRAME(x)           ((WFrame *) (x))
  12 #define CONST_FRAME(x)     ((const WFrame *) (x))
  13 
  14 #define FRAME_COLOR_NORMAL DLG_COLOR_NORMAL
  15 #define FRAME_COLOR_TITLE  DLG_COLOR_TITLE
  16 #define FRAME_COLOR_FRAME  DLG_COLOR_FRAME
  17 
  18 /*** enums ***************************************************************************************/
  19 
  20 /*** typedefs(not structures) ********************************************************************/
  21 
  22 /*** structures declarations (and typedefs of structures)*****************************************/
  23 
  24 typedef struct
  25 {
  26     Widget widget;
  27 
  28     char *title;
  29     gboolean single;
  30     gboolean compact;
  31 } WFrame;
  32 
  33 /*** global variables defined in .c file *********************************************************/
  34 
  35 /*** declarations of public functions ************************************************************/
  36 
  37 WFrame *frame_new (int y, int x, int lines, int cols, const char *title, gboolean single,
  38                    gboolean compact);
  39 cb_ret_t frame_callback (Widget *w, Widget *sender, widget_msg_t msg, int parm, void *data);
  40 void frame_set_title (WFrame *f, const char *title);
  41 
  42 /*** inline functions ****************************************************************************/
  43 
  44 #endif

/* [previous][next][first][last][top][bottom][index][help]  */