Cursor.st
author Claus Gittinger <cg@exept.de>
Fri, 28 Mar 1997 13:52:47 +0100
changeset 1494 4faf11deec70
parent 1414 492ba3d77d92
child 1495 d1934d676421
permissions -rw-r--r--
cursor #on: is obsoleted by #onDevice:.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     1
"
6
7ee0cfde237d *** empty log message ***
claus
parents: 3
diff changeset
     2
 COPYRIGHT (c) 1992 by Claus Gittinger
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
     3
	      All Rights Reserved
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     4
48194c26a46c Initial revision
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
48194c26a46c Initial revision
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
48194c26a46c Initial revision
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
48194c26a46c Initial revision
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
48194c26a46c Initial revision
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
48194c26a46c Initial revision
claus
parents:
diff changeset
    10
 hereby transferred.
48194c26a46c Initial revision
claus
parents:
diff changeset
    11
"
48194c26a46c Initial revision
claus
parents:
diff changeset
    12
48194c26a46c Initial revision
claus
parents:
diff changeset
    13
Object subclass:#Cursor
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    14
	instanceVariableNames:'shape sourceForm maskForm hotX hotY device cursorId'
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    15
	classVariableNames:'Lobby DefaultFgColor DefaultBgColor NormalCursor HandCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    16
		ArrowCursor WaitCursor CrossHairCursor OriginCursor CornerCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    17
		SquareCursor FourWayCursor UpDownArrowCursor LeftRightArrowCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    18
		ThumbsUpCursor ThumbsDownCursor ReadCursor WriteCursor XeqCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    19
		StopCursor EyeCursor BlankCursor MarkerCursor UpCursor DownCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    20
		LeftCursor RightCursor XMarkerCursor CaretCursor'
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    21
	poolDictionaries:''
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
    22
	category:'Graphics-Support'
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    23
!
48194c26a46c Initial revision
claus
parents:
diff changeset
    24
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
    25
!Cursor class methodsFor:'documentation'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    26
46
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    27
copyright
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    28
"
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    29
 COPYRIGHT (c) 1992 by Claus Gittinger
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
    30
	      All Rights Reserved
46
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    31
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    32
 This software is furnished under a license and may be used
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    33
 only in accordance with the terms of that license and with the
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    35
 be provided or otherwise made available to, or used by, any
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    36
 other person.  No title to or ownership of the software is
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    37
 hereby transferred.
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    38
"
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    39
!
7b331e9012fd *** empty log message ***
claus
parents: 38
diff changeset
    40
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    41
documentation
38
2652fc96e660 *** empty log message ***
claus
parents: 35
diff changeset
    42
"
2652fc96e660 *** empty log message ***
claus
parents: 35
diff changeset
    43
    I represents cursors in a device independent manner.
144
claus
parents: 133
diff changeset
    44
    Normally, cursors are defined at view creation time,
601
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    45
    via 
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    46
        'aView cursor:aCursor'.
601
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    47
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    48
    [Instance variables:]
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    49
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    50
        shape           <Symbol>        a shape (i.e. #arrow, #hand, ...) or nil
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    51
        sourceForm      <Form>          if shape is nil, the source bits
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    52
        maskForm        <Form>          if shape is nil, the mask bits
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    53
        hotX            <SmallInteger>  if shape is nil, the hotSpot x of the cursor
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    54
        hotY            <SmallInteger>  if shape is nil, the hotSpot y of the cursor
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    55
        device          <aDevice>       the device, if associated to one
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    56
        cursorId        <anObject>      the device-specific id if device is nonNil
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    57
601
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    58
    [class variables:]
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    59
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    60
        Lobby           <Registry>      keeps track of known device cursors
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    61
                                        (dont use it: this will be moved to the device)
601
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    62
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    63
        DefaultFgColor  <Color>         default foreground color for cursors (usually black)
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    64
        DefaultBgColor  <Color>         default background color for cursors (usually white)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    65
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    66
        NormalCursor    <Cursor>        cached instance of normal (arrow) cursor
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    67
         ...
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    68
601
2c4c1e797909 commentary
Claus Gittinger <cg@exept.de>
parents: 577
diff changeset
    69
    [see also:]
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    70
        DeviceWorkstation 
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    71
        DisplaySurface
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    72
        Font Cursor Color Form
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    73
        ( introduction to view programming :html: programming/viewintro.html#CURSOR )
611
e0442439a3c6 documentation
Claus Gittinger <cg@exept.de>
parents: 601
diff changeset
    74
e0442439a3c6 documentation
Claus Gittinger <cg@exept.de>
parents: 601
diff changeset
    75
    [author:]
1228
e57e34d677b9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1224
diff changeset
    76
        Claus Gittinger
38
2652fc96e660 *** empty log message ***
claus
parents: 35
diff changeset
    77
"
144
claus
parents: 133
diff changeset
    78
!
claus
parents: 133
diff changeset
    79
claus
parents: 133
diff changeset
    80
examples
claus
parents: 133
diff changeset
    81
"
claus
parents: 133
diff changeset
    82
    get a standard cursor:
claus
parents: 133
diff changeset
    83
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    84
	Cursor wait
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    85
	Cursor stop
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    86
	Cursor normal
144
claus
parents: 133
diff changeset
    87
claus
parents: 133
diff changeset
    88
    create a custom cursor:
claus
parents: 133
diff changeset
    89
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    90
	Cursor extent:16@16 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    91
	       fromArray:#[ 2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    92
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    93
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    94
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    95
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    96
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    97
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    98
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
    99
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   100
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   101
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   102
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   103
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   104
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   105
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   106
			    2r00000000 2r00000000]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   107
		offset:-8@ -8   
619
a46cb2ef56bf examples
Claus Gittinger <cg@exept.de>
parents: 611
diff changeset
   108
a46cb2ef56bf examples
Claus Gittinger <cg@exept.de>
parents: 611
diff changeset
   109
144
claus
parents: 133
diff changeset
   110
claus
parents: 133
diff changeset
   111
    define a cursor for a view:
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   112
									[exBegin]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   113
	|v|
144
claus
parents: 133
diff changeset
   114
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   115
	v := StandardSystemView extent:100@100.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   116
	v cursor:Cursor stop.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   117
	v open.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   118
									[exEnd]
619
a46cb2ef56bf examples
Claus Gittinger <cg@exept.de>
parents: 611
diff changeset
   119
144
claus
parents: 133
diff changeset
   120
claus
parents: 133
diff changeset
   121
      with above custom cursor:
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   122
									[exBegin]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   123
	|v|
144
claus
parents: 133
diff changeset
   124
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   125
	v := StandardSystemView extent:100@100.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   126
	v cursor:(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   127
	    Cursor extent:16@16 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   128
	       fromArray:#[ 2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   129
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   130
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   131
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   132
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   133
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   134
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   135
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   136
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   137
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   138
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   139
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   140
			    2r11111111 2r11111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   141
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   142
			    2r00000000 2r00000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   143
			    2r00000000 2r00000000]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   144
		offset:-8@ -8).   
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   145
	v open.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   146
									[exEnd]
619
a46cb2ef56bf examples
Claus Gittinger <cg@exept.de>
parents: 611
diff changeset
   147
144
claus
parents: 133
diff changeset
   148
claus
parents: 133
diff changeset
   149
      with multiple views:
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   150
									[exBegin]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   151
	|v1 v2 top|
144
claus
parents: 133
diff changeset
   152
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   153
	top := StandardSystemView new.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   154
	top extent:300@300.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   155
	v1 := View origin:0.0@0.0 corner:1.0@0.5 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   156
	v1 viewBackground:(Color grey:75).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   157
	v1 cursor:Cursor thumbsUp.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   158
	v2 := View origin:0.0@0.5 corner:1.0@1.0 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   159
	v2 viewBackground:(Color white).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   160
	v2 cursor:Cursor wait.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   161
	top open.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   162
									[exEnd]
144
claus
parents: 133
diff changeset
   163
claus
parents: 133
diff changeset
   164
702
Claus Gittinger <cg@exept.de>
parents: 627
diff changeset
   165
    show a cursor (in the active ST/X view) for a while:
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   166
									[exBegin]
619
a46cb2ef56bf examples
Claus Gittinger <cg@exept.de>
parents: 611
diff changeset
   167
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   168
	Cursor wait 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   169
	    showWhile:[
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   170
		Delay waitForSeconds:5
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   171
	    ]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   172
									[exEnd]
144
claus
parents: 133
diff changeset
   173
claus
parents: 133
diff changeset
   174
151
claus
parents: 145
diff changeset
   175
    show a cursor in all views belonging to a windowGroup:
claus
parents: 145
diff changeset
   176
    (have to wait until top is visible to access windowGroup)
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   177
									[exBegin]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   178
	|v1 v2 top|
151
claus
parents: 145
diff changeset
   179
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   180
	top := StandardSystemView new.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   181
	top extent:300@300.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   182
	v1 := View origin:0.0@0.0 corner:1.0@0.5 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   183
	v1 viewBackground:(Color grey:75).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   184
	v1 cursor:(Cursor normal).
702
Claus Gittinger <cg@exept.de>
parents: 627
diff changeset
   185
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   186
	v2 := View origin:0.0@0.5 corner:1.0@1.0 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   187
	v2 viewBackground:(Color white).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   188
	v2 cursor:(Cursor crossHair).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   189
	top openAndWait.
151
claus
parents: 145
diff changeset
   190
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   191
	Delay waitForSeconds:3.
151
claus
parents: 145
diff changeset
   192
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   193
	top windowGroup
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   194
	    withCursor:Cursor wait 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   195
	    do:[
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   196
		  Delay waitForSeconds:5
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   197
	       ]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   198
									[exEnd]
151
claus
parents: 145
diff changeset
   199
claus
parents: 145
diff changeset
   200
144
claus
parents: 133
diff changeset
   201
    show a cursor in a single view for a while:
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   202
									[exBegin]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   203
	|v1 v2 top|
144
claus
parents: 133
diff changeset
   204
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   205
	top := StandardSystemView new.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   206
	top extent:300@300.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   207
	v1 := View origin:0.0@0.0 corner:1.0@0.5 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   208
	v1 viewBackground:(Color grey:75).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   209
	v1 cursor:(Cursor normal).
702
Claus Gittinger <cg@exept.de>
parents: 627
diff changeset
   210
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   211
	v2 := View origin:0.0@0.5 corner:1.0@1.0 in:top.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   212
	v2 viewBackground:(Color white).
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   213
	v2 cursor:(Cursor crossHair).
702
Claus Gittinger <cg@exept.de>
parents: 627
diff changeset
   214
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   215
	top openAndWait.
702
Claus Gittinger <cg@exept.de>
parents: 627
diff changeset
   216
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   217
	Delay waitForSeconds:3.
144
claus
parents: 133
diff changeset
   218
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   219
	v1 withCursor:Cursor wait 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   220
	   do:[
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   221
		  Delay waitForSeconds:5
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   222
	      ]
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   223
									[exEnd]
144
claus
parents: 133
diff changeset
   224
"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   225
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
   226
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   227
!Cursor class methodsFor:'initialization'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   228
48194c26a46c Initial revision
claus
parents:
diff changeset
   229
flushDeviceCursors
48194c26a46c Initial revision
claus
parents:
diff changeset
   230
    "unassign all cursors from their device"
48194c26a46c Initial revision
claus
parents:
diff changeset
   231
223
fd68b1e7bde0 init Lobby
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   232
    Lobby notNil ifTrue:[
499
be87d609a62e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 363
diff changeset
   233
	Lobby do:[:aCursor |
223
fd68b1e7bde0 init Lobby
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   234
	    aCursor restored.
fd68b1e7bde0 init Lobby
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   235
	    Lobby registerChange:aCursor
499
be87d609a62e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 363
diff changeset
   236
	]
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   237
    ]
48194c26a46c Initial revision
claus
parents:
diff changeset
   238
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   239
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   240
initialize
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   241
    Lobby isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   242
	Lobby := Registry new.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   243
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   244
	"want to be informed when returning from snapshot"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   245
	ObjectMemory addDependent:self
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   246
    ]
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   247
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   248
864
dfd625885d59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 767
diff changeset
   249
update:something with:aParameter from:changedObject
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   250
    "sent when restarted after a snapIn"
48194c26a46c Initial revision
claus
parents:
diff changeset
   251
48194c26a46c Initial revision
claus
parents:
diff changeset
   252
    (something == #restarted) ifTrue:[
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   253
	self flushDeviceCursors
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   254
    ]
864
dfd625885d59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 767
diff changeset
   255
dfd625885d59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 767
diff changeset
   256
    "Created: 15.6.1996 / 15:18:47 / cg"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   257
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
   258
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   259
!Cursor class methodsFor:'instance creation'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   260
48194c26a46c Initial revision
claus
parents:
diff changeset
   261
extent:extent fromArray:array offset:offset
48194c26a46c Initial revision
claus
parents:
diff changeset
   262
    "create a new bitmap cursor from bits in the array argument
48194c26a46c Initial revision
claus
parents:
diff changeset
   263
     - ST-80 compatibility"
48194c26a46c Initial revision
claus
parents:
diff changeset
   264
48194c26a46c Initial revision
claus
parents:
diff changeset
   265
    |sourceForm|
48194c26a46c Initial revision
claus
parents:
diff changeset
   266
48194c26a46c Initial revision
claus
parents:
diff changeset
   267
    sourceForm := Form extent:extent fromArray:array offset:offset.
48194c26a46c Initial revision
claus
parents:
diff changeset
   268
    ^ self sourceForm:sourceForm maskForm:sourceForm hotSpot:(offset negated)
48194c26a46c Initial revision
claus
parents:
diff changeset
   269
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   270
48194c26a46c Initial revision
claus
parents:
diff changeset
   271
extent:extent sourceArray:sourceArray maskArray:maskArray offset:offset
48194c26a46c Initial revision
claus
parents:
diff changeset
   272
    "create a new bitmap cursor with mask from bits in sourceArray and
48194c26a46c Initial revision
claus
parents:
diff changeset
   273
     maskArray"
48194c26a46c Initial revision
claus
parents:
diff changeset
   274
48194c26a46c Initial revision
claus
parents:
diff changeset
   275
    |sourceForm maskForm|
48194c26a46c Initial revision
claus
parents:
diff changeset
   276
48194c26a46c Initial revision
claus
parents:
diff changeset
   277
    sourceForm := Form extent:extent fromArray:sourceArray offset:offset.
48194c26a46c Initial revision
claus
parents:
diff changeset
   278
    maskForm := Form extent:extent fromArray:maskArray offset:offset.
48194c26a46c Initial revision
claus
parents:
diff changeset
   279
    ^ self sourceForm:sourceForm maskForm:maskForm hotSpot:(offset negated)
48194c26a46c Initial revision
claus
parents:
diff changeset
   280
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   281
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   282
fileCursorNamed:cursorName
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   283
    "return a cursor read from the files 'cursorName_bits.bit' and
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   284
     'cursorName_mask.bit' - return nil if file does not exist"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   285
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   286
    |cursorBits maskBits|
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   287
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   288
    cursorBits := Image fromFile:('bitmaps/' , cursorName , '_bits.bit').
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   289
    cursorBits notNil ifTrue:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   290
        maskBits := Image fromFile:('bitmaps/' , cursorName , '_mask.bit').
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   291
        maskBits notNil ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   292
            ^ self sourceForm:cursorBits maskForm:maskBits
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   293
        ]
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   294
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   295
    ^ nil
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   296
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   297
    "Modified: 1.1.1970 / 13:57:27 / cg"
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   298
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   299
1414
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   300
fromImage:anImage
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   301
    "return a new cursor.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   302
     Source- and (optional) mask-Bits are taken from anImage;
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   303
     hotSpot is center"
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   304
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   305
    |mask sourceForm maskForm|
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   306
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   307
    anImage depth ~~ 1 ifTrue:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   308
        sourceForm := anImage asMonochromeFormOn:Screen current.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   309
    ] ifFalse:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   310
        sourceForm := anImage asFormOn:Screen current.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   311
    ].
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   312
    mask := anImage mask.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   313
    mask isNil ifTrue:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   314
        maskForm := sourceForm 
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   315
    ] ifFalse:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   316
        mask depth ~~ 1 ifTrue:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   317
            maskForm := mask asMonochromeFormOn:Screen current.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   318
        ] ifFalse:[
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   319
            maskForm := mask asFormOn:Screen current
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   320
        ]
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   321
    ].
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   322
    ^ self sourceForm:sourceForm
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   323
             maskForm:maskForm
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   324
                 hotX:(anImage width // 2)
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   325
                 hotY:(anImage height // 2)
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   326
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   327
    "
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   328
     |i c|
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   329
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   330
     i := Image fromFile:'bitmaps/xpmBitmaps/cursors/ul_br_arrow.xpm'.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   331
     c := Cursor fromImage:i.
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   332
     WindowGroup activeGroup 
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   333
         withCursor:c 
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   334
         do:[(Delay forSeconds:5)wait]
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   335
    "
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   336
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   337
    "Modified: 4.3.1997 / 14:23:43 / cg"
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   338
!
492ba3d77d92 added cursor #fromImage:
Claus Gittinger <cg@exept.de>
parents: 1228
diff changeset
   339
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   340
imageArray:imageBits maskArray:maskBits
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   341
    "ST-80 compatible cursor creation - the extent is fixed to 16@16"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   342
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   343
    "name is ignored ..."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   344
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   345
    ^ self imageArray:imageBits maskArray:maskBits hotSpot:8@8 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   346
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   347
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   348
imageArray:imageBits maskArray:maskBits hotSpot:hot
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   349
    "ST-80 compatible cursor creation - the extent is fixed to 16@16"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   350
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   351
    ^ self 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   352
	extent:16@16 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   353
	sourceArray:imageBits
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   354
	maskArray:maskBits
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   355
	offset:hot negated
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   356
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   357
    "
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   358
     |cursor|
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   359
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   360
     cursor := Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   361
	imageArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   362
		2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   363
		2r0000000100001110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   364
		2r0000000100001110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   365
		2r0000000100001110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   366
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   367
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   368
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   369
		2r0111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   370
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   371
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   372
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   373
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   374
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   375
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   376
		2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   377
		2r0000000000000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   378
	maskArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   379
		2r0000001110011111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   380
		2r0000001110011111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   381
		2r0000001110011111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   382
		2r0000001110011111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   383
		2r0000001110011111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   384
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   385
		2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   386
		2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   387
		2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   388
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   389
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   390
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   391
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   392
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   393
		2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   394
		2r0000001110000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   395
	hotSpot: 8@8.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   396
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   397
    WindowGroup activeGroup 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   398
	withCursor:cursor 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   399
	do:[(Delay forSeconds:10)wait]
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   400
    "
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   401
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   402
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   403
imageArray:imageBits maskArray:maskBits hotSpot:hot name:aString
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   404
    "ST-80 compatible cursor creation - the extent is fixed to 16@16"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   405
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   406
    "name is ignored ..."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   407
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   408
    ^ self imageArray:imageBits maskArray:maskBits hotSpot:hot
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   409
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   410
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   411
shape:aShape 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   412
    "return one of the standard cursors.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   413
     Each display may offer different shapes - see for example XWorkstation
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   414
     for details (however a basic minimum set should be supported by all)"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   415
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   416
    |newCursor|
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   417
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   418
    "first look if not already known"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   419
    Lobby isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   420
	self initialize
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   421
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   422
    Lobby do:[:aCursor |
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   423
	(aCursor shape == aShape) ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   424
	    ^ aCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   425
	]
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   426
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   427
    newCursor := self basicNew setShape:aShape.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   428
    Lobby register:newCursor.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   429
    ^ newCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   430
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   431
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   432
shape:aShape on:aDevice
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   433
    "return one of the standard cursors already associated to aDevice.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   434
     This is the same as '(Cursor shape:aShape) on:aDevice' but somwehat faster."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   435
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   436
    |newCursor oldCursor|
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   437
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   438
    "first look if not already known"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   439
    Lobby isNil ifTrue:[
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   440
	self initialize
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   441
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   442
    Lobby do:[:aCursor |
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   443
	(aCursor shape == aShape) ifTrue:[
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   444
	    (aCursor graphicsDevice == aDevice) ifTrue:[^ aCursor].
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   445
	    oldCursor := aCursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   446
	].
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   447
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   448
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   449
    "found one with same shape, but different device"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   450
    oldCursor notNil ifTrue:[
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   451
	^ oldCursor newOn:aDevice
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   452
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   453
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   454
    newCursor := self basicNew setShape:aShape.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   455
    Lobby register:newCursor.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   456
    ^ newCursor
927
c4bc2a7ff733 use #graphicsDevice instead of #device.
Claus Gittinger <cg@exept.de>
parents: 864
diff changeset
   457
c4bc2a7ff733 use #graphicsDevice instead of #device.
Claus Gittinger <cg@exept.de>
parents: 864
diff changeset
   458
    "Modified: 5.7.1996 / 17:58:06 / cg"
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   459
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   460
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   461
sourceForm:aForm
48194c26a46c Initial revision
claus
parents:
diff changeset
   462
    "return a new cursor.
48194c26a46c Initial revision
claus
parents:
diff changeset
   463
     Source- and mask-Bits are taken from aForm; hotSpot is center"
48194c26a46c Initial revision
claus
parents:
diff changeset
   464
48194c26a46c Initial revision
claus
parents:
diff changeset
   465
    ^ self sourceForm:aForm
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   466
	     maskForm:aForm
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   467
		 hotX:(aForm width // 2)
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   468
		 hotY:(aForm height // 2)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   469
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   470
48194c26a46c Initial revision
claus
parents:
diff changeset
   471
sourceForm:sourceForm maskForm:maskForm
48194c26a46c Initial revision
claus
parents:
diff changeset
   472
    "return a new cursor. hotSpot is center"
48194c26a46c Initial revision
claus
parents:
diff changeset
   473
48194c26a46c Initial revision
claus
parents:
diff changeset
   474
    ^ self sourceForm:sourceForm
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   475
	     maskForm:maskForm
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   476
		 hotX:(sourceForm width // 2)
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   477
		 hotY:(sourceForm height // 2)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   478
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   479
48194c26a46c Initial revision
claus
parents:
diff changeset
   480
sourceForm:sourceForm maskForm:maskForm hotSpot:aPoint
48194c26a46c Initial revision
claus
parents:
diff changeset
   481
    "return a new cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
   482
48194c26a46c Initial revision
claus
parents:
diff changeset
   483
    ^ self sourceForm:sourceForm
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   484
	     maskForm:maskForm
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   485
		 hotX:(aPoint x)
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   486
		 hotY:(aPoint y)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   487
!
48194c26a46c Initial revision
claus
parents:
diff changeset
   488
48194c26a46c Initial revision
claus
parents:
diff changeset
   489
sourceForm:sourceForm maskForm:maskForm hotX:hotX hotY:hotY
48194c26a46c Initial revision
claus
parents:
diff changeset
   490
    "return a new cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
   491
48194c26a46c Initial revision
claus
parents:
diff changeset
   492
    |newCursor|
48194c26a46c Initial revision
claus
parents:
diff changeset
   493
48194c26a46c Initial revision
claus
parents:
diff changeset
   494
    "first look if not already known"
223
fd68b1e7bde0 init Lobby
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   495
    Lobby isNil ifTrue:[
499
be87d609a62e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 363
diff changeset
   496
	self initialize
223
fd68b1e7bde0 init Lobby
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   497
    ].
115
1d93fd8c5371 *** empty log message ***
claus
parents: 89
diff changeset
   498
    Lobby do:[:aCursor |
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   499
	(aCursor sourceForm == sourceForm) ifTrue:[
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   500
	    (aCursor maskForm == maskForm) ifTrue:[
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   501
		(aCursor hotX == hotX) ifTrue:[
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   502
		    (aCursor hotY == hotY) ifTrue:[
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   503
			^ aCursor
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   504
		    ]
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   505
		]
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   506
	    ]
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   507
	]
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   508
    ].
35
f1a194c18429 *** empty log message ***
claus
parents: 23
diff changeset
   509
    (sourceForm isNil or:[maskForm isNil]) ifTrue:[^ nil].
f1a194c18429 *** empty log message ***
claus
parents: 23
diff changeset
   510
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   511
    newCursor := self basicNew setSourceForm:sourceForm 
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   512
				    maskForm:maskForm
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   513
					hotX:hotX
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
   514
					hotY:hotY.
23
4a7e02de7b72 *** empty log message ***
claus
parents: 12
diff changeset
   515
    Lobby register:newCursor.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   516
    ^ newCursor
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   517
! !
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   518
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   519
!Cursor class methodsFor:'class initialization'!
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   520
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   521
initializeNewCursors
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   522
	"Create the new cursors
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   523
		Cursor blank
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   524
		Cursor down
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   525
		Cursor execute
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   526
		Cursor left
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   527
		Cursor marker
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   528
		Cursor normal
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   529
		Cursor read
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   530
		Cursor right
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   531
		Cursor square
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   532
		Cursor up
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   533
		Cursor wait
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   534
		Cursor write
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   535
		Cursor thumbsUp
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   536
		Cursor thumbsDown
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   537
		Cursor xMarker
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   538
		Cursor caret
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   539
		Cursor stop
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   540
		Cursor eye"
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   541
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   542
	|device|
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   543
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   544
" claus: already there in ST/X"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   545
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   546
"/        OriginCursor :=   
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   547
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   548
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   549
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   550
"/                2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   551
"/                2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   552
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   553
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   554
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   555
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   556
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   557
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   558
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   559
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   560
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   561
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   562
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   563
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   564
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   565
"/                2r1100000000000000)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
   566
"/                        offset: -2@ -2).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   567
"/
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   568
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   569
" claus: already there in ST/X"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   570
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   571
"/        CornerCursor := 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   572
"/                (Cursor 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   573
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   574
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   575
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   576
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   577
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   578
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   579
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   580
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   581
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   582
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   583
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   584
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   585
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   586
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   587
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   588
"/                2r0000000000000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   589
"/                2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   590
"/                2r1111111111111111)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
   591
"/                        offset: -14@ -14).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   592
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   593
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   594
"original from SMACK:"
151
claus
parents: 145
diff changeset
   595
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   596
"/        ReadCursor :=  
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   597
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   598
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   599
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   600
"/                2r0000110000000110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   601
"/                2r0001001000001001
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   602
"/                2r0001001000001001
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   603
"/                2r0010000000010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   604
"/                2r0100000000100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   605
"/                2r1111101111100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   606
"/                2r1000010000100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   607
"/                2r1000010000100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   608
"/                2r1011010110100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   609
"/                2r0111101111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   610
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   611
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   612
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   613
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   614
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   615
"/                2r0000000000000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   616
"/        offset: 0@0).
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   617
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   618
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   619
"claus: added mask"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   620
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   621
	ReadCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   622
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   623
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   624
			    2r0
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   625
			    2r0000110000000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   626
			    2r0001001000001001
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   627
			    2r0001001000001001
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   628
			    2r0010000000010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   629
			    2r0100000000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   630
			    2r1111101111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   631
			    2r1000010000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   632
			    2r1000010000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   633
			    2r1011010110100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   634
			    2r0111101111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   635
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   636
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   637
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   638
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   639
			    2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   640
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   641
			    2r0001111000001111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   642
			    2r0001111000011111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   643
			    2r0011111000011111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   644
			    2r0011100000111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   645
			    2r0111000000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   646
			    2r1111111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   647
			    2r1111111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   648
			    2r1111111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   649
			    2r1111111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   650
			    2r1111111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   651
			    2r1111111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   652
			    2r0111111111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   653
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   654
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   655
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   656
			    2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   657
			offset: -5 @ -7).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   658
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   659
"original from SMACK:"
151
claus
parents: 145
diff changeset
   660
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   661
"/        WriteCursor := (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   662
"/        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   663
"/        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   664
"/                2r0000000000000110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   665
"/                2r0000000000001111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   666
"/                2r0000000000010110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   667
"/                2r0000000000100100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   668
"/                2r0000000001001000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   669
"/                2r0000000010010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   670
"/                2r0000000100100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   671
"/                2r0000001001000011
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   672
"/                2r0000010010000010
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   673
"/                2r0000100100000110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   674
"/                2r0001001000001000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   675
"/                2r0010010000001000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   676
"/                2r0111100001001000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   677
"/                2r0101000010111000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   678
"/                2r0110000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   679
"/                2r1111111100000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   680
"/        offset: 0@0).
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   681
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   682
"claus: added mask"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   683
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   684
	WriteCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   685
			  extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   686
			  sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   687
			      2r0000000000000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   688
			      2r0000000000001111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   689
			      2r0000000000010110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   690
			      2r0000000000100100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   691
			      2r0000000001001000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   692
			      2r0000000010010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   693
			      2r0000000100100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   694
			      2r0000001001000011
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   695
			      2r0000010010000010
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   696
			      2r0000100100000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   697
			      2r0001001000001000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   698
			      2r0010010000001000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   699
			      2r0111100001001000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   700
			      2r0101000010111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   701
			      2r0110000110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   702
			      2r1111111100000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   703
			  maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   704
			      2r0000000000000111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   705
			      2r0000000000001111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   706
			      2r0000000000011110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   707
			      2r0000000000111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   708
			      2r0000000001111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   709
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   710
			      2r0000000111100001
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   711
			      2r0000001111000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   712
			      2r0000011110000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   713
			      2r0000111100001110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   714
			      2r0001111000001100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   715
			      2r0011110001001100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   716
			      2r0111100011111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   717
			      2r0111000110111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   718
			      2r0111111110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   719
			      2r1111111100000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   720
			  offset: 0@ -15).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   721
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   722
"original from SMACK:"
151
claus
parents: 145
diff changeset
   723
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   724
"/        WaitCursor := 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   725
"/                  (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   726
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   727
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   728
"/                2r1111111111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   729
"/                2r1000000000000001
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   730
"/                2r0100000000000010
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   731
"/                2r0010000000000100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   732
"/                2r0001110000111000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   733
"/                2r0000111101110000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   734
"/                2r0000011011100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   735
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   736
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   737
"/                2r0000010110100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   738
"/                2r0000100010010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   739
"/                2r0001000110001000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   740
"/                2r0010001101000100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   741
"/                2r0100111111110010
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   742
"/                2r1011111111111101
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   743
"/                2r1111111111111111)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
   744
"/                        offset: -8@ -8).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   745
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   746
"claus: added mask"
151
claus
parents: 145
diff changeset
   747
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   748
	WaitCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   749
		  (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   750
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   751
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   752
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   753
			    2r1000000000000001
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   754
			    2r0100000000000010
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   755
			    2r0010000000000100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   756
			    2r0001110000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   757
			    2r0000111101110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   758
			    2r0000011011100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   759
			    2r0000001111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   760
			    2r0000001111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   761
			    2r0000010110100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   762
			    2r0000100010010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   763
			    2r0001000110001000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   764
			    2r0010001101000100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   765
			    2r0100111111110010
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   766
			    2r1011111111111101
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   767
			    2r1111111111111111)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   768
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   769
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   770
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   771
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   772
			    2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   773
			    2r0011111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   774
			    2r0001111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   775
			    2r0000111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   776
			    2r0000011111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   777
			    2r0000011111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   778
			    2r0000111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   779
			    2r0001111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   780
			    2r0011111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   781
			    2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   782
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   783
			    2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   784
			    2r1111111111111111)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   785
			offset: -8@ -8).
151
claus
parents: 145
diff changeset
   786
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   787
	BlankCursor := Cursor new.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   788
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   789
"original from SMACK:"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   790
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   791
"/        XeqCursor := 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   792
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   793
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   794
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   795
"/                2r1000000000010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   796
"/                2r1100000000010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   797
"/                2r1110000000111000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   798
"/                2r1111000111111111
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   799
"/                2r1111100011000110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   800
"/                2r1111110001000100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   801
"/                2r1111111001111100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   802
"/                2r1111000001101100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   803
"/                2r1101100011000110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   804
"/                2r1001100010000010
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   805
"/                2r0000110000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   806
"/                2r0000110000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   807
"/                2r0000011000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   808
"/                2r0000011000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   809
"/                2r0000001100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   810
"/                2r0000001100000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   811
"/        offset: 0@0).
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   812
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   813
"claus: added mask"
151
claus
parents: 145
diff changeset
   814
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   815
	XeqCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   816
		(Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   817
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   818
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   819
		2r1000000000010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   820
		2r1100000000010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   821
		2r1110000000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   822
		2r1111000111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   823
		2r1111100011000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   824
		2r1111110001000100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   825
		2r1111111001111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   826
		2r1111000001101100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   827
		2r1101100011000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   828
		2r1001100010000010
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   829
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   830
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   831
		2r0000011000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   832
		2r0000011000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   833
		2r0000001100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   834
		2r0000001100000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   835
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   836
		2r1100000000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   837
		2r1110000000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   838
		2r1111000111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   839
		2r1111100111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   840
		2r1111110011111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   841
		2r1111111001111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   842
		2r1111111101111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   843
		2r1111100001111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   844
		2r1101110011100111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   845
		2r1001110011000010
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   846
		2r0000111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   847
		2r0000111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   848
		2r0000011100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   849
		2r0000011100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   850
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   851
		2r0000001110000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   852
	offset: 0@0).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   853
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   854
"claus: already there in ST/X"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   855
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   856
"/        SquareCursor := 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   857
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   858
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   859
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   860
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   861
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   862
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   863
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   864
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   865
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   866
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   867
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   868
"/                2r0000001111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   869
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   870
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   871
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   872
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   873
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   874
"/                2r0000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   875
"/                2r0000000000000000)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
   876
"/        offset: -8@ -8).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   877
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   878
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   879
"original from SMACK:"
151
claus
parents: 145
diff changeset
   880
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   881
"/        NormalCursor :=   
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   882
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   883
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   884
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   885
"/                2r1000000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   886
"/                2r1100000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   887
"/                2r1110000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   888
"/                2r1111000000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   889
"/                2r1111100000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   890
"/                2r1111110000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   891
"/                2r1111111000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   892
"/                2r1111100000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   893
"/                2r1111100000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   894
"/                2r1001100000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   895
"/                2r0000110000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   896
"/                2r0000110000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   897
"/                2r0000011000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   898
"/                2r0000011000000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   899
"/                2r0000001100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   900
"/                2r0000001100000000)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   901
"/        offset: 0@0).
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   902
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   903
"claus: added mask"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   904
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   905
	NormalCursor :=   
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   906
		(Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   907
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   908
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   909
		2r1000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   910
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   911
		2r1110000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   912
		2r1111000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   913
		2r1111100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   914
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   915
		2r1111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   916
		2r1111100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   917
		2r1111100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   918
		2r1001100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   919
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   920
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   921
		2r0000011000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   922
		2r0000011000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   923
		2r0000001100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   924
		2r0000001100000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   925
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   926
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   927
		2r1110000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   928
		2r1111000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   929
		2r1111100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   930
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   931
		2r1111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   932
		2r1111111100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   933
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   934
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   935
		2r1001110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   936
		2r0000111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   937
		2r0000111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   938
		2r0000011100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   939
		2r0000011100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   940
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   941
		2r0000001110000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   942
	offset: 0@0).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   943
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   944
"original from SMACK:"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   945
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   946
"/        CrossHairCursor :=   
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   947
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   948
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   949
"/                            fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   950
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   951
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   952
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   953
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   954
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   955
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   956
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   957
"/                2r1111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   958
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   959
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   960
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   961
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   962
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   963
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   964
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   965
"/                2r0)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
   966
"/                        offset: -7@ -7).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   967
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   968
"claus: added mask"
151
claus
parents: 145
diff changeset
   969
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   970
"no: already there in ST/X"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   971
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   972
"/        CrossHairCursor :=   
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   973
"/                (Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   974
"/                     extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   975
"/                     sourceArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   976
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   977
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   978
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   979
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   980
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   981
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   982
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   983
"/                2r1111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   984
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   985
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   986
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   987
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   988
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   989
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   990
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   991
"/                2r0)
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   992
"/                     maskArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   993
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   994
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   995
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   996
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   997
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   998
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
   999
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1000
"/                2r1111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1001
"/                2r1111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1002
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1003
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1004
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1005
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1006
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1007
"/                2r0000000110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1008
"/                2r0)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
  1009
"/                        offset: -7@ -7).
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1010
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1011
	MarkerCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1012
		Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1013
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1014
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1015
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1016
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1017
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1018
		2r0000001000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1019
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1020
		2r0000001111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1021
		2r1111111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1022
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1023
		2r1111111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1024
		2r0000001111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1025
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1026
		2r0000001000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1027
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1028
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1029
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1030
		2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1031
			offset: -7@ -7.
151
claus
parents: 145
diff changeset
  1032
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1033
	UpCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1034
		Cursor 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1035
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1036
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1037
		2r1000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1038
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1039
		2r1110000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1040
		2r1111000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1041
		2r1111100000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1042
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1043
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1044
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1045
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1046
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1047
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1048
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1049
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1050
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1051
		2r1100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1052
		2r1100000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1053
			offset: 0@ -7.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1054
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1055
	DownCursor :=
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1056
		 Cursor 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1057
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1058
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1059
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1060
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1061
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1062
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1063
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1064
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1065
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1066
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1067
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1068
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1069
		2r1111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1070
		2r0111110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1071
		2r0011110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1072
		2r0001110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1073
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1074
		2r0000010000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1075
			offset: -5@ -7.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1076
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1077
	LeftCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1078
		Cursor 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1079
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1080
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1081
		2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1082
		2r0111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1083
		2r0011110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1084
		2r0001110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1085
		2r0000110000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1086
		2r0000010000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1087
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1088
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1089
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1090
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1091
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1092
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1093
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1094
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1095
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1096
		2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1097
			offset: -7@0.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1098
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1099
	RightCursor :=
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1100
		 Cursor 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1101
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1102
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1103
		2r0000000000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1104
		2r0000000000110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1105
		2r0000000000111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1106
		2r0000000000111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1107
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1108
		2r1111111111111111
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1109
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1110
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1111
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1112
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1113
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1114
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1115
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1116
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1117
		2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1118
		2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1119
			offset: -7@ -5.
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1120
	XMarkerCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1121
		Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1122
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1123
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1124
		2r0
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1125
		2r0000000100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1126
		2r0000000100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1127
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1128
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1129
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1130
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1131
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1132
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1133
		2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1134
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1135
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1136
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1137
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1138
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1139
		2r0000001110000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1140
			offset: -7@ -7.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1141
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1142
"original from SMACK:"
151
claus
parents: 145
diff changeset
  1143
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1144
"/        FourWayCursor := 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1145
"/                Cursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1146
"/                        extent: 16@16
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1147
"/                        fromArray: #(
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1148
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1149
"/                2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1150
"/                2r0000011111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1151
"/                2r0000111111100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1152
"/                2r0001001110010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1153
"/                2r0011001110011000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1154
"/                2r0111111111111100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1155
"/                2r1111111111111110
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1156
"/                2r0111111111111100
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1157
"/                2r0011001110011000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1158
"/                2r0001001110010000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1159
"/                2r0000111111100000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1160
"/                2r0000011111000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1161
"/                2r0000001110000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1162
"/                2r0000000100000000
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1163
"/                2r0000000000000000)
767
4f8cc0ee0e0b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 764
diff changeset
  1164
"/                        offset: -7@ -7.
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1165
"/
151
claus
parents: 145
diff changeset
  1166
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1167
"claus: added mask"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1168
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1169
	FourWayCursor := 
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1170
		Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1171
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1172
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1173
		2r0000000100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1174
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1175
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1176
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1177
		2r0001001110010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1178
		2r0011001110011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1179
		2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1180
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1181
		2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1182
		2r0011001110011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1183
		2r0001001110010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1184
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1185
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1186
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1187
		2r0000000100000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1188
		2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1189
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1190
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1191
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1192
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1193
		2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1194
		2r0010111111101000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1195
		2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1196
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1197
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1198
		2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1199
		2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1200
		2r0010111111101000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1201
		2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1202
		2r0000111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1203
		2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1204
		2r0000001110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1205
		2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1206
			offset: -7@ -7.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1207
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1208
	ThumbsUpCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1209
			  extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1210
			  sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1211
			      2r0000000000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1212
			      2r0000000001010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1213
			      2r0000000010010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1214
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1215
			      2r0000000100010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1216
			      2r0000000100010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1217
			      2r0001111100011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1218
			      2r0010000100000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1219
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1220
			      2r0111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1221
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1222
			      2r0111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1223
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1224
			      2r0011111000001110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1225
			      2r0001000000010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1226
			      2r0001111111100000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1227
			  maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1228
			      2r0000000000100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1229
			      2r0000000001110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1230
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1231
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1232
			      2r0000000111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1233
			      2r0000000111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1234
			      2r0001111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1235
			      2r0011111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1236
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1237
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1238
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1239
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1240
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1241
			      2r0011111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1242
			      2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1243
			      2r0001111111100000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1244
			  offset: -8@ -8).
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1245
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1246
	CaretCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1247
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1248
			fromArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1249
			    2r0000000110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1250
			    2r0000000110000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1251
			    2r0000001111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1252
			    2r0000011111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1253
			    2r0000011001100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1254
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1255
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1256
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1257
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1258
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1259
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1260
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1261
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1262
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1263
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1264
			    2r0000000000000000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1265
			offset: -8@0).
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1266
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1267
	ThumbsDownCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1268
			  extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1269
			  sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1270
			      2r0001111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1271
			      2r0001000000010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1272
			      2r0011111000001110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1273
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1274
			      2r0111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1275
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1276
			      2r0111111000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1277
			      2r0100000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1278
			      2r0010000100000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1279
			      2r0001111100011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1280
			      2r0000000100010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1281
			      2r0000000100010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1282
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1283
			      2r0000000010010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1284
			      2r0000000001010000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1285
			      2r0000000000100000)
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1286
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1287
			  maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1288
			      2r0001111111100000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1289
			      2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1290
			      2r0011111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1291
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1292
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1293
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1294
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1295
			      2r0111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1296
			      2r0011111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1297
			      2r0001111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1298
			      2r0000000111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1299
			      2r0000000111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1300
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1301
			      2r0000000011110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1302
			      2r0000000001110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1303
			      2r0000000000100000)
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1304
			  offset: -8@ -8).
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1305
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1306
	StopCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1307
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1308
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1309
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1310
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1311
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1312
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1313
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1314
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1315
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1316
			    2r0100000000000100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1317
			    2r0100000000000100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1318
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1319
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1320
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1321
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1322
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1323
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1324
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1325
			    )
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1326
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1327
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1328
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1329
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1330
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1331
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1332
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1333
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1334
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1335
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1336
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1337
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1338
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1339
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1340
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1341
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1342
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1343
			   )
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1344
			offset: -8 @ -8).
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1345
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1346
	EyeCursor := (Cursor
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1347
			extent: 16@16
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1348
			sourceArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1349
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1350
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1351
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1352
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1353
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1354
			    2r0011000000011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1355
			    2r0110001110001100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1356
			    2r1100011111000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1357
			    2r1100011111000110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1358
			    2r0110001110001100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1359
			    2r0011000000011000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1360
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1361
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1362
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1363
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1364
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1365
			    )
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1366
			maskArray: #(
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1367
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1368
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1369
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1370
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1371
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1372
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1373
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1374
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1375
			    2r1111111111111110
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1376
			    2r0111111111111100
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1377
			    2r0011111111111000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1378
			    2r0001111111110000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1379
			    2r0000011111000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1380
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1381
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1382
			    2r0000000000000000
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1383
			   )
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1384
			offset: -8 @ -8).
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1385
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1386
      device := Display.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1387
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1388
      FourWayCursor := FourWayCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1389
      LeftCursor := LeftCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1390
      RightCursor := RightCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1391
      XMarkerCursor := XMarkerCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1392
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1393
"/      OriginCursor := OriginCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1394
"/      CornerCursor := CornerCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1395
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1396
      ReadCursor := ReadCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1397
      WriteCursor := WriteCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1398
      WaitCursor := WaitCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1399
      XeqCursor := XeqCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1400
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1401
"/      SquareCursor := SquareCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1402
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1403
      NormalCursor := NormalCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1404
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1405
"/      CrossHairCursor := CrossHairCursor on:device.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1406
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1407
      MarkerCursor := MarkerCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1408
      UpCursor := UpCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1409
      DownCursor := DownCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1410
      LeftCursor := LeftCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1411
      RightCursor := RightCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1412
      XMarkerCursor := XMarkerCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1413
      CaretCursor := CaretCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1414
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1415
      ThumbsUpCursor := ThumbsUpCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1416
      ThumbsDownCursor := ThumbsDownCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1417
      StopCursor := StopCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1418
      EyeCursor := EyeCursor on:device.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1419
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1420
      "Cursor initializeNewCursors"
764
1555bff9cb86 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 733
diff changeset
  1421
1555bff9cb86 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 733
diff changeset
  1422
    "Modified: 29.5.1996 / 15:03:44 / cg"
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1423
! !
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1424
1224
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1425
!Cursor class methodsFor:'cleanup'!
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1426
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1427
releaseResourcesOnDevice:aDevice
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1428
    "this is sent when a display connection is closed,
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1429
     to release all cached Cursors from that device"
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1430
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1431
    Lobby unregisterAllForWhich:[:aCursor | aCursor graphicsDevice == aDevice]
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1432
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1433
    "Created: 16.1.1997 / 16:43:59 / cg"
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1434
! !
2a2270ec4236 added #releaseResourcesOnDevice:, to allow cleanup when
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
  1435
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1436
!Cursor class methodsFor:'default access'!
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1437
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1438
defaultFgColor:fgColor defaultBgColor:bgColor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1439
    "set the default colors used for cursors"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1440
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1441
    DefaultFgColor := fgColor.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1442
    DefaultBgColor := bgColor
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1443
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
  1444
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1445
!Cursor class methodsFor:'standard cursors'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1446
48194c26a46c Initial revision
claus
parents:
diff changeset
  1447
arrow
48194c26a46c Initial revision
claus
parents:
diff changeset
  1448
    "return an arrow (up-left-arrow) cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1449
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1450
    ^ self shape:#upLeftArrow on:Display
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1451
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1452
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1453
blank 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1454
	"Answer the instance of me that is an invisible cursor."
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1455
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1456
	^BlankCursor!
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1457
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1458
bottomLeft
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1459
    "return a bottom-left corner cursor"
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1460
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1461
    ^ self shape:#bottomLeft on:Display
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1462
!
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1463
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1464
bottomRight
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1465
    "return a bottom-right corner cursor"
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1466
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1467
    ^ self corner
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1468
!
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1469
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1470
caret 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1471
	"return a caret cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1472
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1473
	^ CaretCursor!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1474
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1475
corner 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1476
    "return a corner cursor"
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1477
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1478
    CornerCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1479
	CornerCursor := self shape:#corner on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1480
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1481
    ^ CornerCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1482
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1483
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1484
cross
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1485
    "return a cross cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1486
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1487
    ^ self shape:#cross on:Display
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1488
!
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1489
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1490
crossHair
48194c26a46c Initial revision
claus
parents:
diff changeset
  1491
    "return a crossHair cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1492
48194c26a46c Initial revision
claus
parents:
diff changeset
  1493
    CrossHairCursor isNil ifTrue:[
80
eb8373679a9f *** empty log message ***
claus
parents: 71
diff changeset
  1494
	CrossHairCursor := self shape:#crossHair on:Display
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1495
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
  1496
    ^ CrossHairCursor
48194c26a46c Initial revision
claus
parents:
diff changeset
  1497
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1498
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1499
down
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1500
	"Answer the instance of me that is the shape of a down-arrow."
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1501
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1502
	^DownCursor!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1503
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1504
downLimitArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1505
    "return a down-arrow-to-limit cursor"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1506
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1507
    ^ self shape:#downLimitArrow on:Display
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1508
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1509
48194c26a46c Initial revision
claus
parents:
diff changeset
  1510
execute
157
claus
parents: 151
diff changeset
  1511
    "return a execute cursor - (the default here is a wait-cursor)"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1512
157
claus
parents: 151
diff changeset
  1513
    XeqCursor notNil ifTrue:[
claus
parents: 151
diff changeset
  1514
	^ XeqCursor
claus
parents: 151
diff changeset
  1515
    ].
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1516
    ^ self wait
56
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1517
!
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1518
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1519
eye 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1520
	"return an eye cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1521
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1522
	^ EyeCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1523
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1524
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1525
fourWay 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1526
    "return a four-way arrow cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1527
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1528
    FourWayCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1529
	FourWayCursor := self shape:#fourWay on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1530
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1531
    ^ FourWayCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1532
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1533
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1534
hand
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1535
    "return a hand cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1536
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1537
    HandCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1538
	HandCursor := self shape:#upRightHand on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1539
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1540
    ^ HandCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1541
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1542
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1543
left
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1544
	"Answer the instance of me that is the shape of an arrow facing to the left."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1545
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1546
	^LeftCursor!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1547
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1548
leftHand
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1549
    "return a left-hand cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1550
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1551
    ^ self shape:#leftHand
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1552
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1553
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1554
leftLimitArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1555
    "return a left-arrow-to-limit cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1556
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1557
    ^ self shape:#leftLimitArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1558
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1559
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1560
leftRightArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1561
    "return a left-right-arrow cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1562
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1563
    LeftRightArrowCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1564
	LeftRightArrowCursor := self shape:#leftRightArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1565
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1566
    ^ LeftRightArrowCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1567
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1568
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1569
marker
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1570
	"Answer the instance of me that is the shape of a horizontal arrow."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1571
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1572
	^MarkerCursor!
56
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1573
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1574
normal
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1575
    "return the normal cursor; an arrow.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1576
     for ST-80 compatibility"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1578
    NormalCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1579
	NormalCursor := self arrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1580
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1581
    ^ NormalCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1582
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1583
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1584
origin
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1585
    "return an origin cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1586
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1587
    OriginCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1588
	OriginCursor := self shape:#origin on:Display
157
claus
parents: 151
diff changeset
  1589
    ].
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1590
    ^ OriginCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1591
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1592
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1593
questionMark
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1594
    "return a question-mark cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1595
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1596
    ^ self shape:#questionMark on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1597
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1598
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1599
read
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1600
    "return a reading-file cursor (the default here is a wait-cursor)"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1601
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1602
    ReadCursor notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1603
	^ ReadCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1604
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1605
    ^ self wait
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1606
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1607
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1608
right
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1609
	"Answer the instance of me that is the shape of an arrow facing to the right."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1610
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1611
	^RightCursor!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1612
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1613
rightLimitArrowOn
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1614
    "return a right-arrow-to-limit cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1615
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1616
    ^ self shape:#rightLimitArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1617
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1618
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1619
stop
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1620
    "return a stop cursor (the default here is a wait-cursor)"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1621
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1622
    StopCursor notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1623
	^ StopCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1624
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1625
    ^ self wait
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1626
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1627
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1628
text
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1629
    "return a text-cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1630
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1631
    ^ self shape:#text on:Display
56
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1632
!
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1633
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1634
thumbsDown
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1635
    "return a hand cursor - ST-80 compatibility"
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1636
157
claus
parents: 151
diff changeset
  1637
    ThumbsDownCursor notNil ifTrue:[
claus
parents: 151
diff changeset
  1638
	^ ThumbsDownCursor
claus
parents: 151
diff changeset
  1639
    ].
56
cc69f5a6a51d thumbsUp/Down for compatibility
claus
parents: 54
diff changeset
  1640
    ^ self hand
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1641
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1642
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1643
thumbsUp
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1644
    "return a hand cursor - ST-80 compatibility"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1645
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1646
    ThumbsUpCursor notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1647
	^ ThumbsUpCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1648
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1649
    ^ self hand
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1650
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1651
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1652
topLeft 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1653
    "return a top-left corner cursor"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1654
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1655
    ^ self origin
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1656
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1657
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1658
topRight 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1659
    "return a top-right corner cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1660
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1661
    ^ self shape:#topRight on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1662
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1663
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1664
up
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1665
	"Answer the instance of me that is the shape of an up-arrow."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1666
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1667
	^UpCursor!
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1668
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1669
upDownArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1670
    "return an up-down-arrow cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1671
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1672
    UpDownArrowCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1673
	UpDownArrowCursor := self shape:#upDownArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1674
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1675
    ^ UpDownArrowCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1676
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1677
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1678
upLeftArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1679
    "return an up-right-arrow cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1680
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1681
    ^ self shape:#upLeftArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1682
!
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1683
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1684
upLimitArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1685
    "return an up-arrow-to-limit cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1686
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1687
    ^ self shape:#upLimitArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1688
!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1689
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1690
upRightArrow
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1691
    "return an up-right-arrow cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1692
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1693
    ^ self shape:#upRightArrow on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1694
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1695
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1696
upRightHand
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1697
    "return an up-right-hand cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1698
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1699
    ^ self shape:#upRightHand
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1700
!
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1701
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1702
wait
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1703
    "return a wait cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1704
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1705
    WaitCursor isNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1706
	WaitCursor := self shape:#wait on:Display
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1707
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1708
    ^ WaitCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1709
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1710
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1711
write
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1712
    "return a writing-file cursor (the default here is a wait-cursor)"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1713
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1714
    WriteCursor notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1715
	^ WriteCursor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1716
    ].
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1717
    ^ self wait
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1718
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1719
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1720
xMarker
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1721
	"Answer the instance of me that is displayed when thumb-scrolling on the x-axis."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1722
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1723
	^XMarkerCursor! !
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1724
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1725
!Cursor methodsFor:'ST-80 displaying'!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1726
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1727
displayOn:aGC at:origin clippingBox:aRectangle rule:aRule mask:aMask
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1728
    "ST-80 compatibility;
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1729
     limited functionality: can only display bitmap cursors (yet)"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1730
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1731
    sourceForm notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1732
	sourceForm displayOn:aGC at:origin clippingBox:aRectangle 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1733
			rule:aRule mask:aMask
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1734
    ]
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1735
!
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1736
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1737
show
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1738
    "ST-80 mimicri: change cursors in active groups views to the receiver."
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1739
1188
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1740
    |wg|
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1741
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1742
    (wg := WindowGroup activeGroup) notNil ifTrue:[
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1743
        wg showCursor:self
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1744
    ]
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1745
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1746
    "Modified: 13.1.1997 / 20:10:01 / cg"
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1747
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1748
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1749
showIn:aView 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1750
    "ST-80 mimicri: install the receiver as aViews cursor"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1751
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1752
    aView cursor:self
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1753
!
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1754
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1755
showIn:aView while:aBlock
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1756
    "ST-80 mimicri: change aViews cursors to the receiver, while evaluationg aBlock.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1757
     Return the value as returned by aBlock."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1758
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1759
    |savedCursor|
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1760
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1761
    savedCursor := aView cursor.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1762
    aView cursor:self.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1763
    ^ aBlock valueNowOrOnUnwindDo:[aView cursor:savedCursor]
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1764
!
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1765
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1766
showWhile:aBlock
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1767
    "ST-80 mimicri: change all views cursors to the receiver.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1768
     Return the value as returned by aBlock."
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1769
1188
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1770
    |wg|
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1771
1188
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1772
    (wg := WindowGroup activeGroup) notNil ifTrue:[
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1773
        ^ wg withCursor:self do:aBlock
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1774
    ] ifFalse:[
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1775
        aBlock value
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1776
    ]
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1777
2a4d644e8828 care for nil-windowGroup in #show and #showWhile:
Claus Gittinger <cg@exept.de>
parents: 1181
diff changeset
  1778
    "Modified: 13.1.1997 / 20:10:25 / cg"
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1779
! !
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  1780
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1781
!Cursor methodsFor:'accessing'!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1782
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1783
device
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1784
    "return the device I am associated with"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1785
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1786
    ^ device
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1787
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1788
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1789
foreground:fgColor background:bgColor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1790
    "set the cursor colors"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1791
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1792
    device colorCursor:cursorId foreground:fgColor background:bgColor
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1793
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1794
733
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1795
graphicsDevice
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1796
    "same as #device, for ST-80 compatibility naming.
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1797
     Return the device I am associated with."
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1798
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1799
    ^ device
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1800
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1801
    "Created: 28.5.1996 / 18:39:01 / cg"
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1802
!
131299fba292 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
  1803
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1804
hotX
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1805
    "return the hotspots x-coordinate of the receiver"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1806
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1807
    ^ hotX
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1808
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1809
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1810
hotY
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1811
    "return the hotspots y-coordinate of the receiver"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1812
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1813
    ^ hotY
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1814
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1815
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1816
id
48194c26a46c Initial revision
claus
parents:
diff changeset
  1817
    "return the cursors deviceId"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1818
48194c26a46c Initial revision
claus
parents:
diff changeset
  1819
    ^ cursorId
48194c26a46c Initial revision
claus
parents:
diff changeset
  1820
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1821
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1822
maskForm
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1823
    "return the mask-form of the receiver"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1824
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1825
    ^ maskForm
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1826
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1827
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1828
maskForm:aForm
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1829
    "set the mask-form of the receiver"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1830
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1831
    maskForm := aForm
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1832
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1833
48194c26a46c Initial revision
claus
parents:
diff changeset
  1834
shape
48194c26a46c Initial revision
claus
parents:
diff changeset
  1835
    "return the shape"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1836
48194c26a46c Initial revision
claus
parents:
diff changeset
  1837
    ^ shape
48194c26a46c Initial revision
claus
parents:
diff changeset
  1838
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1839
48194c26a46c Initial revision
claus
parents:
diff changeset
  1840
sourceForm
48194c26a46c Initial revision
claus
parents:
diff changeset
  1841
    "return the source-form of the receiver"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1842
48194c26a46c Initial revision
claus
parents:
diff changeset
  1843
    ^ sourceForm
48194c26a46c Initial revision
claus
parents:
diff changeset
  1844
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1845
48194c26a46c Initial revision
claus
parents:
diff changeset
  1846
sourceForm:aForm
48194c26a46c Initial revision
claus
parents:
diff changeset
  1847
    "set the source-form of the receiver"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1848
48194c26a46c Initial revision
claus
parents:
diff changeset
  1849
    sourceForm := aForm
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1850
! !
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1851
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1852
!Cursor methodsFor:'copying'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1853
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1854
postCopy
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1855
    sourceForm := sourceForm copy.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1856
    maskForm := maskForm copy.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1857
    device := cursorId := nil
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1858
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
  1859
48194c26a46c Initial revision
claus
parents:
diff changeset
  1860
!Cursor methodsFor:'creating a device cursor'!
48194c26a46c Initial revision
claus
parents:
diff changeset
  1861
48194c26a46c Initial revision
claus
parents:
diff changeset
  1862
on:aDevice
48194c26a46c Initial revision
claus
parents:
diff changeset
  1863
    "create a new Cursor representing the same cursor as
48194c26a46c Initial revision
claus
parents:
diff changeset
  1864
     myself on aDevice; if one already exists, return the one"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1865
1494
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1866
    self obsoleteMethodWarning:'use #onDevice:'.
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1867
    ^ self onDevice:aDevice
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1868
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1869
    "Modified: 28.3.1997 / 13:47:02 / cg"
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1870
!
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1871
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1872
onDevice:aDevice
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1873
    "create a new Cursor representing the same cursor as
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1874
     myself on aDevice; if one already exists, return the one"
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1875
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1876
    aDevice isNil ifTrue:[
1494
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1877
        "this may not happen"
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1878
        self error:'nil device'
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1879
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
  1880
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1881
    "if I am already assigned to that device ..."
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1882
    (device == aDevice) ifTrue:[^ self].
48194c26a46c Initial revision
claus
parents:
diff changeset
  1883
48194c26a46c Initial revision
claus
parents:
diff changeset
  1884
    "first look if not already there"
115
1d93fd8c5371 *** empty log message ***
claus
parents: 89
diff changeset
  1885
    Lobby do:[:aCursor |
1494
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1886
        (aCursor graphicsDevice == aDevice) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1887
            shape notNil ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1888
                (aCursor shape == shape) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1889
                    ^ aCursor
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1890
                ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1891
            ] ifFalse:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1892
                (aCursor sourceForm == sourceForm) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1893
                    (aCursor maskForm == maskForm) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1894
                        (aCursor hotX == hotX) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1895
                            (aCursor hotY == hotY) ifTrue:[
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1896
                                ^ aCursor
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1897
                            ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1898
                        ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1899
                    ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1900
                ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1901
            ]
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1902
        ]
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1903
    ].
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1904
    ^ self newOn:aDevice
927
c4bc2a7ff733 use #graphicsDevice instead of #device.
Claus Gittinger <cg@exept.de>
parents: 864
diff changeset
  1905
c4bc2a7ff733 use #graphicsDevice instead of #device.
Claus Gittinger <cg@exept.de>
parents: 864
diff changeset
  1906
    "Modified: 5.7.1996 / 17:58:00 / cg"
1494
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  1907
    "Created: 28.3.1997 / 13:46:38 / cg"
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1908
! !
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1909
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1910
!Cursor methodsFor:'instance release'!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1911
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1912
disposed
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1913
    "some Cursor has been collected - tell it to the x-server"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1914
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1915
    cursorId notNil ifTrue:[
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1916
	device destroyCursor:cursorId.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1917
    ]
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1918
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1919
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1920
shallowCopyForFinalization
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1921
    "redefined to return a lightweight copy 
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1922
     - all we need is the device handle"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1923
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1924
    ^ self class basicNew setDevice:device id:cursorId
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1925
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1926
    "Modified: 20.4.1996 / 23:23:19 / cg"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1927
! !
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1928
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1929
!Cursor methodsFor:'private'!
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1930
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1931
device:aDevice
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1932
    device := aDevice
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1933
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1934
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1935
id:anId
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1936
    "set the cursors deviceId"
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1937
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1938
    cursorId := anId
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1939
!
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  1940
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1941
newOn:aDevice
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1942
    "create a new Cursor representing the same cursor as
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1943
     myself on aDevice. Dont search the lobby."
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  1944
974
12797746a1f7 WIN32 changes
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
  1945
    |newCursor id sF mF w h|
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1946
48194c26a46c Initial revision
claus
parents:
diff changeset
  1947
    "ask that device for the cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1948
    shape notNil ifTrue:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1949
        id := aDevice createCursorShape:shape.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1950
        id isNil ifTrue:[
1178
f04f14bc3c46 newStyle info & error messages
Claus Gittinger <cg@exept.de>
parents: 1140
diff changeset
  1951
            'Cursor [warning]: no cursor with shape:' errorPrint. shape errorPrintCR.
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1952
            ^ self
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1953
        ].
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1954
    ] ifFalse:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1955
        aDevice needDeviceFormsForCursor ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1956
            sourceForm notNil ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1957
                sF := sourceForm asFormOn:aDevice.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1958
            ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1959
            maskForm notNil ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1960
                mF := maskForm asFormOn:aDevice.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1961
            ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1962
            (sF notNil and:[mF notNil]) ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1963
                sourceForm := sF.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1964
                maskForm := mF.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1965
            ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1966
        ] ifFalse:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1967
            sourceForm notNil ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1968
                sF := sourceForm bits
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1969
            ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1970
            maskForm notNil ifTrue:[
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1971
                mF := maskForm bits.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1972
            ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1973
        ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1974
        (sF isNil or:[mF isNil]) ifTrue:[
1181
c413283ca28f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1178
diff changeset
  1975
            'Cursor [warning]: cursor has no form' errorPrintCR.
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1976
            ^ self
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1977
        ].
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1978
        w := sourceForm width.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1979
        h := sourceForm height.
133
claus
parents: 115
diff changeset
  1980
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1981
        id := aDevice createCursorSourceForm:sF
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1982
                                    maskForm:mF
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1983
                                        hotX:hotX
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1984
                                        hotY:hotY
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1985
                                       width:w
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1986
                                      height:h.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1987
        id isNil ifTrue:[
1178
f04f14bc3c46 newStyle info & error messages
Claus Gittinger <cg@exept.de>
parents: 1140
diff changeset
  1988
            'Cursor [warning]: cannot create pixmap cursor' errorPrintCR.
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1989
            ^ self
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1990
        ].
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1991
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
  1992
48194c26a46c Initial revision
claus
parents:
diff changeset
  1993
    "goody for IRIXs red cursor"
48194c26a46c Initial revision
claus
parents:
diff changeset
  1994
    DefaultFgColor notNil ifTrue:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1995
        aDevice colorCursor:id foreground:DefaultFgColor
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  1996
                               background:DefaultBgColor
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  1997
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
  1998
48194c26a46c Initial revision
claus
parents:
diff changeset
  1999
    device isNil ifTrue:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2000
        "receiver was not associated - do it now"
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2001
        device := aDevice.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2002
        cursorId := id.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2003
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2004
        "must re-register, the old registration had a nil cursorId in it"
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2005
        Lobby registerChange:self.
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2006
        ^ self
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2007
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
  2008
48194c26a46c Initial revision
claus
parents:
diff changeset
  2009
    "receiver was already associated to another device - need a new cursor"
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  2010
    newCursor := self class basicNew.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2011
    shape notNil ifTrue:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2012
        newCursor setShape:shape.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2013
    ] ifFalse:[
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2014
        newCursor setSourceForm:sourceForm
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2015
                       maskForm:maskForm
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2016
                           hotX:hotX
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2017
                           hotY:hotY
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2018
    ].
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  2019
    newCursor setDevice:aDevice id:id.
23
4a7e02de7b72 *** empty log message ***
claus
parents: 12
diff changeset
  2020
    Lobby register:newCursor.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2021
    ^ newCursor
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2022
1181
c413283ca28f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1178
diff changeset
  2023
    "Modified: 10.1.1997 / 19:08:20 / cg"
71
6a42b2b115f8 *** empty log message ***
claus
parents: 56
diff changeset
  2024
!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2025
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
  2026
restored
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2027
    "set both device and id"
48194c26a46c Initial revision
claus
parents:
diff changeset
  2028
48194c26a46c Initial revision
claus
parents:
diff changeset
  2029
    device := nil.
48194c26a46c Initial revision
claus
parents:
diff changeset
  2030
    cursorId := nil
48194c26a46c Initial revision
claus
parents:
diff changeset
  2031
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
  2032
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2033
!Cursor methodsFor:'private accessing'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2034
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2035
setDevice:aDevice id:anId
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2036
    "set the device and deviceId of the receiver"
160
claus
parents: 157
diff changeset
  2037
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2038
    device := aDevice.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2039
    cursorId := anId
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2040
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  2041
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2042
setShape:aShapeSymbol
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2043
    "set the shape"
160
claus
parents: 157
diff changeset
  2044
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2045
    shape := aShapeSymbol.
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2046
!
48194c26a46c Initial revision
claus
parents:
diff changeset
  2047
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2048
setSourceForm:sForm maskForm:mForm hotX:hx hotY:hy
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2049
    "set the forms and hotspot"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2050
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2051
    sourceForm := sForm.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2052
    maskForm := mForm.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2053
    hotX := hx.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2054
    hotY := hy.
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2055
! !
157
claus
parents: 151
diff changeset
  2056
1140
e0e5da9b080b use Image instead of Form
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
  2057
!Cursor class methodsFor:'documentation'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2058
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2059
version
1494
4faf11deec70 cursor #on: is obsoleted by #onDevice:.
Claus Gittinger <cg@exept.de>
parents: 1414
diff changeset
  2060
    ^ '$Header: /cvs/stx/stx/libview/Cursor.st,v 1.47 1997-03-28 12:51:20 cg Exp $'
0
48194c26a46c Initial revision
claus
parents:
diff changeset
  2061
! !
577
13095d631a2a commentary
Claus Gittinger <cg@exept.de>
parents: 499
diff changeset
  2062
Cursor initialize!