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