2152
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
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 |
"
|
2151
|
12 |
"{ Package: 'stx:libview2' }"
|
|
13 |
|
|
14 |
LibraryDefinition subclass:#stx_libview2
|
|
15 |
instanceVariableNames:''
|
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
2290
|
18 |
category:'* Projects & Packages *'
|
2151
|
19 |
!
|
|
20 |
|
2152
|
21 |
!stx_libview2 class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
26 |
All Rights Reserved
|
|
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 |
|
|
37 |
documentation
|
|
38 |
"
|
3031
|
39 |
Build- and package information for creation of the st/x standard library: stx_libview2.
|
2152
|
40 |
This library contains additional graphics-interfacing components and infrastructure.
|
|
41 |
"
|
2796
|
42 |
|
2152
|
43 |
! !
|
2151
|
44 |
|
|
45 |
!stx_libview2 class methodsFor:'description'!
|
|
46 |
|
2332
|
47 |
excludedFromPreRequisites
|
2838
|
48 |
"list all packages which should be ignored in the automatic
|
|
49 |
preRequisites scan. See #preRequisites for more."
|
|
50 |
|
2332
|
51 |
^ #(
|
2838
|
52 |
#'stx:goodies/webServer' "HTTPServer - referenced by ApplicationModel class>>startAsWebService:onPort: "
|
|
53 |
#'stx:libcompat' "TextAttributes - referenced by WindowBuilder>>resolveFont: "
|
|
54 |
#'stx:libhtml' "HTMLDocumentView - referenced by ApplicationModel>>openDocumentationFile: "
|
2332
|
55 |
#'stx:libtool' "AboutBox - referenced by ToolApplicationModel class>>openAboutSTX "
|
|
56 |
#'stx:libtool2' "ResourceSelectionBrowser - referenced by ResourceSpecEditor>>doLoad "
|
2838
|
57 |
#'stx:libui' "UISpecification - referenced by UIBuilder>>buildWindowFromSpec: "
|
|
58 |
#'stx:libwidg' "Button - referenced by WindowBuilder>>resolveFont: "
|
2332
|
59 |
#'stx:libwidg2' "MenuPanel - referenced by Menu>>showCenteredIn: "
|
2151
|
60 |
)
|
2245
|
61 |
!
|
|
62 |
|
|
63 |
preRequisites
|
2838
|
64 |
"list all required packages.
|
|
65 |
This list can be maintained manually or (better) generated and
|
|
66 |
updated by scanning the superclass hierarchies and looking for
|
|
67 |
global variable accesses. (the browser has a menu function for that)
|
|
68 |
Howevery, often too much is found, and you may want to explicitely
|
|
69 |
exclude individual packages in the #excludedFromPrerequisites method."
|
|
70 |
|
2245
|
71 |
^ #(
|
2838
|
72 |
#'stx:libbasic' "Object - superclass of PrinterContext "
|
|
73 |
#'stx:libbasic2' "List - referenced by WindowBuilder>>listAspectFor: "
|
2332
|
74 |
#'stx:libview' "SimpleView - superclass of ApplicationWindow "
|
2245
|
75 |
)
|
2151
|
76 |
! !
|
|
77 |
|
2176
|
78 |
!stx_libview2 class methodsFor:'description - compilation'!
|
|
79 |
|
2740
|
80 |
additionalBaseAddressDefinition_bc_dot_mak
|
|
81 |
"this is an optional definition, which (if present) may speed up the dll-loading a little
|
|
82 |
on win32 systems."
|
|
83 |
|
2278
|
84 |
^ '
|
|
85 |
# see stdHeader_bc for LIBVIEW2_BASE
|
2740
|
86 |
LIB_BASE=$(LIBVIEW2_BASE)
|
|
87 |
'
|
|
88 |
!
|
2278
|
89 |
|
2740
|
90 |
additionalDefinitions_bc_dot_mak
|
|
91 |
^ '
|
2965
|
92 |
LIBJPEG_DIR=$(TOP)\support\libjpeg-6a
|
|
93 |
|
2959
|
94 |
!!ifdef USEBC
|
|
95 |
LIBJPEG=$(LIBJPEG_DIR)\objbc\libjpeg.lib
|
|
96 |
!!else
|
|
97 |
!! ifdef USEVC
|
|
98 |
LIBJPEG=$(LIBJPEG_DIR)\objvc\libjpeg.lib
|
|
99 |
!! else
|
|
100 |
!! endif
|
|
101 |
!!endif
|
2278
|
102 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)"
|
|
103 |
'
|
|
104 |
|
|
105 |
"Created: / 22-08-2006 / 23:58:05 / cg"
|
|
106 |
!
|
|
107 |
|
2151
|
108 |
additionalDefinitions_make_dot_proto
|
|
109 |
^ '
|
|
110 |
NT_ADDITIONAL_DEFS::
|
|
111 |
@-echo "LIBJPEG_DIR=$$(TOP)\\support\\libjpeg-6a"
|
|
112 |
@-echo "LIBJPEG=$$(LIBJPEG_DIR)\libjpeg.lib"
|
|
113 |
@-echo "CLOCAL_INCL=-I$$(LIBJPEG_DIR)"
|
|
114 |
@-echo "LOCALLIBS=$$(LIBJPEG)"
|
|
115 |
|
|
116 |
NT_ADDITIONAL_RULES::
|
|
117 |
@-echo "ALL:: $$(LIBJPEG)"
|
|
118 |
@-echo
|
|
119 |
@-echo "$$(LIBJPEG):
|
|
120 |
@-echo "#cd $$(LIBJPEG_DIR)" | tr "#" "\\011"
|
|
121 |
@-echo "#make.exe -f makefile.bcc32" | tr "#" "\\011"
|
|
122 |
@-echo "#cd $$(TOP)\libview2" | tr ''#'' "\\011"
|
|
123 |
'
|
|
124 |
|
|
125 |
"Created: / 22-08-2006 / 23:50:57 / cg"
|
|
126 |
!
|
|
127 |
|
2427
|
128 |
additionalLinkLibraries_bc_dot_mak
|
|
129 |
^ '$(LIBJPEG)'
|
|
130 |
!
|
|
131 |
|
2278
|
132 |
additionalRules_bc_dot_mak
|
2151
|
133 |
^ '
|
2278
|
134 |
$(LIBJPEG):
|
|
135 |
cd $(LIBJPEG_DIR)
|
2949
|
136 |
$(MAKE_BAT)
|
2278
|
137 |
cd ..\..\libview2
|
2192
|
138 |
|
2278
|
139 |
$(OUTDIR)JPEGReader.$(O):: $(LIBJPEG_DIR)\jconfig.h
|
|
140 |
|
|
141 |
$(LIBJPEG_DIR)\jconfig.h: $(LIBJPEG)
|
2151
|
142 |
'
|
|
143 |
|
2278
|
144 |
"Created: / 22-08-2006 / 23:58:29 / cg"
|
2151
|
145 |
!
|
|
146 |
|
|
147 |
additionalRules_make_dot_proto
|
|
148 |
^ '
|
|
149 |
#
|
|
150 |
# prelink JPEGReader.o with libjpeg
|
|
151 |
#
|
|
152 |
JPEGReader: $(LIBJPEG)
|
|
153 |
@$(MAKE) JPEGReader.$(O) \
|
|
154 |
CC="$(LIBJPEG_CC)" \
|
|
155 |
OPT="$(LIBJPEG_OPT)" \
|
|
156 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \
|
|
157 |
LIBNAME="$(LIBNAME)" \
|
|
158 |
STCOPT="$(STCOPT)" \
|
|
159 |
STCLOCALOPT="$(STCLOCALOPT)" \
|
|
160 |
CCLOCALOPT="$(CCLOCALOPT)" \
|
|
161 |
LINKOBJRULE="$(LINKOBJRULE)"
|
|
162 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \
|
|
163 |
echo; \
|
2810
|
164 |
echo "prelinking JPEGReader with libjpeg ..."; \
|
2151
|
165 |
echo; \
|
|
166 |
echo ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG); \
|
2810
|
167 |
mv JPEGReader.$(O) __JPEGReader.$(O) && \
|
|
168 |
ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \
|
2151
|
169 |
rm -f __JPEGReader.$(O); \
|
|
170 |
echo; \
|
|
171 |
fi
|
|
172 |
|
2810
|
173 |
$(LIBJPEG): $(LIBJPEG_DIR)/.libs/libjpeg.a
|
|
174 |
cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG)
|
|
175 |
|
|
176 |
$(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h
|
2151
|
177 |
@-echo
|
2810
|
178 |
@-echo "making libjpeg support library ..."
|
2151
|
179 |
@-echo
|
2810
|
180 |
cd $(LIBJPEG_DIR) \
|
|
181 |
&& $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"
|
2151
|
182 |
@-echo
|
|
183 |
|
2810
|
184 |
$(LIBJPEG_DIR)/Makefile:
|
|
185 |
@-echo
|
|
186 |
@-echo "configure libjpeg support library ..."
|
|
187 |
@-echo
|
|
188 |
cd $(LIBJPEG_DIR) && ./configure
|
2151
|
189 |
'
|
|
190 |
|
|
191 |
"Created: / 22-08-2006 / 23:58:51 / cg"
|
|
192 |
!
|
|
193 |
|
2278
|
194 |
additionalTargets_bc_dot_mak
|
|
195 |
"additional targets to be added to the nt.mak file."
|
2151
|
196 |
|
2278
|
197 |
^ '$(LIBJPEG)'
|
2151
|
198 |
|
2278
|
199 |
"Created: / 23-08-2006 / 00:01:19 / cg"
|
2151
|
200 |
!
|
|
201 |
|
|
202 |
additionalTargets_make_dot_proto
|
|
203 |
"additional targets to be added to the make.proto file."
|
|
204 |
|
|
205 |
^ 'JPEGReader'
|
|
206 |
|
|
207 |
"Created: / 22-08-2006 / 23:54:37 / cg"
|
|
208 |
!
|
|
209 |
|
2192
|
210 |
stcOptimizationOptions
|
|
211 |
^ '+optspace2 -warnNonStandard'
|
|
212 |
|
|
213 |
"Created: / 23-08-2006 / 11:27:11 / cg"
|
|
214 |
! !
|
|
215 |
|
2201
|
216 |
!stx_libview2 class methodsFor:'description - contents'!
|
|
217 |
|
|
218 |
classNamesAndAttributes
|
2838
|
219 |
"lists the classes which are to be included in the project.
|
|
220 |
Each entry in the list may be: a single class-name (symbol),
|
|
221 |
or an array-literal consisting of class name and attributes.
|
|
222 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
223 |
|
2201
|
224 |
^ #(
|
2312
|
225 |
"<className> or (<className> attributes...) in load order"
|
2319
|
226 |
(AVIReader autoload)
|
|
227 |
ActiveHelpView
|
|
228 |
(ApplicationController autoload)
|
|
229 |
ApplicationSubView
|
|
230 |
ApplicationWindow
|
|
231 |
(BlitImageReader autoload)
|
|
232 |
(BorderedWrapper autoload)
|
|
233 |
(BoundedWrapper autoload)
|
|
234 |
ColorValue
|
|
235 |
(CompositePart autoload)
|
|
236 |
(CompositeTransform autoload)
|
|
237 |
(ConvertedValue autoload)
|
|
238 |
(DependentPart autoload)
|
|
239 |
DisplayObject
|
|
240 |
(DisplayTransform autoload)
|
|
241 |
DragAndDropManager
|
|
242 |
DragHandler
|
2838
|
243 |
DrawAdaptor
|
2319
|
244 |
DropContext
|
|
245 |
DropObject
|
|
246 |
DropSource
|
|
247 |
DropTarget
|
|
248 |
EventListener
|
|
249 |
ExternalTopView
|
|
250 |
(FLIReader autoload)
|
|
251 |
(FaceReader autoload)
|
|
252 |
(FillingWrapper autoload)
|
|
253 |
GIFReader
|
|
254 |
(GeometricWrapper autoload)
|
|
255 |
(HersheyFont autoload)
|
|
256 |
Icon
|
2838
|
257 |
ImageFrame
|
|
258 |
ImageSequence
|
2319
|
259 |
InputView
|
|
260 |
(Insets autoload)
|
|
261 |
(IrisRGBReader autoload)
|
|
262 |
JPEGReader
|
|
263 |
KeyboardProcessor
|
|
264 |
Layout
|
|
265 |
(LayoutWrapper autoload)
|
|
266 |
MIMETypeIconLibrary
|
|
267 |
MIMETypes
|
|
268 |
(MatrixTransform2x3 autoload)
|
2862
|
269 |
Model
|
2319
|
270 |
Menu
|
|
271 |
MenuItem
|
|
272 |
MultiImage
|
|
273 |
(PBMReader autoload)
|
|
274 |
(PCXReader autoload)
|
|
275 |
(PICTReader autoload)
|
2838
|
276 |
PNGReader
|
2319
|
277 |
(PluggableView autoload)
|
|
278 |
PopUpBanner
|
|
279 |
PrintConverter
|
|
280 |
PrinterContext
|
|
281 |
PropertyListDictionary
|
|
282 |
(RIFFReader autoload)
|
|
283 |
ResourceRetriever
|
|
284 |
(ST80FormReader autoload)
|
|
285 |
(ScreenLock autoload)
|
|
286 |
StandardSystemController
|
2838
|
287 |
(StrokingOrFillingWrapper autoload)
|
2319
|
288 |
(StrokingWrapper autoload)
|
|
289 |
(SunRasterReader autoload)
|
|
290 |
TIFFReader
|
|
291 |
(TargaReader autoload)
|
|
292 |
(TranslatingWrapper autoload)
|
|
293 |
TransparentBox
|
|
294 |
(ViewForwardingController autoload)
|
|
295 |
VisualRegion
|
2838
|
296 |
(WinPrinterContext win32)
|
|
297 |
(WinPrinterStream win32)
|
2319
|
298 |
WindowBuilder
|
2577
|
299 |
WindowsIconReader
|
2319
|
300 |
(Wrapper autoload)
|
|
301 |
XBMReader
|
|
302 |
XPMReader
|
|
303 |
(XWDReader autoload)
|
|
304 |
#'stx_libview2'
|
2422
|
305 |
ActiveHelp
|
|
306 |
ApplicationModel
|
|
307 |
LayoutOrigin
|
|
308 |
Plug
|
|
309 |
UIBuilder
|
|
310 |
ValueModel
|
2838
|
311 |
VisualComponent
|
2422
|
312 |
AlignmentOrigin
|
|
313 |
BlockValue
|
|
314 |
FlyByHelp
|
|
315 |
IndirectValue
|
|
316 |
LayoutFrame
|
|
317 |
PluggableAdaptor
|
|
318 |
ProtocolAdaptor
|
|
319 |
SimpleDialog
|
|
320 |
ToolApplicationModel
|
|
321 |
ValueHolder
|
2838
|
322 |
VisualPart
|
2422
|
323 |
AspectAdaptor
|
2838
|
324 |
BooleanBlockValue
|
|
325 |
BooleanValueHolder
|
2422
|
326 |
BufferedValueHolder
|
|
327 |
DictionaryAdaptor
|
|
328 |
RangeAdaptor
|
|
329 |
ResourceSpecEditor
|
|
330 |
TriggerValue
|
|
331 |
TypeConverter
|
|
332 |
ValueHolderWithWeakDependents
|
2998
|
333 |
AspectAdaptorWithDefault
|
2201
|
334 |
)
|
2729
|
335 |
!
|
|
336 |
|
|
337 |
extensionMethodNames
|
2838
|
338 |
"lists the extension methods which are to be included in the project.
|
|
339 |
Entries are 2-element array literals, consisting of class-name and selector."
|
|
340 |
|
2729
|
341 |
^ #(
|
|
342 |
CharacterArray asMimeType
|
|
343 |
)
|
2201
|
344 |
! !
|
|
345 |
|
2192
|
346 |
!stx_libview2 class methodsFor:'description - project information'!
|
|
347 |
|
2151
|
348 |
companyName
|
|
349 |
"Return a companyname which will appear in <lib>.rc"
|
|
350 |
|
|
351 |
^ 'eXept Software AG'
|
|
352 |
!
|
|
353 |
|
|
354 |
description
|
|
355 |
"Return a description string which will appear in nt.def / bc.def"
|
|
356 |
|
2152
|
357 |
^ 'Smalltalk/X Additional Graphic Interfacing'
|
|
358 |
!
|
|
359 |
|
2151
|
360 |
legalCopyright
|
|
361 |
"Return copyright string which will appear in <lib>.rc"
|
|
362 |
|
3010
|
363 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
|
2350
|
364 |
|
3010
|
365 |
"Modified: / 18-07-2012 / 19:12:07 / cg"
|
2151
|
366 |
! !
|
|
367 |
|
|
368 |
!stx_libview2 class methodsFor:'documentation'!
|
|
369 |
|
|
370 |
version
|
3032
|
371 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.52 2012-10-23 17:24:17 vrany Exp $'
|
2796
|
372 |
!
|
|
373 |
|
|
374 |
version_CVS
|
3032
|
375 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.52 2012-10-23 17:24:17 vrany Exp $'
|
2151
|
376 |
! !
|