~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmon/iconlist/IconListP.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id$ */
 
2
/*
 
3
 * Copyright 1996 John L. Cwikla
 
4
 *
 
5
 * Permission to use, copy, modify, distribute, and sell this software
 
6
 * and its documentation for any purpose is hereby granted without fee,
 
7
 * provided that the above copyright notice appears in all copies and that
 
8
 * both that copyright notice and this permission notice appear in
 
9
 * supporting documentation, and that the name of John L. Cwikla or
 
10
 * Wolfram Research, Inc not be used in advertising or publicity
 
11
 * pertaining to distribution of the software without specific, written
 
12
 * prior permission.    John L. Cwikla and Wolfram Research, Inc make no
 
13
 * representations about the suitability of this software for any
 
14
 * purpose. It is provided "as is" without express or implied warranty.
 
15
 *
 
16
 * John L. Cwikla and Wolfram Research, Inc disclaim all warranties with
 
17
 * regard to this software, including all implied warranties of
 
18
 * merchantability and fitness, in no event shall John L. Cwikla or
 
19
 * Wolfram Research, Inc be liable for any special, indirect or
 
20
 * consequential damages or any damages whatsoever resulting from loss of
 
21
 * use, data or profits, whether in an action of contract, negligence or
 
22
 * other tortious action, arising out of or in connection with the use or
 
23
 * performance of this software.
 
24
 *
 
25
 * Author:
 
26
 *  John L. Cwikla
 
27
 *  X Programmer
 
28
 *  Wolfram Research Inc.
 
29
 *
 
30
 *  cwikla@wri.com
 
31
*/
 
32
 
 
33
#ifndef _IconListP_h
 
34
#define _IconListP_h
 
35
 
 
36
#include <Xm/XmP.h>
 
37
 
 
38
#if XmVersion > 1001
 
39
#include <Xm/PrimitiveP.h>
 
40
#endif
 
41
 
 
42
#include "IconList.h"
 
43
 
 
44
typedef struct _XmIconListClassPart
 
45
{
 
46
        int blammo; /* make's compiler happy */
 
47
} XmIconListClassPart;
 
48
 
 
49
typedef struct _XmIconListClassRec
 
50
{
 
51
        CoreClassPart core_class;
 
52
        XmPrimitiveClassPart primitive_class;
 
53
        XmIconListClassPart iconList_class;
 
54
} XmIconListClassRec;
 
55
 
 
56
extern XmIconListClassRec xmIconListClassRec;
 
57
 
 
58
typedef struct _XmIconListPart
 
59
{
 
60
        Boolean highlightOnEnter;
 
61
        Boolean usingBitmaps;
 
62
        Boolean hasFocus;
 
63
        Boolean callCallbacks;
 
64
 
 
65
        int startRow;
 
66
        int endRow;
 
67
        int numberOfElements;
 
68
        int visibleItemCount;
 
69
        int focusElement;
 
70
 
 
71
        short clickCount;
 
72
 
 
73
        IconListElement *elements;
 
74
 
 
75
        XtPointer userData;
 
76
 
 
77
        XmFontList fontList;
 
78
 
 
79
        Pixel foreground;
 
80
        Pixel selectColor;
 
81
 
 
82
        Dimension marginWidth;
 
83
        Dimension marginHeight;
 
84
        Dimension iconWidth;
 
85
        Dimension iconHeight;
 
86
 
 
87
        Dimension textHeight;
 
88
        Dimension fullElementHeight;
 
89
        Dimension textOffset;
 
90
 
 
91
        Time lastClickTime;
 
92
        int lastClickRow;
 
93
 
 
94
        XtCallbackList activateCallback;
 
95
 
 
96
        XFontStruct *font;
 
97
 
 
98
        Dimension highlightThickness;
 
99
 
 
100
        XtCallbackList valueChangedCallback;
 
101
        XtCallbackList focusChangeCallback;
 
102
        XtCallbackList removeCallback;
 
103
 
 
104
        Widget clipWidget;
 
105
        Widget verticalScrollBarWidget;
 
106
        Widget horizontalScrollBarWidget;
 
107
        Widget scrolledWindowWidget;
 
108
 
 
109
        GC gc;
 
110
        GC copyGC;
 
111
        GC eraseGC;
 
112
        GC selectGC;
 
113
} XmIconListPart;
 
114
 
 
115
typedef struct _XmIconListRec
 
116
{
 
117
        CorePart core;
 
118
        XmPrimitivePart primitive;
 
119
        XmIconListPart iconList;
 
120
} XmIconListRec, *XmIconListPtr;
 
121
 
 
122
#endif /* _IconListP_h */