widget.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 WGroup;
  11. typedef struct WGroup WGroup;
  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/rect.h"
  15. #include "lib/widget/widget-common.h"
  16. #include "lib/widget/group.h"
  17. #include "lib/widget/background.h"
  18. #include "lib/widget/frame.h"
  19. #include "lib/widget/dialog.h"
  20. #include "lib/widget/history.h"
  21. #include "lib/widget/button.h"
  22. #include "lib/widget/buttonbar.h"
  23. #include "lib/widget/check.h"
  24. #include "lib/widget/hline.h"
  25. #include "lib/widget/gauge.h"
  26. #include "lib/widget/groupbox.h"
  27. #include "lib/widget/label.h"
  28. #include "lib/widget/listbox.h"
  29. #include "lib/widget/menu.h"
  30. #include "lib/widget/radio.h"
  31. #include "lib/widget/input.h"
  32. #include "lib/widget/listbox-window.h"
  33. #include "lib/widget/quick.h"
  34. #include "lib/widget/wtools.h"
  35. #include "lib/widget/dialog-switch.h"
  36. /*** typedefs(not structures) and defined constants **********************************************/
  37. /*** enums ***************************************************************************************/
  38. /*** structures declarations (and typedefs of structures)*****************************************/
  39. /*** global variables defined in .c file *********************************************************/
  40. /*** declarations of public functions ************************************************************/
  41. /*** inline functions ****************************************************************************/
  42. #endif /* MC__WIDGET_H */