equal
deleted
inserted
replaced
344 'Find and remove top border.' |
344 'Find and remove top border.' |
345 |
345 |
346 #drawModeBox |
346 #drawModeBox |
347 'Rectangle Drawing Mode.' |
347 'Rectangle Drawing Mode.' |
348 |
348 |
|
349 #drawModeCircle |
|
350 'Circle Drawing Mode.' |
|
351 |
349 #drawModeCopy |
352 #drawModeCopy |
350 'Area Copy Mode.' |
353 'Area Copy Mode.' |
351 |
354 |
352 #drawModeFill |
355 #drawModeFill |
353 'Flood Fill Mode.' |
356 'Flood Fill Mode.' |
364 #drawModePasteWithMask |
367 #drawModePasteWithMask |
365 'Paste-with-Mask Mode.' |
368 'Paste-with-Mask Mode.' |
366 |
369 |
367 #drawModePoint |
370 #drawModePoint |
368 'Point Drawing Mode.' |
371 'Point Drawing Mode.' |
|
372 |
|
373 #drawModeSpray |
|
374 'Spray Drawing Mode.' |
369 |
375 |
370 #drawModeSpecial |
376 #drawModeSpecial |
371 'Special Operations' |
377 'Special Operations' |
372 |
378 |
373 #editFlipHorizontal |
379 #editFlipHorizontal |
688 <resource: #image> |
694 <resource: #image> |
689 |
695 |
690 ^Icon |
696 ^Icon |
691 constantNamed:'ImageEditor class specialIcon' |
697 constantNamed:'ImageEditor class specialIcon' |
692 ifAbsentPut:[(Depth1Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@L@@@@B@@@@@0@@@@@@@@@@@@@@@P@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@L@@0@G @^@A8@G @L@@0@@@@L@@0@@@@@a') ; yourself); yourself] |
698 ifAbsentPut:[(Depth1Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@L@@@@B@@@@@0@@@@@@@@@@@@@@@P@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@L@@0@G @^@A8@G @L@@0@@@@L@@0@@@@@a') ; yourself); yourself] |
|
699 ! |
|
700 |
|
701 sprayIcon |
|
702 "This resource specification was automatically generated |
|
703 by the ImageEditor of ST/X." |
|
704 |
|
705 "Do not manually edit this!! If it is corrupted, |
|
706 the ImageEditor may not be able to read the specification." |
|
707 |
|
708 " |
|
709 self sprayIcon inspect |
|
710 ImageEditor openOnClass:self andSelector:#sprayIcon |
|
711 Icon flushCachedIcons |
|
712 " |
|
713 |
|
714 <resource: #image> |
|
715 |
|
716 ^Icon |
|
717 constantNamed:'ImageEditor class sprayIcon' |
|
718 ifAbsentPut:[(Depth4Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#[4]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@D@@@@@@@DA@@@@@@D@D@@@@@@A@PD@@@@@@A@P@@@@@@@A@P@@@@@@@A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
|
719 @@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 84 84 84 170 170 170 255 255 255 255 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@B@@(A)@F*@IPA2 H$@"@BH@H @"@BH@O @@a') ; yourself); yourself] |
693 ! ! |
720 ! ! |
694 |
721 |
695 !ImageEditor class methodsFor:'interface specs'! |
722 !ImageEditor class methodsFor:'interface specs'! |
696 |
723 |
697 changeHLSDialogSpec |
724 changeHLSDialogSpec |
1998 ) |
2025 ) |
1999 nil |
2026 nil |
2000 nil |
2027 nil |
2001 ) |
2028 ) |
2002 ) |
2029 ) |
|
2030 (MenuItem |
|
2031 label: 'Spray' |
|
2032 translateLabel: true |
|
2033 submenu: |
|
2034 (Menu |
|
2035 ( |
|
2036 (MenuItem |
|
2037 label: '4' |
|
2038 itemValue: spraySpot: |
|
2039 translateLabel: true |
|
2040 argument: 4 |
|
2041 ) |
|
2042 (MenuItem |
|
2043 label: '8' |
|
2044 itemValue: spraySpot: |
|
2045 translateLabel: true |
|
2046 argument: 8 |
|
2047 ) |
|
2048 (MenuItem |
|
2049 label: '16' |
|
2050 itemValue: spraySpot: |
|
2051 translateLabel: true |
|
2052 argument: 16 |
|
2053 ) |
|
2054 (MenuItem |
|
2055 label: '32' |
|
2056 itemValue: spraySpot: |
|
2057 translateLabel: true |
|
2058 argument: 32 |
|
2059 ) |
|
2060 ) |
|
2061 nil |
|
2062 nil |
|
2063 ) |
|
2064 ) |
2003 ) |
2065 ) |
2004 nil |
2066 nil |
2005 nil |
2067 nil |
2006 ) |
2068 ) |
2007 ) |
2069 ) |
2716 #labelImage: #(#ResourceRetriever #ImageEditor #pointIcon) |
2778 #labelImage: #(#ResourceRetriever #ImageEditor #pointIcon) |
2717 #choice: #editMode |
2779 #choice: #editMode |
2718 #choiceValue: #point |
2780 #choiceValue: #point |
2719 ) |
2781 ) |
2720 #(#MenuItem |
2782 #(#MenuItem |
|
2783 #activeHelpKey: #drawModeSpray |
|
2784 #enabled: #imageIsLoaded |
|
2785 #label: 'Spray' |
|
2786 #translateLabel: true |
|
2787 #isButton: true |
|
2788 #labelImage: #(#ResourceRetriever #ImageEditor #sprayIcon) |
|
2789 #choice: #editMode |
|
2790 #choiceValue: #spray |
|
2791 ) |
|
2792 #(#MenuItem |
2721 #activeHelpKey: #drawModeBox |
2793 #activeHelpKey: #drawModeBox |
2722 #enabled: #imageIsLoaded |
2794 #enabled: #imageIsLoaded |
2723 #label: 'Rect' |
2795 #label: 'Rect' |
2724 #translateLabel: true |
2796 #translateLabel: true |
2725 #isButton: true |
2797 #isButton: true |
2734 #translateLabel: true |
2806 #translateLabel: true |
2735 #isButton: true |
2807 #isButton: true |
2736 #labelImage: #(#ResourceRetriever #ImageEditor #fillRectIcon) |
2808 #labelImage: #(#ResourceRetriever #ImageEditor #fillRectIcon) |
2737 #choice: #editMode |
2809 #choice: #editMode |
2738 #choiceValue: #filledBox |
2810 #choiceValue: #filledBox |
|
2811 ) |
|
2812 #(#MenuItem |
|
2813 #activeHelpKey: #drawModeCircle |
|
2814 #enabled: #imageIsLoaded |
|
2815 #label: 'Circle' |
|
2816 #translateLabel: true |
|
2817 #isButton: true |
|
2818 #labelImage: #(#ResourceRetriever #ImageEditor #circleIcon) |
|
2819 #choice: #editMode |
|
2820 #choiceValue: #circle |
2739 ) |
2821 ) |
2740 #(#MenuItem |
2822 #(#MenuItem |
2741 #activeHelpKey: #drawModeFill |
2823 #activeHelpKey: #drawModeFill |
2742 #enabled: #imageIsLoaded |
2824 #enabled: #imageIsLoaded |
2743 #label: 'Fill' |
2825 #label: 'Fill' |
5706 |
5788 |
5707 penWidth:n |
5789 penWidth:n |
5708 imageEditView penWidth:n |
5790 imageEditView penWidth:n |
5709 |
5791 |
5710 "Created: / 01-11-2007 / 23:47:48 / cg" |
5792 "Created: / 01-11-2007 / 23:47:48 / cg" |
|
5793 ! |
|
5794 |
|
5795 spraySpot:n |
|
5796 imageEditView spraySpot:n |
|
5797 |
|
5798 "Created: / 01-11-2007 / 23:47:48 / cg" |
5711 ! ! |
5799 ! ! |
5712 |
5800 |
5713 !ImageEditor class methodsFor:'documentation'! |
5801 !ImageEditor class methodsFor:'documentation'! |
5714 |
5802 |
5715 version |
5803 version |