HelpDialog.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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: HelpDialog.h /main/3 1995/10/26 12:24:05 rswiston $ */
  24. /*
  25. * (c) Copyright 1993, 1994 Hewlett-Packard Company
  26. * (c) Copyright 1993, 1994 International Business Machines Corp.
  27. * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  28. * (c) Copyright 1993, 1994 Novell, Inc.
  29. */
  30. #ifndef _Dt_HelpDialog_h
  31. #define _Dt_HelpDialog_h
  32. #include <Dt/Help.h>
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. /*
  37. * Constants
  38. */
  39. /* General Help Dialog-specific Resources */
  40. #ifndef DtNmarginWidth
  41. #define DtNmarginWidth XmNmarginWidth
  42. #endif
  43. #ifndef DtNmarginHeight
  44. #define DtNmarginHeight XmNmarginHeight
  45. #endif
  46. #ifndef DtNshowNewWindowButton
  47. #define DtNshowNewWindowButton "showNewWindowButton"
  48. #endif
  49. #ifndef DtNtopicTitle
  50. #define DtNtopicTitle "topicTitle"
  51. #endif
  52. #ifndef DtNvisiblePathCount
  53. #define DtNvisiblePathCount "visiblePathCount"
  54. #endif
  55. #ifndef DtCCallback
  56. #define DtCCallback XmCCallback
  57. #endif
  58. #ifndef DtCMarginWidth
  59. #define DtCMarginWidth XmCMarginWidth
  60. #endif
  61. #ifndef DtCMarginHeight
  62. #define DtCMarginHeight XmCMarginHeight
  63. #endif
  64. #ifndef DtCShowNewWindowButton
  65. #define DtCShowNewWindowButton "ShowNewWindowButton"
  66. #endif
  67. #ifndef DtCTopicTitle
  68. #define DtCTopicTitle "TopicTitle"
  69. #endif
  70. #ifndef DtCVisiblePathCount
  71. #define DtCVisiblePathCount "VisiblePathCount"
  72. #endif
  73. /*
  74. * Types
  75. */
  76. /* Widget class and instance */
  77. typedef struct _DtHelpDialogWidgetClassRec * DtHelpDialogWidgetClass;
  78. typedef struct _DtHelpDialogWidgetRec * DtHelpDialogWidget;
  79. /*
  80. * Data
  81. */
  82. /* Widget class record */
  83. externalref WidgetClass dtHelpDialogWidgetClass;
  84. /*
  85. * Functions
  86. */
  87. extern Widget DtCreateHelpDialog(
  88. Widget parent,
  89. char *name,
  90. ArgList arglist,
  91. Cardinal argcount);
  92. #ifdef __cplusplus
  93. }
  94. #endif
  95. #endif /* _Dt_HelpDialog_h */