groupbox.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. /** \file groupbox.h
  2. * \brief Header: WGroupbox widget
  3. */
  4. #ifndef MC__WIDGET_GROUPBOX_H
  5. #define MC__WIDGET_GROUPBOX_H
  6. /*** typedefs(not structures) and defined constants **********************************************/
  7. #define GROUPBOX(x) ((WGroupbox *) (x))
  8. /*** enums ***************************************************************************************/
  9. /*** structures declarations (and typedefs of structures)*****************************************/
  10. typedef struct WGroupbox
  11. {
  12. Widget widget;
  13. char *title;
  14. } WGroupbox;
  15. /*** global variables defined in .c file *********************************************************/
  16. /*** declarations of public functions ************************************************************/
  17. WGroupbox *groupbox_new (int y, int x, int height, int width, const char *title);
  18. void groupbox_set_title (WGroupbox *g, const char *title);
  19. /*** inline functions ****************************************************************************/
  20. #endif /* MC__WIDGET_GROUPBOX_H */