RootWin.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. Copyright 1990, 1998 The Open Group
  3. Permission to use, copy, modify, distribute, and sell this software and its
  4. documentation for any purpose is hereby granted without fee, provided that
  5. the above copyright notice appear in all copies and that both that
  6. copyright notice and this permission notice appear in supporting
  7. documentation.
  8. The above copyright notice and this permission notice shall be included
  9. in all copies or substantial portions of the Software.
  10. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  11. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  12. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  13. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  14. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  15. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  16. OTHER DEALINGS IN THE SOFTWARE.
  17. Except as contained in this notice, the name of The Open Group shall
  18. not be used in advertising or otherwise to promote the sale, use or
  19. other dealings in this Software without prior written authorization
  20. from The Open Group.
  21. */
  22. #ifndef _RootWindow_h
  23. #define _RootWindow_h
  24. /****************************************************************
  25. *
  26. * RootWindow widget
  27. *
  28. ****************************************************************/
  29. /* Resources:
  30. Name Class RepType Default Value
  31. ---- ----- ------- -------------
  32. background Background Pixel XtDefaultBackground
  33. border BorderColor Pixel XtDefaultForeground
  34. borderWidth BorderWidth Dimension 1
  35. destroyCallback Callback Pointer NULL
  36. height Height Dimension 0
  37. mappedWhenManaged MappedWhenManaged Boolean True
  38. sensitive Sensitive Boolean True
  39. width Width Dimension 0
  40. x Position Position 0
  41. y Position Position 0
  42. */
  43. /* declare specific RootWindowWidget class and instance datatypes */
  44. typedef struct _RootWindowClassRec* RootWindowWidgetClass;
  45. typedef struct _RootWindowRec* RootWindowWidget;
  46. /* declare the class constant */
  47. extern WidgetClass rootWindowWidgetClass;
  48. #endif /* _RootWindow_h */