author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 03 Oct 2017 11:38:15 +0100 | |
branch | jv |
changeset 8188 | 00df122d8bd4 |
parent 8182 | c730140a0156 |
child 8420 | 76e39223f5ab |
permissions | -rw-r--r-- |
5252 | 1 |
" |
7684 | 2 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
3 |
All Rights Reserved |
|
5252 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
4582 | 12 |
"{ Package: 'stx:libview' }" |
13 |
||
6739 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
4582 | 16 |
LibraryDefinition subclass:#stx_libview |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
4746 | 20 |
category:'* Projects & Packages *' |
4582 | 21 |
! |
22 |
||
5251 | 23 |
!stx_libview class methodsFor:'documentation'! |
24 |
||
5252 | 25 |
copyright |
26 |
" |
|
7684 | 27 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
28 |
All Rights Reserved |
|
5252 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
5251 | 39 |
documentation |
40 |
" |
|
6756
c956283d57e8
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
6739
diff
changeset
|
41 |
Package Documentation |
c956283d57e8
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
6739
diff
changeset
|
42 |
|
5251 | 43 |
This library contains low level interfaces to the underlying graphic system |
6783 | 44 |
and representations of windows, fonts, colors, bitmaps etc. |
45 |
||
46 |
It does not contain medium level widget classes or applications/tools, |
|
47 |
but instead provides a device- and operating system independent layer on top of which |
|
48 |
GUI frameworks can be built. |
|
6784 | 49 |
|
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
50 |
It currently supports X11 and Windows-API. |
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
51 |
Native OSX support may be an option if there is sufficient demand for it |
6784 | 52 |
(i.e. someone is willing to pay for its development). |
5251 | 53 |
" |
54 |
! ! |
|
4582 | 55 |
|
6523
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
56 |
!stx_libview class methodsFor:'accessing - hg - settings'! |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
57 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
58 |
hgEnsureCopyrightMethod |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
59 |
"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
|
60 |
(but iff project definition defines it) |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
61 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
62 |
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
|
63 |
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
|
64 |
to keep changes against CVS minimal" |
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 |
^false |
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 |
"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
|
69 |
! |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
70 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
71 |
hgEnsureVersion_HGMethod |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
72 |
"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
|
73 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
74 |
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
|
75 |
you want to merge back to CVS at some point, you may want to not compile them |
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
76 |
to keep changes against CVS minimal. |
6523
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 |
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
|
79 |
and commited. |
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 |
Note that Mercurial can live without them |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
82 |
just fine" |
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 |
^false |
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 |
"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
|
87 |
! |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
88 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
89 |
hgRemoveContainesForDeletedClasses |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
90 |
"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
|
91 |
repositoru. If false, obsolete containes are kept. |
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
92 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
93 |
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
|
94 |
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
|
95 |
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
|
96 |
|
b6dc0f5f499a
Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6465
diff
changeset
|
97 |
^false |
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 |
"Created: / 09-10-2013 / 15:39:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5251 | 100 |
! ! |
4582 | 101 |
|
4775 | 102 |
!stx_libview class methodsFor:'description'! |
103 |
||
104 |
excludedFromPreRequisites |
|
105 |
^ #( |
|
7813 | 106 |
#'stx:libcompat' "OrderedDither - referenced by Image>>convertToPalette:renderedBy: " |
107 |
#'stx:libtool' "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet " |
|
108 |
#'stx:libtool2' "ImageEditor - referenced by Image>>edit " |
|
109 |
#'stx:libui' "ViewSpec - referenced by SimpleView>>specClass " |
|
110 |
#'stx:libview2' "TIFFReader - referenced by Image>>saveOn: " |
|
111 |
#'stx:libwidg' "Button - referenced by ModalBox>>initialize " |
|
112 |
#'stx:libwidg2' "ImageView - referenced by Form>>show " |
|
113 |
#'stx:goodies/communication' "HTTPInterface - referenced by ImageReader class>>fromURL:" |
|
4775 | 114 |
) |
7813 | 115 |
|
116 |
"Modified: / 31-01-2017 / 13:35:51 / stefan" |
|
4775 | 117 |
! |
118 |
||
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
119 |
mandatoryPreRequisites |
7813 | 120 |
"list packages which are mandatory as a prerequisite. |
121 |
This are packages containing superclasses of my classes and classes which |
|
122 |
are extended by myself. |
|
123 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
124 |
This method is generated automatically, |
|
125 |
by searching along the inheritance chain of all of my classes. |
|
126 |
Please take a look at the #referencedPreRequisites method as well." |
|
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
127 |
|
4775 | 128 |
^ #( |
7813 | 129 |
#'stx:libbasic' "AllocationFailure - superclass of GraphicsDevice::GraphicResourceAllocationFailure" |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
130 |
) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
131 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
132 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
133 |
referencedPreRequisites |
7813 | 134 |
"list packages which are a prerequisite, because they contain |
135 |
classes which are referenced by my classes. |
|
136 |
These packages are NOT needed as a prerequisite for compiling or loading, |
|
137 |
however, a class from it may be referenced during execution and having it |
|
138 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
139 |
includes explicit checks for the package being present. |
|
140 |
This method is generated automatically, |
|
141 |
by searching all classes (and their packages) which are referenced by my classes. |
|
142 |
Please also take a look at the #mandatoryPreRequisites method" |
|
143 |
||
144 |
^ #( |
|
145 |
#'stx:libbasic2' "UUID - referenced by DisplayRootView>>uuid" |
|
146 |
) |
|
147 |
! |
|
148 |
||
149 |
subProjects |
|
150 |
"list packages which are known as subprojects. |
|
151 |
The generated makefile will enter those and make there as well. |
|
152 |
However: they are not forced to be loaded when a package is loaded; |
|
153 |
for those, redefine #referencedPrerequisites or #mandatoryPreRequisites." |
|
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
154 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
155 |
^ #( |
4775 | 156 |
) |
157 |
! ! |
|
158 |
||
4698 | 159 |
!stx_libview class methodsFor:'description - compilation'! |
160 |
||
5347 | 161 |
additionalBaseAddressDefinition_bc_dot_mak |
162 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
163 |
on win32 systems." |
|
164 |
||
4698 | 165 |
^ ' |
166 |
# see stdHeader_bc for LIBVIEW_BASE |
|
5347 | 167 |
LIB_BASE=$(LIBVIEW_BASE) |
168 |
' |
|
169 |
! |
|
5102 | 170 |
|
5347 | 171 |
additionalDefinitions_bc_dot_mak |
172 |
^ ' |
|
5102 | 173 |
!!ifdef USEBC |
174 |
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib |
|
175 |
!!else |
|
5813 | 176 |
!! ifdef USEVC |
5825 | 177 |
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib |
5819 | 178 |
!! else |
179 |
!! endif |
|
5102 | 180 |
!!endif |
181 |
' |
|
5813 | 182 |
|
5825 | 183 |
"Modified: / 27-09-2011 / 18:25:27 / cg" |
5102 | 184 |
! |
185 |
||
8182
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
186 |
additionalDefinitions_make_dot_proto |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
187 |
"allows for additional definitions/rules to be added to the make.proto file." |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
188 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
189 |
^ ' |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
190 |
OPENGL_DEFS=-DOPENGL |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
191 |
OPENGL_CFLAGS=$(shell pkg-config --cflags gl) |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
192 |
OPENGL_LIBS=$(shell pkg-config --libs gl) |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
193 |
' |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
194 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
195 |
"Created: / 14-09-2017 / 00:19:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
196 |
"Modified: / 14-09-2017 / 08:39:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
197 |
! |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
198 |
|
5102 | 199 |
additionalRules_bc_dot_mak |
200 |
^ '# |
|
201 |
||
202 |
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib |
|
5813 | 203 |
copy ..\support\win32\borland\X11OMF.lib ..\libbc |
5102 | 204 |
|
205 |
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib |
|
5813 | 206 |
copy ..\support\win32\borland\XextOMF.lib ..\libbc |
5102 | 207 |
|
5813 | 208 |
..\libvc\X11.lib: ..\support\win32\msc\X11.lib |
209 |
copy ..\support\win32\msc\X11.lib ..\libvc |
|
5102 | 210 |
|
5813 | 211 |
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib |
212 |
copy ..\support\win32\msc\Xext.lib ..\libvc |
|
5102 | 213 |
|
4698 | 214 |
' |
5813 | 215 |
|
216 |
"Modified: / 27-09-2011 / 18:10:19 / cg" |
|
4698 | 217 |
! |
218 |
||
8180
25149dfd68e0
Build files: removed a bunch of make rules for long-dead unsupported systems
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8179
diff
changeset
|
219 |
additionalSharedLinkLibraries_make_dot_proto |
25149dfd68e0
Build files: removed a bunch of make rules for long-dead unsupported systems
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8179
diff
changeset
|
220 |
"allows for additional shared libraries to be added to the make.proto file." |
25149dfd68e0
Build files: removed a bunch of make rules for long-dead unsupported systems
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8179
diff
changeset
|
221 |
|
8182
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
222 |
^ '-L$(X_LIB_DIR) $(OPENGL_LIBS) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) ' |
8180
25149dfd68e0
Build files: removed a bunch of make rules for long-dead unsupported systems
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8179
diff
changeset
|
223 |
|
25149dfd68e0
Build files: removed a bunch of make rules for long-dead unsupported systems
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8179
diff
changeset
|
224 |
"Created: / 06-09-2017 / 09:55:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8181
7cd36eb4b09c
X11: fixed `GLXWorkstation` to compile with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8180
diff
changeset
|
225 |
"Modified: / 07-09-2017 / 22:21:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5789 | 226 |
! |
227 |
||
4698 | 228 |
localDefines_unix |
8182
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
229 |
^ '$(XINCLUDE) $(XDEFS) $(OPENGL_DEFS)' |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
230 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
231 |
"Modified: / 14-09-2017 / 08:37:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5492 | 232 |
! |
233 |
||
6889 | 234 |
localIncludes |
235 |
^ '$(OPTIONAL_SUPPORT_XLIB_INCLUDE)' |
|
8182
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
236 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
237 |
"Modified: / 14-09-2017 / 08:38:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
238 |
! |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
239 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
240 |
localIncludes_unix |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
241 |
"allow for the specification of additional include directories" |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
242 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
243 |
^ super localIncludes_unix , ' $(OPENGL_CFLAGS)' |
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
244 |
|
c730140a0156
X11: compile `GLXWorkstation` with OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8181
diff
changeset
|
245 |
"Created: / 14-09-2017 / 00:21:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6889 | 246 |
! |
247 |
||
5492 | 248 |
stcOptimizationOptions |
249 |
^ '+optinline +optinline2' |
|
6600 | 250 |
! |
251 |
||
252 |
stcWarningOptions |
|
253 |
^ '-warnNonStandard -warnUnused' |
|
4698 | 254 |
! ! |
255 |
||
4582 | 256 |
!stx_libview class methodsFor:'description - contents'! |
257 |
||
258 |
classNamesAndAttributes |
|
5501 | 259 |
"lists the classes which are to be included in the project. |
260 |
Each entry in the list may be: a single class-name (symbol), |
|
261 |
or an array-literal consisting of class name and attributes. |
|
262 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
263 |
||
4582 | 264 |
^ #( |
5305 | 265 |
"<className> or (<className> attributes...) in load order" |
6562 | 266 |
AbstractBackground |
267 |
AbstractBorder |
|
268 |
Color |
|
269 |
Colormap |
|
270 |
Controller |
|
271 |
Cursor |
|
272 |
DeviceHandle |
|
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
273 |
DisplayTransform |
6562 | 274 |
Event |
7150
000f5ae96151
X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7138
diff
changeset
|
275 |
(FcConstants unix) |
6562 | 276 |
FontDescription |
277 |
GraphicsContext |
|
278 |
GraphicsDevice |
|
7813 | 279 |
GraphicsMedium |
6562 | 280 |
Image |
281 |
ImageReader |
|
282 |
KeyboardForwarder |
|
283 |
KeyboardMap |
|
284 |
ResourcePack |
|
285 |
WindowGroup |
|
286 |
WindowSensor |
|
287 |
#'stx_libview' |
|
288 |
BeveledBorder |
|
5861 | 289 |
BitmapFont |
5305 | 290 |
Border |
291 |
ColorPalette |
|
5861 | 292 |
CompoundFont |
5305 | 293 |
Depth16Image |
294 |
Depth1Image |
|
295 |
Depth24Image |
|
296 |
Depth2Image |
|
297 |
Depth32Image |
|
6562 | 298 |
Depth48Image |
5305 | 299 |
Depth4Image |
6562 | 300 |
Depth64Image |
5305 | 301 |
Depth8Image |
302 |
DeviceGraphicsContext |
|
7813 | 303 |
DisplaySurface |
7150
000f5ae96151
X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7138
diff
changeset
|
304 |
(FcPattern unix) |
5305 | 305 |
Font |
7813 | 306 |
Form |
6562 | 307 |
GradientBackground |
5305 | 308 |
HostGraphicsDevice |
6562 | 309 |
ImageBackground |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
310 |
MacButtonBorder |
6562 | 311 |
NoBackground |
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
312 |
ScaleTransform |
6562 | 313 |
SimpleBorder |
314 |
SolidBackground |
|
315 |
SynchronousWindowSensor |
|
316 |
ViewStyle |
|
317 |
WindowEvent |
|
6563 | 318 |
(XftFontDescription unix) |
6562 | 319 |
DeviceWorkstation |
7813 | 320 |
DisplayRootView |
7198 | 321 |
FixedPalette |
5305 | 322 |
ImageMask |
7049
cfa0472d4660
some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents:
7042
diff
changeset
|
323 |
MacFlatButtonBorder |
5305 | 324 |
MappedPalette |
7010 | 325 |
RoundedBorder |
7813 | 326 |
SimpleView |
6562 | 327 |
WidgetEvent |
6706
33bbb2e9ddbc
DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents:
6682
diff
changeset
|
328 |
WindowingTransformation |
6726
9f16fe1701f5
XGraphicsContext made public to allow subclassing and extending
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6616
diff
changeset
|
329 |
XGraphicsContext |
7198 | 330 |
FixedPaletteWithAlpha |
5305 | 331 |
MonoMappedPalette |
6562 | 332 |
ShadowView |
333 |
View |
|
6563 | 334 |
(XEmbedContainerView unix) |
7136 | 335 |
(XWorkstation unix) |
6563 | 336 |
(GLXWorkstation unix) |
6562 | 337 |
TopView |
5305 | 338 |
PopUpView |
339 |
StandardSystemView |
|
6562 | 340 |
ModalBox |
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
341 |
(RoundButtonBorder autoload) |
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
342 |
(TranslucentColor autoload) |
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
343 |
(AlphaMask autoload) |
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
344 |
(MDIChildView autoload) |
6739 | 345 |
(ControllerWithMenu autoload) |
7813 | 346 |
(GraphicsAttributes autoload) |
6739 | 347 |
(NeXTWorkstation autoload) |
8079
1bd22a3d8b03
Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8074
diff
changeset
|
348 |
(WinWorkstation win32) |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
349 |
) |
4582 | 350 |
! |
351 |
||
352 |
extensionMethodNames |
|
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
353 |
"lists the extension methods which are to be included in the project. |
7813 | 354 |
Entries are 2-element array literals, consisting of class-name and selector. |
355 |
A correponding method with real names must be present in my concrete subclasses |
|
356 |
if it has extensions." |
|
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
357 |
|
4582 | 358 |
^ #( |
7154
f2d585b5f20e
X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7150
diff
changeset
|
359 |
'ConfigurableFeatures class' hasFontConfig |
7813 | 360 |
Object isColormap |
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
361 |
Object isKeyboardMap |
7154
f2d585b5f20e
X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7150
diff
changeset
|
362 |
'ConfigurableFeatures class' hasXFT |
4582 | 363 |
) |
364 |
! ! |
|
365 |
||
366 |
!stx_libview class methodsFor:'description - project information'! |
|
367 |
||
368 |
companyName |
|
369 |
"Return a companyname which will appear in <lib>.rc" |
|
370 |
||
7683 | 371 |
^ 'Claus Gittinger / eXept Software AG' |
372 |
||
373 |
"Modified: / 18-11-2016 / 11:47:54 / cg" |
|
4582 | 374 |
! |
375 |
||
376 |
description |
|
377 |
"Return a description string which will appear in nt.def / bc.def" |
|
378 |
||
379 |
^ 'Smalltalk/X Low Level Graphic Interfacing' |
|
380 |
||
381 |
"Modified: / 14-09-2006 / 10:54:54 / cg" |
|
382 |
! |
|
383 |
||
384 |
legalCopyright |
|
385 |
"Return a copyright string which will appear in <lib>.rc" |
|
386 |
||
7685 | 387 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012' |
4841 | 388 |
|
7685 | 389 |
"Modified: / 18-11-2016 / 12:19:05 / cg" |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
390 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
391 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
392 |
productName |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
393 |
"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
|
394 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
395 |
^ 'Smalltalk/X' |
4582 | 396 |
! ! |
397 |
||
398 |
!stx_libview class methodsFor:'documentation'! |
|
399 |
||
5819 | 400 |
version |
6879 | 401 |
^ '$Header$' |
5819 | 402 |
! |
403 |
||
5384 | 404 |
version_CVS |
6879 | 405 |
^ '$Header$' |
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
406 |
|
7150
000f5ae96151
X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7138
diff
changeset
|
407 |
! |
6883 | 408 |
|
409 |
version_HG |
|
410 |
^ '$Changeset: <not expanded> $' |
|
8179
ced410b68993
Build files: fixed project definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8079
diff
changeset
|
411 |
|
4582 | 412 |
! ! |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
413 |