2010-11-12 11:03:57 +03:00
|
|
|
/** \file widget.h
|
|
|
|
* \brief Header: MC widget and dialog manager: main include file.
|
|
|
|
*/
|
|
|
|
#ifndef MC__WIDGET_H
|
|
|
|
#define MC__WIDGET_H
|
|
|
|
|
2010-11-22 17:15:28 +03:00
|
|
|
#include "lib/global.h" /* GLib */
|
2010-11-12 11:03:57 +03:00
|
|
|
|
|
|
|
/* main forward declarations */
|
|
|
|
struct Widget;
|
|
|
|
typedef struct Widget Widget;
|
2012-09-28 11:18:45 +04:00
|
|
|
struct WDialog;
|
|
|
|
typedef struct WDialog WDialog;
|
2010-11-12 11:03:57 +03:00
|
|
|
|
|
|
|
/* Please note that the first element in all the widgets is a */
|
|
|
|
/* widget variable of type Widget. We abuse this fact everywhere */
|
|
|
|
|
|
|
|
#include "lib/widget/widget-common.h"
|
|
|
|
#include "lib/widget/dialog.h"
|
|
|
|
#include "lib/widget/history.h"
|
|
|
|
#include "lib/widget/button.h"
|
|
|
|
#include "lib/widget/buttonbar.h"
|
|
|
|
#include "lib/widget/check.h"
|
|
|
|
#include "lib/widget/hline.h"
|
|
|
|
#include "lib/widget/gauge.h"
|
|
|
|
#include "lib/widget/groupbox.h"
|
|
|
|
#include "lib/widget/label.h"
|
|
|
|
#include "lib/widget/listbox.h"
|
|
|
|
#include "lib/widget/menu.h"
|
|
|
|
#include "lib/widget/radio.h"
|
|
|
|
#include "lib/widget/input.h"
|
|
|
|
#include "lib/widget/listbox-window.h"
|
|
|
|
#include "lib/widget/quick.h"
|
|
|
|
#include "lib/widget/wtools.h"
|
|
|
|
#include "lib/widget/dialog-switch.h"
|
|
|
|
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
|
|
|
|
#endif /* MC__WIDGET_H */
|