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