widget.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /** \file widget.h
  2. * \brief Header: MC widget and dialog manager: main include file.
  3. */
  4. #ifndef MC__WIDGET_H
  5. #define MC__WIDGET_H
  6. #include "lib/global.h" /* GLib */
  7. /* main forward declarations */
  8. struct Widget;
  9. typedef struct Widget Widget;
  10. struct WDialog;
  11. typedef struct WDialog WDialog;
  12. /* Please note that the first element in all the widgets is a */
  13. /* widget variable of type Widget. We abuse this fact everywhere */
  14. #include "lib/widget/widget-common.h"
  15. #include "lib/widget/dialog.h"
  16. #include "lib/widget/history.h"
  17. #include "lib/widget/button.h"
  18. #include "lib/widget/buttonbar.h"
  19. #include "lib/widget/check.h"
  20. #include "lib/widget/hline.h"
  21. #include "lib/widget/gauge.h"
  22. #include "lib/widget/groupbox.h"
  23. #include "lib/widget/label.h"
  24. #include "lib/widget/listbox.h"
  25. #include "lib/widget/menu.h"
  26. #include "lib/widget/radio.h"
  27. #include "lib/widget/input.h"
  28. #include "lib/widget/listbox-window.h"
  29. #include "lib/widget/quick.h"
  30. #include "lib/widget/wtools.h"
  31. #include "lib/widget/dialog-switch.h"
  32. /*** typedefs(not structures) and defined constants **********************************************/
  33. /*** enums ***************************************************************************************/
  34. /*** structures declarations (and typedefs of structures)*****************************************/
  35. /*** global variables defined in .c file *********************************************************/
  36. /*** declarations of public functions ************************************************************/
  37. /*** inline functions ****************************************************************************/
  38. #endif /* MC__WIDGET_H */