stx_libview.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 15 Aug 2017 13:46:01 +0100
branchjv
changeset 8079 1bd22a3d8b03
parent 8074 863abc9d17bb
child 8179 ced410b68993
permissions -rw-r--r--
Backed out changeset 863abc9d17bb ...as it messed up build support files - win32 specific classes went missing. This was proably a consequence of an issue #63 [1] which is now fixed. [1]: https://swing.fit.cvut.cz/projects/stx-jv/ticket/63
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
     1
"{ Encoding: utf8 }"
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
     2
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     3
"
7684
b3a4c601f00d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7683
diff changeset
     4
 COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
b3a4c601f00d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7683
diff changeset
     5
              All Rights Reserved
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     6
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     7
 This software is furnished under a license and may be used
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
     8
 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
     9
 inclusion of the above copyright notice.   This software may not
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    10
 be provided or otherwise made available to, or used by, any
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    11
 other person.  No title to or ownership of the software is
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    12
 hereby transferred.
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    13
"
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ Package: 'stx:libview' }"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
6739
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
    16
"{ NameSpace: Smalltalk }"
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
    17
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
LibraryDefinition subclass:#stx_libview
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	instanceVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
4746
aae1452d63a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4708
diff changeset
    22
	category:'* Projects & Packages *'
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    25
!stx_libview class methodsFor:'documentation'!
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    26
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    27
copyright
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    28
"
7684
b3a4c601f00d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7683
diff changeset
    29
 COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
b3a4c601f00d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7683
diff changeset
    30
              All Rights Reserved
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    31
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    32
 This software is furnished under a license and may be used
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    33
 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
    34
 inclusion of the above copyright notice.   This software may not
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    35
 be provided or otherwise made available to, or used by, any
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    36
 other person.  No title to or ownership of the software is
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    37
 hereby transferred.
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    38
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    39
!
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    40
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    41
documentation
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    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
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    45
    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
    46
    and representations of windows, fonts, colors, bitmaps etc.
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    47
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    48
    It does not contain medium level widget classes or applications/tools,
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    49
    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
    50
    GUI frameworks can be built.
6784
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    51
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    52
    It currently supports X11 and Windows-API. 
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    53
    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
    54
    (i.e. someone is willing to pay for its development).
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    55
"
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    56
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    78
     to keep changes against CVS minimal. 
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
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
   102
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   104
!stx_libview class methodsFor:'description'!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   105
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   106
excludedFromPreRequisites
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   107
    ^ #(
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   108
        #'stx:libcompat'    "OrderedDither - referenced by Image>>convertToPalette:renderedBy: "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   109
        #'stx:libtool'    "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   110
        #'stx:libtool2'    "ImageEditor - referenced by Image>>edit "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   111
        #'stx:libui'    "ViewSpec - referenced by SimpleView>>specClass "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   112
        #'stx:libview2'    "TIFFReader - referenced by Image>>saveOn: "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   113
        #'stx:libwidg'    "Button - referenced by ModalBox>>initialize "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   114
        #'stx:libwidg2'    "ImageView - referenced by Form>>show "
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   115
        #'stx:goodies/communication'    "HTTPInterface - referenced by ImageReader class>>fromURL:"
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   116
    )
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   117
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   118
    "Modified: / 31-01-2017 / 13:35:51 / stefan"
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   119
!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   120
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   121
mandatoryPreRequisites
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   122
    "list packages which are mandatory as a prerequisite.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   123
     This are packages containing superclasses of my classes and classes which
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   124
     are extended by myself.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   125
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   126
     This method is generated automatically,
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   127
     by searching along the inheritance chain of all of my classes.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   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
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   130
    ^ #(
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   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
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   136
    "list packages which are a prerequisite, because they contain
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   137
     classes which are referenced by my classes.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   138
     These packages are NOT needed as a prerequisite for compiling or loading,
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   139
     however, a class from it may be referenced during execution and having it
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   140
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   141
     includes explicit checks for the package being present.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   142
     This method is generated automatically,
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   143
     by searching all classes (and their packages) which are referenced by my classes.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   144
     Please also take a look at the #mandatoryPreRequisites method"
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   145
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   146
    ^ #(
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   147
        #'stx:libbasic2'    "UUID - referenced by DisplayRootView>>uuid"
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   148
    )
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   149
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   150
    "Modified: / 31-01-2017 / 13:35:33 / stefan"
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   151
!
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   152
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   153
subProjects
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   154
    "list packages which are known as subprojects.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   155
     The generated makefile will enter those and make there as well.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   156
     However: they are not forced to be loaded when a package is loaded;
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   157
     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
   158
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   159
    ^ #(
4775
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
! !
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   162
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   163
!stx_libview class methodsFor:'description - compilation'!
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   164
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   165
additionalBaseAddressDefinition_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   166
    "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
   167
     on win32 systems."
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   168
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   169
    ^ '
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   170
# see stdHeader_bc for LIBVIEW_BASE
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   171
LIB_BASE=$(LIBVIEW_BASE)
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   172
'
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   173
!
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   174
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   175
additionalDefinitions_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   176
    ^ '
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   177
!!ifdef USEBC
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   178
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   179
!!else
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   180
!! ifdef USEVC
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   181
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   182
!! else
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   183
!! endif
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   184
!!endif
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   185
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   186
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   187
    "Modified: / 27-09-2011 / 18:25:27 / cg"
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   188
!
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   189
6444
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   190
additionalDefinitions_make_dot_proto
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   191
    ^ '
6450
eecf1db9dbb5 macefiles
Claus Gittinger <cg@exept.de>
parents: 6444
diff changeset
   192
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
   193
'
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   194
!
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   195
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   196
additionalRules_bc_dot_mak
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
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   199
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   200
        copy ..\support\win32\borland\X11OMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   201
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   202
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   203
        copy ..\support\win32\borland\XextOMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   204
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   205
..\libvc\X11.lib: ..\support\win32\msc\X11.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   206
        copy ..\support\win32\msc\X11.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   207
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   208
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   209
        copy ..\support\win32\msc\Xext.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   210
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   211
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   212
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   213
    "Modified: / 27-09-2011 / 18:10:19 / cg"
4698
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
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   216
additionalRules_make_dot_proto
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   217
    ^ '
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   218
postMake:: $(LIBVIEW_EXTRA_TARGETS)
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   219
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   220
clean::
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   221
            @-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   222
            @-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   223
            @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   224
            @-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   225
            @-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   226
            @-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   227
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   228
#
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   229
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   230
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts)
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
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   233
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
   234
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   235
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   236
                CLASSLIB_CC="$(CLASSLIB_CC)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   237
                CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize=64000" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   238
                SEPINITCODE=-sepInitCode ZFLAG=
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   239
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   240
xw:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   241
        $(MAKE) XWorkstation.c \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   242
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   243
                CLASSLIB_CC="$(CLASSLIB_CC)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   244
                CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize: 64000 -V" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   245
                SEPINITCODE=-sepInitCode ZFLAG=
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   246
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   247
XWorkstation.$(SO): XWorkstation.$(O)
6017
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   248
        $(MAKE) $(SHAREDLIBRULE) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   249
            LIB=XWorkstation.$(SO) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   250
            OBJS="XWorkstation.$(O)" \
6419
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   251
            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
   252
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   253
#            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
   254
4698
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
6869
71ae7193bb1c Build files: fixed dependency for GLXWorkstation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6867
diff changeset
   257
__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE_TOP)/stx/libview/XWorkstation.$(O) $(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
   258
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   259
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   260
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   261
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   262
        mv GLXWorkstation.$(O) __GLXWorkstation.$(O)
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   263
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   264
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   265
        @if [ "$(NO_PRELINK_LIBGL)" = "" ]; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   266
        then\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   267
            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
   268
            $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   269
        else \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   270
            echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   271
            cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   272
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   273
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   274
glLib:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   275
        @-if [ -d ../support/VGL ]; then \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   276
            (cd ../support/VGL ; $(MAKE) ) ; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   277
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   278
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   279
DeviceWorkstation.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   280
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   281
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   282
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   283
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   284
SimpleView.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   285
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   286
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   287
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   288
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   289
Image.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   290
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   291
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   292
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   293
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   294
#OGLWorkstation.$(O): OGLWorkstation.st
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   295
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   296
#               XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   297
#       $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   298
#               $(MESA_DIR)/lib/libMesaGL.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   299
#               $(MESA_DIR)/lib/libMesaGLU.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   300
#               $(MESA_DIR)/lib/libMesaaux.a
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   301
#       mv ttt.$(O) OGLWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   302
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   303
OGLWorkstation.$(O): GLXWorkstation.st
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   304
        cp GLXWorkstation.st OGLWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   305
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   306
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   307
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   308
                CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   309
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   310
        $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   311
                $(MESA_DIR)/lib/libMesaGL.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   312
                $(MESA_DIR)/lib/libMesaGLU.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   313
                $(MESA_DIR)/lib/libMesaaux.a
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   314
        mv ttt.$(O) OGLWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   315
        rm -f OGLWorkstation.st
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   316
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   317
#ogl:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   318
#       $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   319
#       mv OGLWorkstation.o ttt.o
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   320
#       $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   321
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a   \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   322
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   323
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   324
#               /lib/libc.so.4
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   327
# on my 320H, do not compile DeviceWorkstation with -O2;
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   328
# compiler is running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   329
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   330
#AIX_BIGGIES:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   331
#       $(MAKE) GraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   332
#       $(MAKE) DeviceGraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   333
#       $(MAKE) OPT= DeviceWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   334
#       $(MAKE) OPT= XWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   335
#       $(MAKE) OPT= Image.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   336
#       $(MAKE) OPT= SimpleView.$(O)
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   339
# prelink those - cannot mix non-shared with shared objects (sigh)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   340
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   341
AIX_SHARED_XWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   342
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   343
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   344
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   345
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   346
        $(MAKE) XWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   347
                ENTRY_INIT=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   348
                AIX_LOCAL_LIBS="$(LIBX)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   349
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   350
AIX_SHARED_GLXWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   351
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   352
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   353
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   354
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   355
        $(MAKE) GLXWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   356
                ENTRY_INIT=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   357
                AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm"
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   358
        rm -f XWorkstation.exp
4698
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   361
# in (my) aix system, those cannot be compiled with
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   362
# the optimizer - running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   363
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   364
AIX::   GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   365
        $(MAKE) OPT="" SimpleView.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   366
        $(MAKE) OPT="" Image.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   367
        $(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE)
4698
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   370
# 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
   371
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   372
#HP::
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   373
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   374
#HPbigFiles:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   375
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)"
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   376
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)"
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   377
'
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   378
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   379
    "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
   380
!
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   381
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   382
localDefines_unix
6413
Claus Gittinger <cg@exept.de>
parents: 6178
diff changeset
   383
    ^ '$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)'
5492
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
6889
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   386
localIncludes
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   387
    ^ '$(OPTIONAL_SUPPORT_XLIB_INCLUDE)'
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   388
!
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   389
5492
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   390
stcOptimizationOptions
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   391
    ^ '+optinline +optinline2'
6600
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   392
!
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   393
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   394
stcWarningOptions
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   395
    ^ '-warnNonStandard -warnUnused'
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   396
! !
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   397
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
!stx_libview class methodsFor:'description - contents'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
classNamesAndAttributes
5501
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   401
    "lists the classes which are to be included in the project.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   402
     Each entry in the list may be: a single class-name (symbol),
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   403
     or an array-literal consisting of class name and attributes.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   404
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   405
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
    ^ #(
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   407
        "<className> or (<className> attributes...) in load order"
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   408
        AbstractBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   409
        AbstractBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   410
        Color
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   411
        Colormap
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   412
        Controller
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   413
        Cursor
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   414
        DeviceHandle
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   415
        DisplayTransform
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   416
        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
   417
        (FcConstants unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   418
        FontDescription
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   419
        (GraphicsAttributes autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   420
        GraphicsContext
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   421
        GraphicsDevice
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   422
        GraphicsMedium
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   423
        Image
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   424
        ImageReader
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   425
        KeyboardForwarder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   426
        KeyboardMap
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   427
        ResourcePack
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   428
        WindowGroup
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   429
        WindowSensor
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   430
        #'stx_libview'
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   431
        BeveledBorder
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   432
        BitmapFont
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   433
        Border
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   434
        ColorPalette
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   435
        CompoundFont
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   436
        (ControllerWithMenu autoload)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   437
        Depth16Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   438
        Depth1Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   439
        Depth24Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   440
        Depth2Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   441
        Depth32Image
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   442
        Depth48Image
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   443
        Depth4Image
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   444
        Depth64Image
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   445
        Depth8Image
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   446
        DeviceGraphicsContext
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   447
        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
   448
        (FcPattern unix)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   449
        Font
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   450
        Form
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   451
        GradientBackground
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   452
        HostGraphicsDevice
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   453
        ImageBackground
7049
cfa0472d4660 some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents: 7042
diff changeset
   454
        MacButtonBorder
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   455
        NoBackground
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   456
        (RoundButtonBorder autoload)
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   457
        ScaleTransform
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   458
        SimpleBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   459
        SolidBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   460
        SynchronousWindowSensor
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   461
        (TranslucentColor autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   462
        ViewStyle
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   463
        WindowEvent
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   464
        (XftFontDescription unix)
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   465
        (AlphaMask autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   466
        DeviceWorkstation
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   467
        DisplayRootView
7198
Claus Gittinger <cg@exept.de>
parents: 7136
diff changeset
   468
        FixedPalette
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   469
        ImageMask
7049
cfa0472d4660 some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents: 7042
diff changeset
   470
        MacFlatButtonBorder
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   471
        MappedPalette
7010
b41e6805c468 initial checkin
Claus Gittinger <cg@exept.de>
parents: 6945
diff changeset
   472
        RoundedBorder
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   473
        SimpleView
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   474
        WidgetEvent
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   475
        WindowingTransformation
6726
9f16fe1701f5 XGraphicsContext made public to allow subclassing and extending
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6616
diff changeset
   476
        XGraphicsContext
7198
Claus Gittinger <cg@exept.de>
parents: 7136
diff changeset
   477
        FixedPaletteWithAlpha
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   478
        MonoMappedPalette
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   479
        (NeXTWorkstation autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   480
        ShadowView
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   481
        View
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   482
        (XEmbedContainerView unix)
7136
2b0b61ff4df5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7049
diff changeset
   483
        (XWorkstation unix)
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   484
        (GLXWorkstation unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   485
        TopView
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   486
        (MDIChildView autoload)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   487
        PopUpView
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   488
        StandardSystemView
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   489
        ModalBox
6739
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
   490
        (ControllerWithMenu autoload)
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   491
        (GraphicsAttributes autoload)
6739
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
   492
        (NeXTWorkstation autoload)
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   493
        (WinWorkstation win32)
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   494
    )
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   495
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   496
    "Modified (format): / 31-01-2017 / 13:35:18 / stefan"
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
extensionMethodNames
8079
1bd22a3d8b03 Backed out changeset 863abc9d17bb
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8074
diff changeset
   500
    "list class/selector pairs of extensions.
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   501
     Entries are 2-element array literals, consisting of class-name and selector.
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   502
     A correponding method with real names must be present in my concrete subclasses
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   503
     if it has extensions."
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   504
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
    ^ #(
7154
f2d585b5f20e X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7150
diff changeset
   506
        'ConfigurableFeatures class' hasFontConfig
7813
f9a9a63d6263 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 7685
diff changeset
   507
        Object isColormap
7154
f2d585b5f20e X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7150
diff changeset
   508
        'ConfigurableFeatures class' hasXFT
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
    )
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
!stx_libview class methodsFor:'description - project information'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
companyName
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
    "Return a companyname which will appear in <lib>.rc"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
7683
31bce7856178 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7198
diff changeset
   517
    ^ 'Claus Gittinger / eXept Software AG'
31bce7856178 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7198
diff changeset
   518
31bce7856178 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7198
diff changeset
   519
    "Modified: / 18-11-2016 / 11:47:54 / cg"
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
description
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
    "Return a description string which will appear in nt.def / bc.def"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
    ^ 'Smalltalk/X Low Level Graphic Interfacing'
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
    "Modified: / 14-09-2006 / 10:54:54 / cg"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
legalCopyright
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
    "Return a copyright string which will appear in <lib>.rc"
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
7685
ed3a877ce971 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7684
diff changeset
   533
    ^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012'
4841
898ed753ea9c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4840
diff changeset
   534
7685
ed3a877ce971 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7684
diff changeset
   535
    "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
   536
!
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   537
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   538
productName
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   539
    "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
   540
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   541
    ^ 'Smalltalk/X'
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   542
! !
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   543
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
!stx_libview class methodsFor:'documentation'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   545
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   546
version
6879
ffb55919ed0c copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 6784
diff changeset
   547
    ^ '$Header$'
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   548
!
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   549
5384
e9e6c9c8c93b automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5347
diff changeset
   550
version_CVS
6879
ffb55919ed0c copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 6784
diff changeset
   551
    ^ '$Header$'
6883
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   552
    
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   553
!
6883
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   554
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   555
version_HG
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   556
    ^ '$Changeset: <not expanded> $'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   557
    
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   558
! !
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   559