TitleBox.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $XConsortium: TitleBox.h /main/4 1995/10/26 09:34:50 rswiston $ */
  24. /**---------------------------------------------------------------------
  25. ***
  26. *** file: TitleBox.h
  27. ***
  28. *** project: MotifPlus Widgets
  29. ***
  30. *** description: Public include file for DtTitleBox class.
  31. ***
  32. ***
  33. *** (c) Copyright 1990 by Hewlett-Packard Company.
  34. ***
  35. ***
  36. ***-------------------------------------------------------------------*/
  37. #ifndef _DtTitleBox_h
  38. #define _DtTitleBox_h
  39. #include <Xm/Xm.h>
  40. #include <Dt/DtStrDefs.h>
  41. #ifndef DtIsTitleBox
  42. #define DtIsTitleBox(w) XtIsSubclass(w, DtTitleBoxClass)
  43. #endif /* DtIsTitleBox */
  44. /******** Public Function Declarations ********/
  45. extern Widget _DtCreateTitleBox(
  46. Widget parent,
  47. char *name,
  48. ArgList arglist,
  49. Cardinal argcount) ;
  50. extern Widget _DtTitleBoxGetTitleArea(
  51. Widget w) ;
  52. extern Widget _DtTitleBoxGetWorkArea(
  53. Widget w) ;
  54. extern WidgetClass dtTitleBoxWidgetClass;
  55. typedef struct _DtTitleBoxClassRec * DtTitleBoxWidgetClass;
  56. typedef struct _DtTitleBoxRec * DtTitleBoxWidget;
  57. #define XmTITLE_TOP 0
  58. #define XmTITLE_BOTTOM 1
  59. #define XmTITLE_AREA 1
  60. #endif /* _DtTitleBox_h */
  61. /* DON'T ADD ANYTHING AFTER THIS #endif */