Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    COPYRIGHT NOTICE
3
 
4
    This program is the proprietary property of IXI Ltd, a subsidiary
5
    of the Santa Cruz Operation (SCO). Use, reproduction, production
6
    of amended versions and/or transfer of this program is permitted
7
    PROVIDED THAT:
8
 
9
    (a)  This legend be preserved on any such reproduction and amended
10
         version.
11
 
12
    (b)  Any recipient of such reproduction or amended version accept
13
         the conditions set out in this legend.
14
 
15
    IXI accepts no liability whatsoever in relation to any use to
16
    which this program may be put and gives no warranty as to the
17
    program's suitability for any purpose.
18
 
19
    All rights reserved.
20
 
21
    Copyright (c) 1995, 1996
22
 
23
*/
24
 
25
 
26
/* SCO CID (IXI) ColorObjP.h,v 1.1 1996/08/08 14:12:22 wendland Exp */
27
 
28
%%
29
#ifndef __MOTIF_P_HEADERS
30
#error Unexpected access to Motif P headers
31
#endif
32
%%
33
 
34
+USE "motif/1_2", "Xm/ColorObj.h";
35
+USE "motif/1_2", "Xm/VendorSP.h";
36
 
37
+CONST String XmNuseIconFileCache;
38
+CONST String XmCUseIconFileCache;
39
 
40
+TYPEDEF PixelSet Colors[NUM_COLORS];
41
 
42
+FIELD (struct) _ColorObjPart := { 
43
 
44
	XtArgsProc	RowColInitHook;
45
	PixelSet	*myColors;
46
	int		myScreen;
47
	Display		*display;
48
	Colors		*colors;
49
	int		numScreens;
50
	Atom		*atoms;
51
	Boolean		colorIsRunning;
52
	Boolean		done;
53
	int		*colorUse;
54
	int		primary;
55
	int		secondary;
56
	int		text;
57
	int		active;
58
	int		inactive;
59
	Boolean		useColorObj;
60
	Boolean		useText;
61
	Boolean		useTextForList;
62
	Boolean		useMask;
63
	Boolean		useMultiColorIcons;
64
	Boolean		useIconFileCache;
65
}; 
66
 
67
+TYPEDEF _ColorObjPart ColorObjPart;
68
 
69
+FIELD (struct) _ColorObjRec := { 
70
 
71
	CorePart	core;
72
	CompositePart	composite;
73
	ShellPart	shell;
74
	WMShellPart	wm;
75
	ColorObjPart	color_obj;
76
};
77
 
78
+TYPEDEF _ColorObjRec ColorObjRec;
79
 
80
+FIELD (struct) _ColorObjClassPart := { 
81
 
82
	XtPointer	extension;
83
};
84
 
85
+TYPEDEF _ColorObjClassPart ColorObjClassPart;
86
 
87
 
88
+FIELD (struct) _ColorObjClassRec := { 
89
 
90
	CoreClassPart		core_class;
91
	CompositeClassPart	composite_class;
92
	ShellClassPart		shell_class;
93
	WMShellClassPart	wm_shell_class;
94
	ColorObjClassPart	color_obj_class;
95
};
96
 
97
+TYPEDEF _ColorObjClassRec ColorObjClassRec;
98
 
99
+EXP lvalue ColorObjClassRec _xmColorObjClassRec;
100
 
101
 
102
+FUNC void _XmColorObjCreate(Widget, ArgList, Cardinal *);
103
+FUNC Boolean _XmGetPixelData(int, int *, PixelSet *, short *, short *, short *, short *);
104
+FUNC Boolean _XmGetIconControlInfo(Screen *, Boolean *, Boolean *, Boolean *);
105
+FUNC Boolean _XmUseColorObj(void);
106