-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Recolor Option to Right-Click Menu
- Loading branch information
Julian Berger
committed
May 15, 2019
1 parent
7505e7c
commit a07a266
Showing
5 changed files
with
23 additions
and
1 deletion.
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
4 changes: 4 additions & 0 deletions
4
...resenter-Core.package/PSContentContainer.class/instance/openColorDialogWith.selecting..st
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,4 @@ | ||
as yet unclassified | ||
openColorDialogWith: aColor selecting: aSymbol | ||
|
||
^ self openColorDialogWith: aColor selecting: aSymbol on: self content |
9 changes: 9 additions & 0 deletions
9
...enter-Core.package/PSContentContainer.class/instance/openColorDialogWith.selecting.on..st
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,9 @@ | ||
as yet unclassified | ||
openColorDialogWith: aColor selecting: aSymbol on: aMorph | ||
|
||
^ (NewColorPickerMorph | ||
on: aMorph | ||
originalColor: aColor | ||
setColorSelector: aSymbol) | ||
openNear: self fullBoundsInWorld; | ||
yourself |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/instance/recolor.st
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,4 @@ | ||
as yet unclassified | ||
recolor | ||
|
||
^ self openColorDialogWith: self content color selecting: #color: |
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