widget.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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/scrollbar.h"
  31. #include "lib/widget/wtools.h"
  32. #include "lib/widget/dialog-switch.h"
  33. /*** typedefs(not structures) and defined constants **********************************************/
  34. /*** enums ***************************************************************************************/
  35. /*** structures declarations (and typedefs of structures)*****************************************/
  36. /*** global variables defined in .c file *********************************************************/
  37. /*** declarations of public functions ************************************************************/
  38. /*** inline functions ****************************************************************************/
  39. #endif /* MC__WIDGET_H */