added:
authorClaus Gittinger <cg@exept.de>
Fri, 04 Mar 2011 15:38:39 +0100
changeset 2837 491837239003
parent 2836 a2e82ebd3bc3
child 2838 66257924fbf6
added: #flipHorizontalIcon #flipVerticalIcon changed: #menuEdit
ImageEditor.st
--- a/ImageEditor.st	Mon Feb 28 19:08:00 2011 +0100
+++ b/ImageEditor.st	Fri Mar 04 15:38:39 2011 +0100
@@ -585,6 +585,46 @@
         ifAbsentPut:[(Depth1Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@A@@@@@@@@@@@@@@@@@@@@@@@@@@D@@@@a') ; colorMapFromArray:#[0 0 0 255 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@C?0O?@?<C?0O?@?<C?0O?@?<C?0@@@@@@@a') ; yourself); yourself]
 !
 
+flipHorizontalIcon
+    "This resource specification was automatically generated
+     by the ImageEditor of ST/X."
+
+    "Do not manually edit this!! If it is corrupted,
+     the ImageEditor may not be able to read the specification."
+
+    "
+     self flipHorizontalIcon inspect
+     ImageEditor openOnClass:self andSelector:#flipHorizontalIcon
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'ImageEditor class flipHorizontalIcon'
+        ifAbsentPut:[(Depth1Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@A@C?8HP )JC$8_?1??C$8JR !!BC?8@P@@@@@a') ; yourself); yourself]
+!
+
+flipVerticalIcon
+    "This resource specification was automatically generated
+     by the ImageEditor of ST/X."
+
+    "Do not manually edit this!! If it is corrupted,
+     the ImageEditor may not be able to read the specification."
+
+    "
+     self flipVerticalIcon inspect
+     ImageEditor openOnClass:self andSelector:#flipVerticalIcon
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'ImageEditor class flipVerticalIcon'
+        ifAbsentPut:[(Depth1Image new) width: 14; height: 14; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 14; height: 14; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@C@C?0I9@/4BLPH1A?>BLPH1@/4B^PO?@C@@@a') ; yourself); yourself]
+!
+
 leftMouseKeyIcon
     "This resource specification was automatically generated
      by the ImageEditor of ST/X."
@@ -2246,6 +2286,7 @@
                   label: 'Flip - Vertical'
                   itemValue: doFlipVertical
                   translateLabel: true
+                  labelImage: (ResourceRetriever ImageEditor flipVerticalIcon 'Flip - Vertical')
                 )
                (MenuItem
                   activeHelpKey: editFlipHorizontal
@@ -2253,6 +2294,7 @@
                   label: 'Flip - Horizontal'
                   itemValue: doFlipHorizontal
                   translateLabel: true
+                  labelImage: (ResourceRetriever ImageEditor flipHorizontalIcon 'Flip - Horizontal')
                 )
                )
               nil
@@ -2385,8 +2427,6 @@
         nil
         nil
       )
-
-    "Modified: / 21-10-2010 / 15:02:54 / cg"
 !
 
 menuFile