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