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