equal
deleted
inserted
replaced
28 objc-code here (due to define conflicts with Class, nil ...) we call |
28 objc-code here (due to define conflicts with Class, nil ...) we call |
29 helper functions to do the job; the helpers are in ../librun/NXsupport.c |
29 helper functions to do the job; the helpers are in ../librun/NXsupport.c |
30 |
30 |
31 All non-monochrome stuff is untested (I only have a monochroome station) |
31 All non-monochrome stuff is untested (I only have a monochroome station) |
32 |
32 |
33 $Header: /cvs/stx/stx/libview/Attic/NXWorkst.st,v 1.11 1995-07-23 02:27:49 claus Exp $ |
33 $Header: /cvs/stx/stx/libview/Attic/NXWorkst.st,v 1.12 1995-10-23 16:59:17 cg Exp $ |
34 written spring 92 by claus |
34 written spring 92 by claus |
35 '! |
35 '! |
|
36 |
|
37 !NeXTWorkstation primitiveDefinitions! |
36 |
38 |
37 %{ |
39 %{ |
38 |
40 |
39 #include <stdio.h> |
41 #include <stdio.h> |
40 #include <dpsclient/wraps.h> |
42 #include <dpsclient/wraps.h> |
41 #include <dpsclient/psops.h> |
43 #include <dpsclient/psops.h> |
42 |
44 |
|
45 %} |
|
46 ! ! |
|
47 |
|
48 !NeXTWorkstation primitiveFunctions! |
|
49 |
|
50 %{ |
43 /* |
51 /* |
44 * cannot include objc stuff - too many name conflicts |
52 * cannot include objc stuff - too many name conflicts |
45 */ |
53 */ |
46 #define id INT |
54 #define id INT |
47 static INT lastDrawable = 0; |
55 static INT lastDrawable = 0; |
60 lastDrawable = drawable; |
68 lastDrawable = drawable; |
61 } |
69 } |
62 } |
70 } |
63 |
71 |
64 %} |
72 %} |
|
73 ! ! |
65 |
74 |
66 !NeXTWorkstation class methodsFor:'initialization'! |
75 !NeXTWorkstation class methodsFor:'initialization'! |
67 |
76 |
68 initialize |
77 initialize |
69 self initializeDisplayConstants. |
78 self initializeDisplayConstants. |