author | Claus Gittinger <cg@exept.de> |
Fri, 18 Nov 2016 12:10:45 +0100 | |
changeset 7684 | b3a4c601f00d |
parent 7683 | 31bce7856178 |
child 7685 | ed3a877ce971 |
permissions | -rw-r--r-- |
5252 | 1 |
" |
7684 | 2 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
3 |
All Rights Reserved |
|
5252 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
4582 | 12 |
"{ Package: 'stx:libview' }" |
13 |
||
6739 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
4582 | 16 |
LibraryDefinition subclass:#stx_libview |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
4746 | 20 |
category:'* Projects & Packages *' |
4582 | 21 |
! |
22 |
||
5251 | 23 |
!stx_libview class methodsFor:'documentation'! |
24 |
||
5252 | 25 |
copyright |
26 |
" |
|
7684 | 27 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
28 |
All Rights Reserved |
|
5252 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
5251 | 39 |
documentation |
40 |
" |
|
6756
c956283d57e8
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
6739
diff
changeset
|
41 |
Package Documentation |
c956283d57e8
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
6739
diff
changeset
|
42 |
|
5251 | 43 |
This library contains low level interfaces to the underlying graphic system |
6783 | 44 |
and representations of windows, fonts, colors, bitmaps etc. |
45 |
||
46 |
It does not contain medium level widget classes or applications/tools, |
|
47 |
but instead provides a device- and operating system independent layer on top of which |
|
48 |
GUI frameworks can be built. |
|
6784 | 49 |
|
50 |
It currently supports X11 and Windows-API. |
|
51 |
Native OSX support may be an option if there is sufficient demand for it |
|
52 |
(i.e. someone is willing to pay for its development). |
|
5251 | 53 |
" |
54 |
! ! |
|
4582 | 55 |
|
4775 | 56 |
!stx_libview class methodsFor:'description'! |
57 |
||
58 |
excludedFromPreRequisites |
|
59 |
^ #( |
|
5282 | 60 |
#'stx:libcompat' "OrderedDither - referenced by Image>>convertToPalette:renderedBy: " |
61 |
#'stx:libtool' "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet " |
|
62 |
#'stx:libtool2' "ImageEditor - referenced by Image>>edit " |
|
63 |
#'stx:libui' "ViewSpec - referenced by SimpleView>>specClass " |
|
64 |
#'stx:libview2' "TIFFReader - referenced by Image>>saveOn: " |
|
65 |
#'stx:libwidg' "Button - referenced by ModalBox>>initialize " |
|
66 |
#'stx:libwidg2' "ImageView - referenced by Form>>show " |
|
4775 | 67 |
) |
68 |
! |
|
69 |
||
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
70 |
mandatoryPreRequisites |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
71 |
"list all required mandatory packages. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
72 |
Packages are mandatory, if they contain superclasses of the package's classes |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
73 |
or classes which are extended by this package. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
74 |
This list can be maintained manually or (better) generated and |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
75 |
updated by scanning the superclass hierarchies |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
76 |
(the browser has a menu function for that) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
77 |
However, often too much is found, and you may want to explicitely |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
78 |
exclude individual packages in the #excludedFromPreRequisites method." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
79 |
|
4775 | 80 |
^ #( |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
81 |
#'stx:libbasic' "MessageSend - superclass of WindowEvent::ButtonMultiPressEvent " |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
82 |
) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
83 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
84 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
85 |
referencedPreRequisites |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
86 |
"list all packages containing classes referenced by the packages's members. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
87 |
This list can be maintained manually or (better) generated and |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
88 |
updated by looking for global variable accesses |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
89 |
(the browser has a menu function for that) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
90 |
However, often too much is found, and you may want to explicitely |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
91 |
exclude individual packages in the #excludedFromPreRequisites method." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
92 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
93 |
^ #( |
4775 | 94 |
) |
95 |
! ! |
|
96 |
||
4698 | 97 |
!stx_libview class methodsFor:'description - compilation'! |
98 |
||
5347 | 99 |
additionalBaseAddressDefinition_bc_dot_mak |
100 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
101 |
on win32 systems." |
|
102 |
||
4698 | 103 |
^ ' |
104 |
# see stdHeader_bc for LIBVIEW_BASE |
|
5347 | 105 |
LIB_BASE=$(LIBVIEW_BASE) |
106 |
' |
|
107 |
! |
|
5102 | 108 |
|
5347 | 109 |
additionalDefinitions_bc_dot_mak |
110 |
^ ' |
|
5102 | 111 |
!!ifdef USEBC |
112 |
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib |
|
113 |
!!else |
|
5813 | 114 |
!! ifdef USEVC |
5825 | 115 |
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib |
5819 | 116 |
!! else |
117 |
!! endif |
|
5102 | 118 |
!!endif |
119 |
' |
|
5813 | 120 |
|
5825 | 121 |
"Modified: / 27-09-2011 / 18:25:27 / cg" |
5102 | 122 |
! |
123 |
||
6444 | 124 |
additionalDefinitions_make_dot_proto |
125 |
^ ' |
|
6450 | 126 |
LOCAL_SHARED_LIBS=-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) |
6444 | 127 |
' |
128 |
! |
|
129 |
||
5102 | 130 |
additionalRules_bc_dot_mak |
131 |
^ '# |
|
132 |
||
133 |
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib |
|
5813 | 134 |
copy ..\support\win32\borland\X11OMF.lib ..\libbc |
5102 | 135 |
|
136 |
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib |
|
5813 | 137 |
copy ..\support\win32\borland\XextOMF.lib ..\libbc |
5102 | 138 |
|
5813 | 139 |
..\libvc\X11.lib: ..\support\win32\msc\X11.lib |
140 |
copy ..\support\win32\msc\X11.lib ..\libvc |
|
5102 | 141 |
|
5813 | 142 |
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib |
143 |
copy ..\support\win32\msc\Xext.lib ..\libvc |
|
5102 | 144 |
|
4698 | 145 |
' |
5813 | 146 |
|
147 |
"Modified: / 27-09-2011 / 18:10:19 / cg" |
|
4698 | 148 |
! |
149 |
||
150 |
additionalRules_make_dot_proto |
|
5789 | 151 |
^ ' |
5796 | 152 |
postMake:: $(LIBVIEW_EXTRA_TARGETS) |
153 |
||
5789 | 154 |
clean:: |
155 |
@-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav |
|
156 |
@-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav |
|
157 |
@-rm -f [A-Z]*.o *.s *.s2 *.c *.H |
|
158 |
@-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o |
|
159 |
@-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o |
|
160 |
@-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st |
|
161 |
||
162 |
# |
|
4698 | 163 |
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode |
164 |
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts) |
|
165 |
# |
|
166 |
||
167 |
XWorkstation.$(O): XWorkstation.st $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H |
|
5789 | 168 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \ |
169 |
CC="$(CC)" OPT="$(OPT)" \ |
|
170 |
CLASSLIB_CC="$(CLASSLIB_CC)" \ |
|
171 |
CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize=64000" \ |
|
172 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
4698 | 173 |
|
174 |
xw: |
|
5789 | 175 |
$(MAKE) XWorkstation.c \ |
176 |
CC="$(CC)" OPT="$(OPT)" \ |
|
177 |
CLASSLIB_CC="$(CLASSLIB_CC)" \ |
|
178 |
CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize: 64000 -V" \ |
|
179 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
4698 | 180 |
|
181 |
XWorkstation.$(SO): XWorkstation.$(O) |
|
6017 | 182 |
$(MAKE) $(SHAREDLIBRULE) \ |
183 |
LIB=XWorkstation.$(SO) \ |
|
184 |
OBJS="XWorkstation.$(O)" \ |
|
6419 | 185 |
LOCAL_SHARED_LIBS="-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) " |
186 |
||
187 |
# LOCAL_SHARED_LIBS="-L$(TOP)/librun -lrun -L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_X) " |
|
6017 | 188 |
|
4698 | 189 |
|
190 |
||
191 |
__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE_TOP)/stx/libview/XWorkstation.H $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H $(INCLUDE)/stc.h |
|
5789 | 192 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \ |
193 |
CC="$(CC)" OPT="$(OPT)" \ |
|
194 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
195 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
196 |
mv GLXWorkstation.$(O) __GLXWorkstation.$(O) |
|
4698 | 197 |
|
198 |
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O) |
|
5789 | 199 |
@if [ "$(NO_PRELINK_LIBGL)" = "" ]; \ |
200 |
then\ |
|
201 |
echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
|
202 |
$(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
|
203 |
else \ |
|
204 |
echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
|
205 |
cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
|
206 |
fi |
|
4698 | 207 |
|
208 |
glLib: |
|
5789 | 209 |
@-if [ -d ../support/VGL ]; then \ |
210 |
(cd ../support/VGL ; $(MAKE) ) ; \ |
|
211 |
fi |
|
4698 | 212 |
|
213 |
DeviceWorkstation.$(O): |
|
5789 | 214 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \ |
215 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
216 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 217 |
|
218 |
SimpleView.$(O): |
|
5789 | 219 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \ |
220 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
221 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 222 |
|
223 |
Image.$(O): |
|
5789 | 224 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \ |
225 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
226 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 227 |
|
228 |
#OGLWorkstation.$(O): OGLWorkstation.st |
|
229 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \ |
|
230 |
# XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG= |
|
231 |
# $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
|
232 |
# $(MESA_DIR)/lib/libMesaGL.a \ |
|
233 |
# $(MESA_DIR)/lib/libMesaGLU.a \ |
|
234 |
# $(MESA_DIR)/lib/libMesaaux.a |
|
235 |
# mv ttt.$(O) OGLWorkstation.$(O) |
|
236 |
||
237 |
OGLWorkstation.$(O): GLXWorkstation.st |
|
5789 | 238 |
cp GLXWorkstation.st OGLWorkstation.st |
239 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \ |
|
240 |
CC="$(CC)" OPT="$(OPT)" \ |
|
241 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
242 |
CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\ |
|
243 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
244 |
$(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
|
245 |
$(MESA_DIR)/lib/libMesaGL.a \ |
|
246 |
$(MESA_DIR)/lib/libMesaGLU.a \ |
|
247 |
$(MESA_DIR)/lib/libMesaaux.a |
|
248 |
mv ttt.$(O) OGLWorkstation.$(O) |
|
249 |
rm -f OGLWorkstation.st |
|
4698 | 250 |
|
251 |
#ogl: |
|
252 |
# $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG= |
|
253 |
# mv OGLWorkstation.o ttt.o |
|
254 |
# $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \ |
|
255 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a \ |
|
256 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a \ |
|
257 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a \ |
|
258 |
# /lib/libc.so.4 |
|
259 |
||
260 |
# |
|
261 |
# on my 320H, do not compile DeviceWorkstation with -O2; |
|
262 |
# compiler is running out of space ... |
|
263 |
# |
|
264 |
#AIX_BIGGIES: |
|
265 |
# $(MAKE) GraphicsContext.$(O) |
|
266 |
# $(MAKE) DeviceGraphicsContext.$(O) |
|
267 |
# $(MAKE) OPT= DeviceWorkstation.$(O) |
|
268 |
# $(MAKE) OPT= XWorkstation.$(O) |
|
269 |
# $(MAKE) OPT= Image.$(O) |
|
270 |
# $(MAKE) OPT= SimpleView.$(O) |
|
271 |
||
272 |
# |
|
273 |
# prelink those - cannot mix non-shared with shared objects (sigh) |
|
274 |
# |
|
275 |
AIX_SHARED_XWORKSTATION: |
|
5789 | 276 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
277 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
|
278 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
279 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
280 |
$(MAKE) XWorkstation$(O_EXT) \ |
|
281 |
ENTRY_INIT=XWorkstation \ |
|
282 |
AIX_LOCAL_LIBS="$(LIBX)" |
|
4698 | 283 |
|
284 |
AIX_SHARED_GLXWORKSTATION: |
|
5789 | 285 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
286 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
|
287 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
288 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
289 |
$(MAKE) GLXWorkstation$(O_EXT) \ |
|
290 |
ENTRY_INIT=GLXWorkstation \ |
|
291 |
AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm" |
|
292 |
rm -f XWorkstation.exp |
|
4698 | 293 |
|
294 |
# |
|
295 |
# in (my) aix system, those cannot be compiled with |
|
296 |
# the optimizer - running out of space ... |
|
297 |
# |
|
298 |
AIX:: GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O) |
|
5789 | 299 |
$(MAKE) OPT="" SimpleView.$(O) |
300 |
$(MAKE) OPT="" Image.$(O) |
|
301 |
$(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE) |
|
4698 | 302 |
|
303 |
# |
|
304 |
# on HP, big classes blow the C-preprocessor (stops with "too much defining" error) |
|
305 |
# |
|
306 |
#HP:: |
|
307 |
# |
|
308 |
#HPbigFiles: |
|
309 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)" |
|
310 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)" |
|
311 |
' |
|
312 |
||
5796 | 313 |
"Modified: / 14-09-2011 / 13:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5789 | 314 |
! |
315 |
||
4698 | 316 |
localDefines_unix |
6413 | 317 |
^ '$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)' |
5492 | 318 |
! |
319 |
||
6889 | 320 |
localIncludes |
321 |
^ '$(OPTIONAL_SUPPORT_XLIB_INCLUDE)' |
|
322 |
! |
|
323 |
||
5492 | 324 |
stcOptimizationOptions |
325 |
^ '+optinline +optinline2' |
|
6600 | 326 |
! |
327 |
||
328 |
stcWarningOptions |
|
329 |
^ '-warnNonStandard -warnUnused' |
|
4698 | 330 |
! ! |
331 |
||
4582 | 332 |
!stx_libview class methodsFor:'description - contents'! |
333 |
||
334 |
classNamesAndAttributes |
|
5501 | 335 |
"lists the classes which are to be included in the project. |
336 |
Each entry in the list may be: a single class-name (symbol), |
|
337 |
or an array-literal consisting of class name and attributes. |
|
338 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
339 |
||
4582 | 340 |
^ #( |
5305 | 341 |
"<className> or (<className> attributes...) in load order" |
6562 | 342 |
AbstractBackground |
343 |
AbstractBorder |
|
344 |
Color |
|
345 |
Colormap |
|
346 |
Controller |
|
347 |
Cursor |
|
348 |
DeviceHandle |
|
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
349 |
DisplayTransform |
6562 | 350 |
Event |
6682 | 351 |
FillStyle |
6562 | 352 |
FontDescription |
353 |
GraphicsContext |
|
354 |
GraphicsDevice |
|
355 |
Image |
|
356 |
ImageReader |
|
357 |
KeyboardForwarder |
|
358 |
KeyboardMap |
|
359 |
ResourcePack |
|
360 |
WindowGroup |
|
361 |
WindowSensor |
|
362 |
#'stx_libview' |
|
363 |
BeveledBorder |
|
6739 | 364 |
BitmapFillStyle |
5861 | 365 |
BitmapFont |
5305 | 366 |
Border |
367 |
ColorPalette |
|
5861 | 368 |
CompoundFont |
5305 | 369 |
Depth16Image |
370 |
Depth1Image |
|
371 |
Depth24Image |
|
372 |
Depth2Image |
|
373 |
Depth32Image |
|
6562 | 374 |
Depth48Image |
5305 | 375 |
Depth4Image |
6562 | 376 |
Depth64Image |
5305 | 377 |
Depth8Image |
378 |
DeviceGraphicsContext |
|
379 |
Font |
|
6562 | 380 |
GradientBackground |
6739 | 381 |
GradientFillStyle |
5305 | 382 |
HostGraphicsDevice |
6562 | 383 |
ImageBackground |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
384 |
MacButtonBorder |
6562 | 385 |
NoBackground |
6682 | 386 |
OrientedFillStyle |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
387 |
RoundButtonBorder |
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
388 |
ScaleTransform |
6562 | 389 |
SimpleBorder |
390 |
SolidBackground |
|
6682 | 391 |
SolidFillStyle |
6562 | 392 |
SynchronousWindowSensor |
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
393 |
TranslationTransform |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
394 |
TranslucentColor |
6562 | 395 |
ViewStyle |
396 |
WindowEvent |
|
6563 | 397 |
(XftFontDescription unix) |
6562 | 398 |
DeviceWorkstation |
7198 | 399 |
FixedPalette |
6562 | 400 |
GraphicsMedium |
5305 | 401 |
ImageMask |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
402 |
MacFlatButtonBorder |
5305 | 403 |
MappedPalette |
7010 | 404 |
RoundedBorder |
6562 | 405 |
WidgetEvent |
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
406 |
WindowingTransformation |
6562 | 407 |
DisplaySurface |
7198 | 408 |
FixedPaletteWithAlpha |
6562 | 409 |
Form |
5305 | 410 |
MonoMappedPalette |
6562 | 411 |
DisplayRootView |
412 |
SimpleView |
|
413 |
ShadowView |
|
414 |
View |
|
6563 | 415 |
(XEmbedContainerView unix) |
7136 | 416 |
(XWorkstation unix) |
6563 | 417 |
(GLXWorkstation unix) |
6562 | 418 |
TopView |
5305 | 419 |
PopUpView |
420 |
StandardSystemView |
|
6562 | 421 |
ModalBox |
6739 | 422 |
(GraphicsAttributes autoload) |
423 |
(ControllerWithMenu autoload) |
|
424 |
(AlphaMask autoload) |
|
425 |
(GuiServerWorkstation autoload) |
|
426 |
(NeXTWorkstation autoload) |
|
427 |
(MDIChildView autoload) |
|
5305 | 428 |
(WinWorkstation win32) |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
429 |
) |
4582 | 430 |
! |
431 |
||
432 |
extensionMethodNames |
|
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
433 |
"lists the extension methods which are to be included in the project. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
434 |
Entries are 2-element array literals, consisting of class-name and selector." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
435 |
|
4582 | 436 |
^ #( |
437 |
) |
|
438 |
! ! |
|
439 |
||
440 |
!stx_libview class methodsFor:'description - project information'! |
|
441 |
||
442 |
companyName |
|
443 |
"Return a companyname which will appear in <lib>.rc" |
|
444 |
||
7683 | 445 |
^ 'Claus Gittinger / eXept Software AG' |
446 |
||
447 |
"Modified: / 18-11-2016 / 11:47:54 / cg" |
|
4582 | 448 |
! |
449 |
||
450 |
description |
|
451 |
"Return a description string which will appear in nt.def / bc.def" |
|
452 |
||
453 |
^ 'Smalltalk/X Low Level Graphic Interfacing' |
|
454 |
||
455 |
"Modified: / 14-09-2006 / 10:54:54 / cg" |
|
456 |
! |
|
457 |
||
458 |
legalCopyright |
|
459 |
"Return a copyright string which will appear in <lib>.rc" |
|
460 |
||
6879 | 461 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 2012' |
4841 | 462 |
|
5921 | 463 |
"Modified: / 18-07-2012 / 19:12:02 / cg" |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
464 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
465 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
466 |
productName |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
467 |
"Return a product name which will appear in <lib>.rc" |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
468 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
469 |
^ 'Smalltalk/X' |
4582 | 470 |
! ! |
471 |
||
472 |
!stx_libview class methodsFor:'documentation'! |
|
473 |
||
5819 | 474 |
version |
6879 | 475 |
^ '$Header$' |
5819 | 476 |
! |
477 |
||
5384 | 478 |
version_CVS |
6879 | 479 |
^ '$Header$' |
4582 | 480 |
! ! |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
481 |