i hope the node casts are correct here.
[AROS-Contrib.git] / arospdf / xpdf / XPDFTree.h
blob432b4ff7630c3ff23a2a501852db3f26441c94e5
1 //========================================================================
2 //
3 // XPDFTree.h
4 //
5 // Copyright 2002-2003 Glyph & Cog, LLC
6 //
7 //========================================================================
9 #ifndef XPDFTREE_H
10 #define XPDFTREE_H
12 #include <Xm/Xm.h>
14 extern "C" {
16 externalref WidgetClass xpdfTreeWidgetClass;
18 typedef struct _XPDFTreeClassRec *XPDFTreeWidgetClass;
19 typedef struct _XPDFTreeRec *XPDFTreeWidget;
21 #ifndef XPDFIsTree
22 #define XPDFIsTree(w) XtIsSubclass(w, xpdfTreeWidgetClass)
23 #endif
25 #define XPDFNentryParent "entryParent"
26 #define XPDFNentryExpanded "entryExpanded"
27 #define XPDFNentryPosition "entryPosition"
28 #define XPDFNselectionCallback "selectionCallback"
30 #define XPDFCentryParent "EntryParent"
31 #define XPDFCentryExpanded "EntryExpanded"
32 #define XPDFCentryPosition "EntryPosition"
34 typedef struct {
35 int reason;
36 XEvent *event;
37 Widget selectedItem;
38 } XPDFTreeSelectCallbackStruct;
40 extern Widget XPDFCreateTree(Widget parent, char *name,
41 ArgList argList, Cardinal argCount);
43 } // extern "C"
45 #endif