PageRenderTime 20ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/xts5/include/X11/Xaw/Box.h

#
C Header | 130 lines | 11 code | 11 blank | 108 comment | 0 complexity | 706aa88ff3d8bcc61816794be719d216 MD5 | raw file
  1. /*
  2. Copyright (c) 2005 X.Org Foundation L.L.C.
  3. Permission is hereby granted, free of charge, to any person obtaining a copy of
  4. this software and associated documentation files (the "Software"), to deal in
  5. the Software without restriction, including without limitation the rights to
  6. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  7. of the Software, and to permit persons to whom the Software is furnished to do
  8. so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in all
  10. copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  17. SOFTWARE.
  18. */
  19. /*
  20. *
  21. * Copyright (c) Applied Testing and Technology, Inc. 1995
  22. * All Rights Reserved.
  23. *
  24. * Project: VSW5
  25. *
  26. * File: xts5/include/X11/Xaw/Box.h
  27. *
  28. * Description:
  29. * Defines used by the version of Athena widgets include in VSW5
  30. *
  31. * Modifications:
  32. * $Log: Box.h,v $
  33. * Revision 1.2 2005-11-03 08:42:01 jmichael
  34. * clean up all vsw5 paths to use xts5 instead.
  35. *
  36. * Revision 1.1.1.2 2005/04/15 14:05:07 anderson
  37. * Reimport of the base with the legal name in the copyright fixed.
  38. *
  39. * Revision 8.0 1998/12/23 23:23:00 mar
  40. * Branch point for Release 5.0.2
  41. *
  42. * Revision 7.0 1998/10/30 22:41:00 mar
  43. * Branch point for Release 5.0.2b1
  44. *
  45. * Revision 6.0 1998/03/02 05:15:33 tbr
  46. * Branch point for Release 5.0.1
  47. *
  48. * Revision 5.0 1998/01/26 03:12:05 tbr
  49. * Branch point for Release 5.0.1b1
  50. *
  51. * Revision 4.0 1995/12/15 08:38:55 tbr
  52. * Branch point for Release 5.0.0
  53. *
  54. * Revision 3.1 1995/12/15 00:34:56 andy
  55. * Prepare for GA Release
  56. *
  57. */
  58. /***********************************************************
  59. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  60. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  61. All Rights Reserved
  62. Permission to use, copy, modify, and distribute this software and its
  63. documentation for any purpose and without fee is hereby granted,
  64. provided that the above copyright notice appear in all copies and that
  65. both that copyright notice and this permission notice appear in
  66. supporting documentation, and that the names of Digital or MIT not be
  67. used in advertising or publicity pertaining to distribution of the
  68. software without specific, written prior permission.
  69. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  70. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  71. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  72. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  73. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  74. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  75. SOFTWARE.
  76. ******************************************************************/
  77. #ifndef _XawBox_h
  78. #define _XawBox_h
  79. #include <X11/Xmu/Converters.h>
  80. /***********************************************************************
  81. *
  82. * Box Widget (subclass of CompositeClass)
  83. *
  84. ***********************************************************************/
  85. /* Parameters:
  86. Name Class RepType Default Value
  87. ---- ----- ------- -------------
  88. background Background Pixel XtDefaultBackground
  89. border BorderColor Pixel XtDefaultForeground
  90. borderWidth BorderWidth Dimension 1
  91. destroyCallback Callback Pointer NULL
  92. hSpace HSpace Dimension 4
  93. height Height Dimension 0
  94. mappedWhenManaged MappedWhenManaged Boolean True
  95. orientation Orientation XtOrientation vertical
  96. vSpace VSpace Dimension 4
  97. width Width Dimension 0
  98. x Position Position 0
  99. y Position Position 0
  100. */
  101. /* New fields */
  102. #ifndef _XtStringDefs_h_
  103. #define XtNhSpace "hSpace"
  104. #define XtNvSpace "vSpace"
  105. #endif
  106. /* Class record constants */
  107. extern WidgetClass boxWidgetClass;
  108. typedef struct _BoxClassRec *BoxWidgetClass;
  109. typedef struct _BoxRec *BoxWidget;
  110. #endif /* _XawBox_h */