stx_libview.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 30 Jun 2016 22:07:40 +0100
branchjv
changeset 7399 143bc9c1a08e
parent 7202 fc488e2907c8
child 7716 3dba89415c91
permissions -rw-r--r--
Merge
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
6739
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
    14
"{ NameSpace: Smalltalk }"
4a80cb21f3c8 + MacButtonBorder
Claus Gittinger <cg@exept.de>
parents: 6706
diff changeset
    15
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
LibraryDefinition subclass:#stx_libview
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
4746
aae1452d63a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4708
diff changeset
    20
	category:'* Projects & Packages *'
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    23
!stx_libview class methodsFor:'documentation'!
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    24
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    25
copyright
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    26
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    27
 COPYRIGHT (c) 2006 by eXept Software AG
5282
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
    28
	      All Rights Reserved
5252
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    29
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    30
 This software is furnished under a license and may be used
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    31
 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
    32
 inclusion of the above copyright notice.   This software may not
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    33
 be provided or otherwise made available to, or used by, any
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    34
 other person.  No title to or ownership of the software is
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    35
 hereby transferred.
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    36
"
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    37
!
3ccca8d9bed2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5251
diff changeset
    38
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    39
documentation
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    40
"
6756
c956283d57e8 comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 6739
diff changeset
    41
    Package Documentation
c956283d57e8 comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 6739
diff changeset
    42
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    43
    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
    44
    and representations of windows, fonts, colors, bitmaps etc.
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    45
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    46
    It does not contain medium level widget classes or applications/tools,
913bd69b58c8 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6756
diff changeset
    47
    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
    48
    GUI frameworks can be built.
6784
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    49
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    50
    It currently supports X11 and Windows-API. 
8272fd4450b1 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6783
diff changeset
    51
    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
    52
    (i.e. someone is willing to pay for its development).
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    53
"
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
    54
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
6523
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    56
!stx_libview class methodsFor:'accessing - hg - settings'!
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    57
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    58
hgEnsureCopyrightMethod
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    59
    "If true, then #copyright method is automatically compiled in each class
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    60
     (but iff project definition defines it)
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    61
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    62
     Default is true (compile such method) but if the repository is mirror of CVS and
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    63
     you want to merge back to CVS at some point, you may want to not compile them
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    64
     to keep changes against CVS minimal"
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    65
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    66
    ^false
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    67
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    68
    "Created: / 09-10-2013 / 15:39:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    69
!
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    70
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    71
hgEnsureVersion_HGMethod
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    72
    "If true, then #version_HG method is automatically compiled in each class.
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    73
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    74
     Default is true (compile such method) but if the repository is mirror of CVS and
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    75
     you want to merge back to CVS at some point, you may want to not compile them
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    76
     to keep changes against CVS minimal. 
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    77
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    78
     If false, version_HG is compiled only in classes that has been modified
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    79
     and commited.
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    80
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    81
     Note that Mercurial can live without them
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    82
     just fine"
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    83
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    84
    ^false
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    85
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    86
    "Created: / 09-10-2013 / 15:39:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    87
!
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    88
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    89
hgRemoveContainesForDeletedClasses
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    90
    "If true, then containers for removed classes are __AUTOMATICALLY__ removed from the
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    91
     repositoru. If false, obsolete containes are kept.
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    92
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    93
     Default is true (remove obsolete containers) but if the repository is mirror of CVS and
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    94
     you want to merge back to CVS at some point, you may want to return false to avoid deletions
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    95
     of obsolete files. Usefull when branching off an old CVS repo with loads of mess."
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    96
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    97
    ^false
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    98
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
    99
    "Created: / 09-10-2013 / 15:39:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
5251
6b223fe54a68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5199
diff changeset
   100
! !
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   102
!stx_libview class methodsFor:'description'!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   103
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   104
excludedFromPreRequisites
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   105
    ^ #(
5282
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   106
	#'stx:libcompat'    "OrderedDither - referenced by Image>>convertToPalette:renderedBy: "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   107
	#'stx:libtool'    "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   108
	#'stx:libtool2'    "ImageEditor - referenced by Image>>edit "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   109
	#'stx:libui'    "ViewSpec - referenced by SimpleView>>specClass "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   110
	#'stx:libview2'    "TIFFReader - referenced by Image>>saveOn: "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   111
	#'stx:libwidg'    "Button - referenced by ModalBox>>initialize "
cb38c0f13693 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5252
diff changeset
   112
	#'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
   113
        #'stx:goodies/communication'    "HTTPInterface - referenced by ImageReader class>>fromURL: "
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   114
    )
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   115
!
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   116
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   117
mandatoryPreRequisites
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   118
    "list packages which are mandatory as a prerequisite.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   119
     This are packages containing superclasses of my classes and classes which
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   120
     are extended by myself.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   121
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   122
     This method is generated automatically,
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   123
     by searching along the inheritance chain of all of my classes."
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   124
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   125
    ^ #(
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   126
        #'stx:libbasic'    "Collection - superclass of ColorPalette"
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   127
    )
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   128
!
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   129
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   130
referencedPreRequisites
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   131
    "list packages which are a prerequisite, because they contain
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   132
     classes which are referenced by my classes.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   133
     We do not need these packages as a prerequisite for compiling or loading,
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   134
     however, a class from it may be referenced during execution and having it
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   135
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   136
     includes explicit checks for the package being present.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   137
     This method is generated automatically,
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   138
     by searching all classes (and their packages) which are referenced by my classes."
6022
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
    ^ #(
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   141
        #'stx:libbasic2'    "BooleanArray - referenced by Image>>floodFillAt:withValue:"
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   142
    )
6523
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
   143
!
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
   144
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
   145
subProjects
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
   146
    "list packages which are known as subprojects.
b6dc0f5f499a Created branch delegated_gc_jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6465
diff changeset
   147
     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
   148
     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
   149
     for those, redefine requiredPrerequisites"
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   150
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   151
    ^ #(
4775
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   152
    )
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   153
! !
2d91445dfd48 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 4746
diff changeset
   154
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   155
!stx_libview class methodsFor:'description - compilation'!
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   156
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   157
additionalBaseAddressDefinition_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   158
    "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
   159
     on win32 systems."
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   160
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   161
    ^ '
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   162
# see stdHeader_bc for LIBVIEW_BASE
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   163
LIB_BASE=$(LIBVIEW_BASE)
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   164
'
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   165
!
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   166
5347
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   167
additionalDefinitions_bc_dot_mak
4f3708139b49 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   168
    ^ '
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   169
!!ifdef USEBC
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   170
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   171
!!else
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   172
!! ifdef USEVC
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   173
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   174
!! else
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   175
!! endif
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   176
!!endif
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   177
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   178
5825
6cfb0971a405 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5819
diff changeset
   179
    "Modified: / 27-09-2011 / 18:25:27 / cg"
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   180
!
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   181
6444
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   182
additionalDefinitions_make_dot_proto
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   183
    ^ '
6450
eecf1db9dbb5 macefiles
Claus Gittinger <cg@exept.de>
parents: 6444
diff changeset
   184
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
   185
'
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   186
!
64fe368a5bf6 macefiles
Claus Gittinger <cg@exept.de>
parents: 6438
diff changeset
   187
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   188
additionalRules_bc_dot_mak
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   189
    ^ '#
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   190
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   191
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   192
        copy ..\support\win32\borland\X11OMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   193
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   194
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   195
        copy ..\support\win32\borland\XextOMF.lib ..\libbc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   196
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   197
..\libvc\X11.lib: ..\support\win32\msc\X11.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   198
        copy ..\support\win32\msc\X11.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   199
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   200
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   201
        copy ..\support\win32\msc\Xext.lib ..\libvc
5102
fd6c78376121 XWorkstat always included
Claus Gittinger <cg@exept.de>
parents: 5101
diff changeset
   202
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   203
'
5813
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   204
2a77189ba821 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5796
diff changeset
   205
    "Modified: / 27-09-2011 / 18:10:19 / cg"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   206
!
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   207
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   208
additionalRules_make_dot_proto
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   209
    ^ '
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   210
postMake:: $(LIBVIEW_EXTRA_TARGETS)
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   211
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   212
clean::
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   213
            @-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   214
            @-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   215
            @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   216
            @-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   217
            @-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   218
            @-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   219
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   220
#
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   221
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   222
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   223
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   224
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   225
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
   226
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   227
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   228
                CLASSLIB_CC="$(CLASSLIB_CC)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   229
                CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize=64000" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   230
                SEPINITCODE=-sepInitCode ZFLAG=
4698
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
xw:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   233
        $(MAKE) XWorkstation.c \
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 -V" \
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
XWorkstation.$(SO): XWorkstation.$(O)
6017
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   240
        $(MAKE) $(SHAREDLIBRULE) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   241
            LIB=XWorkstation.$(SO) \
0425d27d997d Compilation fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5939
diff changeset
   242
            OBJS="XWorkstation.$(O)" \
6419
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   243
            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
   244
b0fb31134217 macefiles
Claus Gittinger <cg@exept.de>
parents: 6413
diff changeset
   245
#            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
   246
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   247
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   248
6869
71ae7193bb1c Build files: fixed dependency for GLXWorkstation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6867
diff changeset
   249
__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
   250
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   251
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   252
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   253
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   254
        mv GLXWorkstation.$(O) __GLXWorkstation.$(O)
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
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   257
        @if [ "$(NO_PRELINK_LIBGL)" = "" ]; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   258
        then\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   259
            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
   260
            $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   261
        else \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   262
            echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   263
            cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   264
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   265
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   266
glLib:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   267
        @-if [ -d ../support/VGL ]; then \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   268
            (cd ../support/VGL ; $(MAKE) ) ; \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   269
        fi
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   270
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   271
DeviceWorkstation.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   272
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   273
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   274
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   275
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   276
SimpleView.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   277
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   278
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   279
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   280
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   281
Image.$(O):
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   282
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   283
                CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   284
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   285
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   286
#OGLWorkstation.$(O): OGLWorkstation.st
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   287
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   288
#               XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   289
#       $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   290
#               $(MESA_DIR)/lib/libMesaGL.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   291
#               $(MESA_DIR)/lib/libMesaGLU.a \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   292
#               $(MESA_DIR)/lib/libMesaaux.a
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   293
#       mv ttt.$(O) OGLWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   294
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   295
OGLWorkstation.$(O): GLXWorkstation.st
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   296
        cp GLXWorkstation.st OGLWorkstation.st
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   297
        $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   298
                CC="$(CC)" OPT="$(OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   299
                CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   300
                CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   301
                SEPINITCODE=-sepInitCode ZFLAG=
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   302
        $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   303
                $(MESA_DIR)/lib/libMesaGL.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   304
                $(MESA_DIR)/lib/libMesaGLU.a \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   305
                $(MESA_DIR)/lib/libMesaaux.a
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   306
        mv ttt.$(O) OGLWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   307
        rm -f OGLWorkstation.st
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   308
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   309
#ogl:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   310
#       $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG=
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   311
#       mv OGLWorkstation.o ttt.o
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   312
#       $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   313
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a   \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   314
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   315
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a  \
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   316
#               /lib/libc.so.4
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   317
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   318
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   319
# on my 320H, do not compile DeviceWorkstation with -O2;
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   320
# compiler is running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   321
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   322
#AIX_BIGGIES:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   323
#       $(MAKE) GraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   324
#       $(MAKE) DeviceGraphicsContext.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   325
#       $(MAKE) OPT= DeviceWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   326
#       $(MAKE) OPT= XWorkstation.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   327
#       $(MAKE) OPT= Image.$(O)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   328
#       $(MAKE) OPT= SimpleView.$(O)
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   331
# prelink those - cannot mix non-shared with shared objects (sigh)
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   332
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   333
AIX_SHARED_XWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   334
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   335
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   336
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   337
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   338
        $(MAKE) XWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   339
                ENTRY_INIT=XWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   340
                AIX_LOCAL_LIBS="$(LIBX)"
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   341
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   342
AIX_SHARED_GLXWORKSTATION:
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   343
        $(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   344
        $(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   345
        @-echo "__XErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   346
        @-echo "__XIOErrorHandler__" >> XWorkstation.exp
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   347
        $(MAKE) GLXWorkstation$(O_EXT) \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   348
                ENTRY_INIT=GLXWorkstation \
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   349
                AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm"
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   350
        rm -f XWorkstation.exp
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   351
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   352
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   353
# in (my) aix system, those cannot be compiled with
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   354
# the optimizer - running out of space ...
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   355
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   356
AIX::   GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O)
5789
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   357
        $(MAKE) OPT="" SimpleView.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   358
        $(MAKE) OPT="" Image.$(O)
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   359
        $(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE)
4698
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
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   362
# 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
   363
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   364
#HP::
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   365
#
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   366
#HPbigFiles:
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   367
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)"
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   368
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)"
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
5796
3f4d36a25f79 fixes for Make.proto
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5795
diff changeset
   371
    "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
   372
!
7bfdf4e91c82 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5769
diff changeset
   373
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   374
localDefines_unix
6413
Claus Gittinger <cg@exept.de>
parents: 6178
diff changeset
   375
    ^ '$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)'
5492
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   376
!
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   377
6889
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   378
localIncludes
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   379
    ^ '$(OPTIONAL_SUPPORT_XLIB_INCLUDE)'
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   380
!
9411fa81fbc2 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6879
diff changeset
   381
5492
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   382
stcOptimizationOptions
d00bd4b677f3 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5435
diff changeset
   383
    ^ '+optinline +optinline2'
6600
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   384
!
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   385
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   386
stcWarningOptions
064c6984b004 class: SimpleView
Claus Gittinger <cg@exept.de>
parents: 6563
diff changeset
   387
    ^ '-warnNonStandard -warnUnused'
4698
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   388
! !
139537a14285 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 4687
diff changeset
   389
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
!stx_libview class methodsFor:'description - contents'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
classNamesAndAttributes
5501
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   393
    "lists the classes which are to be included in the project.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   394
     Each entry in the list may be: a single class-name (symbol),
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   395
     or an array-literal consisting of class name and attributes.
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   396
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
2989d14afbfb automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5492
diff changeset
   397
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
    ^ #(
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   399
        "<className> or (<className> attributes...) in load order"
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   400
        AbstractBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   401
        AbstractBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   402
        Color
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   403
        Colormap
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   404
        Controller
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   405
        Cursor
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   406
        DeviceHandle
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   407
        DisplayTransform
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   408
        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
   409
        (FcConstants unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   410
        FontDescription
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   411
        (GraphicsAttributes autoload)
6562
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
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   422
        #'stx_libview'
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   423
        BeveledBorder
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   424
        BitmapFont
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   425
        Border
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   426
        ColorPalette
5861
5f063b0ec912 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 5825
diff changeset
   427
        CompoundFont
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   428
        (ControllerWithMenu autoload)
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
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   440
        (FcPattern unix)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   441
        Font
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   442
        Form
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   443
        GradientBackground
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   444
        HostGraphicsDevice
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   445
        ImageBackground
7049
cfa0472d4660 some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents: 7042
diff changeset
   446
        MacButtonBorder
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   447
        NoBackground
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
        (RoundButtonBorder autoload)
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   449
        ScaleTransform
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   450
        SimpleBorder
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   451
        SolidBackground
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   452
        SynchronousWindowSensor
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   453
        (TranslucentColor autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   454
        ViewStyle
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   455
        WindowEvent
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   456
        (XftFontDescription unix)
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   457
        (AlphaMask autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   458
        DeviceWorkstation
6726
9f16fe1701f5 XGraphicsContext made public to allow subclassing and extending
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6616
diff changeset
   459
        DisplayRootView
7198
Claus Gittinger <cg@exept.de>
parents: 7136
diff changeset
   460
        FixedPalette
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   461
        ImageMask
7049
cfa0472d4660 some more support classes are compiled instead of autoloaded
Claus Gittinger <cg@exept.de>
parents: 7042
diff changeset
   462
        MacFlatButtonBorder
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   463
        MappedPalette
7010
b41e6805c468 initial checkin
Claus Gittinger <cg@exept.de>
parents: 6945
diff changeset
   464
        RoundedBorder
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   465
        SimpleView
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   466
        WidgetEvent
6706
33bbb2e9ddbc DisplayTransform moved from libview2
Claus Gittinger <cg@exept.de>
parents: 6682
diff changeset
   467
        WindowingTransformation
6726
9f16fe1701f5 XGraphicsContext made public to allow subclassing and extending
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6616
diff changeset
   468
        XGraphicsContext
7198
Claus Gittinger <cg@exept.de>
parents: 7136
diff changeset
   469
        FixedPaletteWithAlpha
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   470
        MonoMappedPalette
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   471
        (NeXTWorkstation autoload)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   472
        ShadowView
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   473
        View
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   474
        (XEmbedContainerView unix)
7136
2b0b61ff4df5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7049
diff changeset
   475
        (XWorkstation unix)
6563
01d79cf8f7a0 class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6562
diff changeset
   476
        (GLXWorkstation unix)
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   477
        TopView
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   478
        (MDIChildView autoload)
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   479
        PopUpView
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   480
        StandardSystemView
6562
96226f44ac7e class: stx_libview
Claus Gittinger <cg@exept.de>
parents: 6465
diff changeset
   481
        ModalBox
5305
8daa2b107e0c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5282
diff changeset
   482
        (WinWorkstation win32)
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   483
    )
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
extensionMethodNames
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   487
    "list class/selector pairs of extensions.
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   488
     A correponding method with real names must be present in my concrete subclasses"
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   489
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
    ^ #(
7154
f2d585b5f20e X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7150
diff changeset
   491
        'ConfigurableFeatures class' hasFontConfig
f2d585b5f20e X11/FontConfig: Conditionally compile FontConfig support
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7150
diff changeset
   492
        'ConfigurableFeatures class' hasXFT
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
    )
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
! !
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
!stx_libview class methodsFor:'description - project information'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
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
6879
ffb55919ed0c copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 6784
diff changeset
   515
    ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 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
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
!stx_libview class methodsFor:'documentation'!
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   528
version
6879
ffb55919ed0c copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 6784
diff changeset
   529
    ^ '$Header$'
5819
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   530
!
ab719232ef14 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5813
diff changeset
   531
5384
e9e6c9c8c93b automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 5347
diff changeset
   532
version_CVS
6879
ffb55919ed0c copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 6784
diff changeset
   533
    ^ '$Header$'
6883
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   534
    
7150
000f5ae96151 X11/FontConfig: FontConfig related code extracted from XftFontDescription to separate classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 7138
diff changeset
   535
!
6883
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   536
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   537
version_HG
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   538
    ^ '$Changeset: <not expanded> $'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6869 6879
diff changeset
   539
    
4582
b3b3644b1751 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   540
! !
6022
6d21e8a9929a Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 6017
diff changeset
   541