stx_libview.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 13 May 2015 11:32:25 +0100
branchjv
changeset 6867 7ff5662d0ff9
parent 6819 f91377f97414
child 6869 71ae7193bb1c
permissions -rw-r--r--
Win / x86_64 build fix: do not include XWorkstation in Windows builds It is rarely if at all used and xlib libraries are not available when building using MinGW(64) toolchain. If anybody uses XWorkstation under windows, let me know.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     1
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
5282
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
     3
	      All Rights Reserved
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     4
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     5
 This software is furnished under a license and may be used
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     6
 only in accordance with the terms of that license and with the
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     9
 other person.  No title to or ownership of the software is
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    10
 hereby transferred.
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    11
"
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libview' }"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
LibraryDefinition subclass:#stx_libview
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
4746
aae1452d63a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4708
diff changeset
    18
	category:'* Projects & Packages *'
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    21
!stx_libview class methodsFor:'documentation'!
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    22
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    23
copyright
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    24
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    25
 COPYRIGHT (c) 2006 by eXept Software AG
5282
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
    26
	      All Rights Reserved
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    27
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    28
 This software is furnished under a license and may be used
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    29
 only in accordance with the terms of that license and with the
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    31
 be provided or otherwise made available to, or used by, any
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    32
 other person.  No title to or ownership of the software is
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    33
 hereby transferred.
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    34
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    35
!
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    36
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    37
documentation
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    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
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    41
    This library contains low level interfaces to the underlying graphic system
6783
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    42
    and representations of windows, fonts, colors, bitmaps etc.
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    43
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    44
    It does not contain medium level widget classes or applications/tools,
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    45
    but instead provides a device- and operating system independent layer on top of which
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    46
    GUI frameworks can be built.
6784
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    47
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    48
    It currently supports X11 and Windows-API. 
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    49
    Native OSX support may be an option if there is sufficient demand for it 
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    50
    (i.e. someone is willing to pay for its development).
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    51
"
6819
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    52
!
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    53
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    54
version
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
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>
parents: 6726 6784
diff changeset
    56
!
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    57
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    58
version_CVS
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
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>
parents: 6726 6784
diff changeset
    60
!
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    61
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    62
version_HG
f91377f97414 Merged 1e33b4eeb725 and ee648b604f67 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6726 6784
diff changeset
    63
    ^ '$Changeset: <not expanded> $'
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    64
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
   110
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   112
!stx_libview class methodsFor:'description'!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   113
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   114
excludedFromPreRequisites
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   115
    ^ #(
5282
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   116
	#'stx:libcompat'    "OrderedDither - referenced by Image>>convertToPalette:renderedBy: "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   117
	#'stx:libtool'    "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   118
	#'stx:libtool2'    "ImageEditor - referenced by Image>>edit "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   119
	#'stx:libui'    "ViewSpec - referenced by SimpleView>>specClass "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   120
	#'stx:libview2'    "TIFFReader - referenced by Image>>saveOn: "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   121
	#'stx:libwidg'    "Button - referenced by ModalBox>>initialize "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   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
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   124
    )
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   125
!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   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
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   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
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   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
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   159
    )
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   160
! !
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   161
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   162
!stx_libview class methodsFor:'description - compilation'!
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   163
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   164
additionalBaseAddressDefinition_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   165
    "this is an optional definition, which (if present) may speed up the dll-loading a little
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   166
     on win32 systems."
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   167
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   168
    ^ '
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   169
# see stdHeader_bc for LIBVIEW_BASE
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   170
LIB_BASE=$(LIBVIEW_BASE)
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   171
'
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   172
!
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   173
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   174
additionalDefinitions_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   175
    ^ '
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   176
!!ifdef USEBC
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   177
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   178
!!else
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   179
!! ifdef USEVC
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   180
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   181
!! else
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   182
!! endif
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   183
!!endif
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   184
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   185
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   186
    "Modified: / 27-09-2011 / 18:25:27 / cg"
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   187
!
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   188
6444
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   189
additionalDefinitions_make_dot_proto
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   190
    ^ '
6450
eecf1db9dbb5 macefiles
Claus Gittinger <cg@exept.de>
parents: 6444
diff changeset
   191
LOCAL_SHARED_LIBS=-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB)
6444
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   192
'
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   193
!
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   194
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   195
additionalRules_bc_dot_mak
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   196
    ^ '#
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   197
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   198
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   199
        copy ..\support\win32\borland\X11OMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   200
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   201
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   202
        copy ..\support\win32\borland\XextOMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   203
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   204
..\libvc\X11.lib: ..\support\win32\msc\X11.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   205
        copy ..\support\win32\msc\X11.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   206
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   207
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   208
        copy ..\support\win32\msc\Xext.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   209
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   210
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   211
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   212
    "Modified: / 27-09-2011 / 18:10:19 / cg"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   213
!
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   214
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   215
additionalRules_make_dot_proto
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   216
    ^ '
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   217
postMake:: $(LIBVIEW_EXTRA_TARGETS)
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   218
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   219
clean::
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   220
            @-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   221
            @-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   222
            @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   223
            @-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   224
            @-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   225
            @-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   226
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   227
#
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   228
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   229
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   230
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   231
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   232
XWorkstation.$(O): XWorkstation.st $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   233
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   234
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   235
                CLASSLIB_CC="$(CLASSLIB_CC)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   236
                CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize=64000" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   237
                SEPINITCODE=-sepInitCode ZFLAG=
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   238
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   239
xw:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   240
        $(MAKE) XWorkstation.c \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   241
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   242
                CLASSLIB_CC="$(CLASSLIB_CC)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   243
                CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize: 64000 -V" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   244
                SEPINITCODE=-sepInitCode ZFLAG=
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   245
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   246
XWorkstation.$(SO): XWorkstation.$(O)
6017
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   247
        $(MAKE) $(SHAREDLIBRULE) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   248
            LIB=XWorkstation.$(SO) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   249
            OBJS="XWorkstation.$(O)" \
6419
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   250
            LOCAL_SHARED_LIBS="-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) "
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   251
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   252
#            LOCAL_SHARED_LIBS="-L$(TOP)/librun -lrun -L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_X) "
6017
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   253
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   254
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   255
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   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
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   257
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   258
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   259
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   260
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   261
        mv GLXWorkstation.$(O) __GLXWorkstation.$(O)
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   262
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   263
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   264
        @if [ "$(NO_PRELINK_LIBGL)" = "" ]; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   265
        then\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   266
            echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   267
            $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   268
        else \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   269
            echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   270
            cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   271
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   272
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   273
glLib:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   274
        @-if [ -d ../support/VGL ]; then \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   275
            (cd ../support/VGL ; $(MAKE) ) ; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   276
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   277
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   278
DeviceWorkstation.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   279
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   280
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   281
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   282
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   283
SimpleView.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   284
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   285
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   286
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   287
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   288
Image.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   289
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   290
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   291
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   292
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   293
#OGLWorkstation.$(O): OGLWorkstation.st
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   294
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   295
#               XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   296
#       $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   297
#               $(MESA_DIR)/lib/libMesaGL.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   298
#               $(MESA_DIR)/lib/libMesaGLU.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   299
#               $(MESA_DIR)/lib/libMesaaux.a
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   300
#       mv ttt.$(O) OGLWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   301
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   302
OGLWorkstation.$(O): GLXWorkstation.st
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   303
        cp GLXWorkstation.st OGLWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   304
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   305
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   306
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   307
                CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   308
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   309
        $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   310
                $(MESA_DIR)/lib/libMesaGL.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   311
                $(MESA_DIR)/lib/libMesaGLU.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   312
                $(MESA_DIR)/lib/libMesaaux.a
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   313
        mv ttt.$(O) OGLWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   314
        rm -f OGLWorkstation.st
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   315
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   316
#ogl:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   317
#       $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   318
#       mv OGLWorkstation.o ttt.o
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   319
#       $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   320
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a   \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   321
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   322
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   323
#               /lib/libc.so.4
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   324
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   325
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   326
# on my 320H, do not compile DeviceWorkstation with -O2;
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   327
# compiler is running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   328
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   329
#AIX_BIGGIES:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   330
#       $(MAKE) GraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   331
#       $(MAKE) DeviceGraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   332
#       $(MAKE) OPT= DeviceWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   333
#       $(MAKE) OPT= XWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   334
#       $(MAKE) OPT= Image.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   335
#       $(MAKE) OPT= SimpleView.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   336
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   337
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   338
# prelink those - cannot mix non-shared with shared objects (sigh)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   339
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   340
AIX_SHARED_XWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   341
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   342
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   343
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   344
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   345
        $(MAKE) XWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   346
                ENTRY_INIT=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   347
                AIX_LOCAL_LIBS="$(LIBX)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   348
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   349
AIX_SHARED_GLXWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   350
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   351
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   352
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   353
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   354
        $(MAKE) GLXWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   355
                ENTRY_INIT=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   356
                AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm"
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   357
        rm -f XWorkstation.exp
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   358
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   359
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   360
# in (my) aix system, those cannot be compiled with
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   361
# the optimizer - running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   362
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   363
AIX::   GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   364
        $(MAKE) OPT="" SimpleView.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   365
        $(MAKE) OPT="" Image.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   366
        $(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE)
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   367
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   368
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   369
# on HP, big classes blow the C-preprocessor (stops with "too much defining" error)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   370
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   371
#HP::
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   372
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   373
#HPbigFiles:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   374
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)"
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   375
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)"
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   376
'
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   377
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   378
    "Modified: / 14-09-2011 / 13:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   379
!
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   380
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   381
localDefines_unix
6413
Claus Gittinger <cg@exept.de>
parents: 6178
diff changeset
   382
    ^ '$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)'
5492
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   383
!
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   384
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   385
stcOptimizationOptions
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   386
    ^ '+optinline +optinline2'
6600
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   387
!
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   388
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   389
stcWarningOptions
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   390
    ^ '-warnNonStandard -warnUnused'
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   391
! !
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   392
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
!stx_libview class methodsFor:'description - contents'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
classNamesAndAttributes
5501
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   396
    "lists the classes which are to be included in the project.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   397
     Each entry in the list may be: a single class-name (symbol),
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   398
     or an array-literal consisting of class name and attributes.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   399
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   400
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
    ^ #(
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   402
        "<className> or (<className> attributes...) in load order"
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   403
        AbstractBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   404
        AbstractBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   405
        Color
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   406
        Colormap
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   407
        Controller
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   408
        Cursor
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   409
        DeviceHandle
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   410
        Event
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   411
        FontDescription
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   412
        GraphicsContext
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   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
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   415
        Image
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   416
        ImageReader
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   417
        KeyboardForwarder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   418
        KeyboardMap
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   419
        ResourcePack
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   420
        WindowGroup
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   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
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   423
        #'stx_libview'
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   424
        BeveledBorder
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   425
        BitmapFont
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   426
        Border
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   427
        ColorPalette
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   428
        CompoundFont
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   429
        Depth16Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   430
        Depth1Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   431
        Depth24Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   432
        Depth2Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   433
        Depth32Image
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   434
        Depth48Image
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   435
        Depth4Image
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   436
        Depth64Image
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   437
        Depth8Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   438
        DeviceGraphicsContext
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   439
        DisplaySurface
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   440
        Font
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   441
        Form
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   442
        GradientBackground
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   443
        HostGraphicsDevice
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   444
        ImageBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   445
        NoBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   446
        SimpleBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   447
        SolidBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   448
        SynchronousWindowSensor
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   449
        ViewStyle
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   450
        WindowEvent
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   451
        (XftFontDescription unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   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
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   454
        ImageMask
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   455
        MappedPalette
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   456
        SimpleView
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   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
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   459
        MonoMappedPalette
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   460
        ShadowView
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   461
        View
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   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
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   464
        (GLXWorkstation unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   465
        TopView
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   466
        PopUpView
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   467
        StandardSystemView
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   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
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
   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
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   474
        (NeXTWorkstation autoload)
6739
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
   475
        (TranslucentColor autoload)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   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
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   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
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
    ^ #(
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
    )
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
! !
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
!stx_libview class methodsFor:'description - project information'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   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
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
companyName
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
    "Return a companyname which will appear in <lib>.rc"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
    ^ 'eXept Software AG'
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
description
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
    "Return a description string which will appear in nt.def / bc.def"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
    ^ 'Smalltalk/X Low Level Graphic Interfacing'
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
    "Modified: / 14-09-2006 / 10:54:54 / cg"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
legalCopyright
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
    "Return a copyright string which will appear in <lib>.rc"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
5921
a6097e19cde9 changed: #legalcopyright
Claus Gittinger <cg@exept.de>
parents: 5884
diff changeset
   515
    ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
4841
898ed753ea9c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4840
diff changeset
   516
5921
a6097e19cde9 changed: #legalcopyright
Claus Gittinger <cg@exept.de>
parents: 5884
diff changeset
   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
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
! !
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525