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