-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from pharo-graphics/fix-cursor
Add back BLCursor as deprecated
- Loading branch information
Showing
1 changed file
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
Class { | ||
#name : 'BLCursor', | ||
#superclass : 'Object', | ||
#category : 'Bloc-Utilities - Selection', | ||
#package : 'Bloc', | ||
#tag : 'Utilities - Selection' | ||
} | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> crosshair [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv crosshair' -> 'Cursor crossHair'. | ||
^ Cursor crossHair | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> default [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv default' -> 'Cursor normal'. | ||
^ Cursor normal | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> hand [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv hand' -> 'Cursor webLink'. | ||
^ Cursor webLink | ||
] | ||
|
||
{ #category : 'testing' } | ||
BLCursor class >> isDeprecated [ | ||
|
||
^ true | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> overEditableText [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv overEditableText' -> 'Cursor overEditableText'. | ||
^ Cursor overEditableText | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeBottom [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeBottom' -> 'Cursor resizeBottom'. | ||
^ Cursor resizeBottom | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeBottomLeft [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeBottomLeft' -> 'Cursor resizeBottomLeft'. | ||
^ Cursor resizeBottomLeft | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeBottomRight [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeBottomRight' -> 'Cursor resizeBottomRight'. | ||
^ Cursor resizeBottomRight | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeTop [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeTop' -> 'Cursor resizeTop'. | ||
^ Cursor resizeTop | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeTopLeft [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeTopLeft' -> 'Cursor resizeTopLeft'. | ||
^ Cursor resizeTopLeft | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> resizeTopRight [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv resizeTopRight' -> 'Cursor resizeTopRight'. | ||
^ Cursor resizeTopRight | ||
] | ||
|
||
{ #category : 'accessing' } | ||
BLCursor class >> wait [ | ||
|
||
self deprecated: 'Use Cursor instead.' transformWith: '`@rcv wait' -> 'Cursor wait'. | ||
^ Cursor wait | ||
] |