Dialog.h
上传用户:lctgjx
上传日期:2022-06-04
资源大小:8887k
文件大小:3k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. /* $Xorg: Dialog.h,v 1.4 2001/02/09 02:03:43 xorgcvs Exp $ */
  2. /***********************************************************
  3. Copyright 1987, 1988, 1994, 1998  The Open Group
  4. Permission to use, copy, modify, distribute, and sell this software and its
  5. documentation for any purpose is hereby granted without fee, provided that
  6. the above copyright notice appear in all copies and that both that
  7. copyright notice and this permission notice appear in supporting
  8. documentation.
  9. The above copyright notice and this permission notice shall be included in
  10. all 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. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  15. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  16. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  17. Except as contained in this notice, the name of The Open Group shall not be
  18. used in advertising or otherwise to promote the sale, use or other dealings
  19. in this Software without prior written authorization from The Open Group.
  20. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  21.                         All Rights Reserved
  22. Permission to use, copy, modify, and distribute this software and its 
  23. documentation for any purpose and without fee is hereby granted, 
  24. provided that the above copyright notice appear in all copies and that
  25. both that copyright notice and this permission notice appear in 
  26. supporting documentation, and that the name of Digital not be
  27. used in advertising or publicity pertaining to distribution of the
  28. software without specific, written prior permission.  
  29. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  30. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  31. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  32. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  33. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  34. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  35. SOFTWARE.
  36. ******************************************************************/
  37. /* $XFree86: xc/lib/Xaw/Dialog.h,v 1.5 2001/01/17 19:42:26 dawes Exp $ */
  38. #ifndef _XawDialog_h
  39. #define _XawDialog_h
  40. #include <X11/Xaw/Form.h>
  41. /* Resources:
  42.  Name      Class RepType Default Value
  43.  ----      ----- ------- -------------
  44.  background      Background Pixel XtDefaultBackground
  45.  borderColor      BorderColor Pixel XtDefaultForeground
  46.  borderWidth      BorderWidth Dimension 1
  47.  destroyCallback     Callback Pointer NULL
  48.  height      Height Dimension computed at create
  49.  icon      Icon Pixmap 0
  50.  label      Label String NULL
  51.  mappedWhenManaged   MappedWhenManaged Boolean True
  52.  sensitive      Sensitive Boolean True
  53.  value      Value String NULL
  54.  width      Width Dimension computed at create
  55.  x      Position Position 0
  56.  y      Position Position 0
  57. */
  58. #define XtCIcon "Icon"
  59. #define XtNicon "icon"
  60. typedef struct _DialogClassRec *DialogWidgetClass;
  61. typedef struct _DialogRec *DialogWidget;
  62. extern WidgetClass dialogWidgetClass;
  63. _XFUNCPROTOBEGIN
  64. void XawDialogAddButton
  65. (
  66.  Widget dialog,
  67.  _Xconst char *name,
  68.  XtCallbackProc function,
  69.  XtPointer client_data
  70.  );
  71. char *XawDialogGetValueString
  72. (
  73.  Widget w
  74. );
  75. _XFUNCPROTOEND
  76. #endif /* _XawDialog_h */