UIPainter.st
changeset 1432 c032f34cd7bb
parent 1397 054670838983
child 1439 540781421bbf
equal deleted inserted replaced
1431:cdcadf6df14d 1432:c032f34cd7bb
   431 
   431 
   432     <resource: #image>
   432     <resource: #image>
   433 
   433 
   434     ^Icon
   434     ^Icon
   435 	constantNamed:#'UIPainter iconAlignR'
   435 	constantNamed:#'UIPainter iconAlignR'
   436 	ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@B @@@@@@B @@@UUUR I@@_??2 @@@@@@B @@@@@@B @@@@@@B @@@@@@B @@EUUUR @@G???2 @@@@@@B E@@@@@B @@@@@@B @@@@@@B @@@@EUR @@@@G?2 @@@@@@B @@@@@@B @@@@@@@@E@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 0 0 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@A A?? A?? A?? A?? @@A @@A G?? G?? G?? G?? @@A @@A @G? @G? @G? @G? @@A @@@@@@@@') ; yourself); yourself]!
   436 	ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@B @@@@@@B @@@UUUR I@@_??2 @@@@@@B @@@@@@B @@@@@@B @@@@@@B @@EUUUR @@G???2 @@@@@@B E@@@@@B @@@@@@B @@@@@@B @@@@EUR @@@@G?2 @@@@@@B @@@@@@B @@@@@@@@E@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 0 0 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@A A?? A?? A?? A?? @@A @@A G?? G?? G?? G?? @@A @@A @G? @G? @G? @G? @@A @@@@@@@@') ; yourself); yourself]
       
   437 !
   437 
   438 
   438 iconAlignT
   439 iconAlignT
   439     "This resource specification was automatically generated
   440     "This resource specification was automatically generated
   440      by the ImageEditor of ST/X."
   441      by the ImageEditor of ST/X."
   441 
   442 
  1390                 #translateLabel: true
  1391                 #translateLabel: true
  1391                 #nameKey: #undo
  1392                 #nameKey: #undo
  1392                 #value: #undoLast
  1393                 #value: #undoLast
  1393                 #activeHelpKey: #editUndo
  1394                 #activeHelpKey: #editUndo
  1394                 #enabled: #hasUndoHistory
  1395                 #enabled: #hasUndoHistory
  1395                 #shortcutKeyCharacter: #Cmdu
       
  1396             )
  1396             )
  1397              #(#MenuItem
  1397              #(#MenuItem
  1398                 #label: '-'
  1398                 #label: '-'
  1399             )
  1399             )
  1400              #(#MenuItem
  1400              #(#MenuItem
  1401                 #label: 'Cut'
  1401                 #label: 'Cut'
  1402                 #translateLabel: true
  1402                 #translateLabel: true
  1403                 #value: #deleteSelection
  1403                 #value: #deleteSelection
  1404                 #activeHelpKey: #editCut
  1404                 #activeHelpKey: #editCut
  1405                 #enabled: #valueOfCanCut
  1405                 #enabled: #valueOfCanCut
  1406                 #shortcutKeyCharacter: #Cut
       
  1407             )
  1406             )
  1408              #(#MenuItem
  1407              #(#MenuItem
  1409                 #label: 'Copy'
  1408                 #label: 'Copy'
  1410                 #translateLabel: true
  1409                 #translateLabel: true
  1411                 #value: #copySelection
  1410                 #value: #copySelection
  1412                 #activeHelpKey: #editCopy
  1411                 #activeHelpKey: #editCopy
  1413                 #enabled: #valueOfCanCopy
  1412                 #enabled: #valueOfCanCopy
  1414                 #shortcutKeyCharacter: #Copy
       
  1415             )
  1413             )
  1416              #(#MenuItem
  1414              #(#MenuItem
  1417                 #label: 'Paste'
  1415                 #label: 'Paste'
  1418                 #translateLabel: true
  1416                 #translateLabel: true
  1419                 #value: #pasteBuffer
  1417                 #value: #pasteBuffer
  1420                 #activeHelpKey: #pasteBuffer
  1418                 #activeHelpKey: #pasteBuffer
  1421                 #enabled: #valueOfCanPaste
  1419                 #enabled: #valueOfCanPaste
  1422                 #shortcutKeyCharacter: #Paste
       
  1423             )
  1420             )
  1424              #(#MenuItem
  1421              #(#MenuItem
  1425                 #label: 'Delete'
  1422                 #label: 'Delete'
  1426                 #translateLabel: true
  1423                 #translateLabel: true
  1427                 #value: #deleteTotalSelection
  1424                 #value: #deleteTotalSelection
  1428                 #activeHelpKey: #editDelete
  1425                 #activeHelpKey: #editDelete
  1429                 #enabled: #valueOfCanCut
  1426                 #enabled: #valueOfCanCut
  1430                 #shortcutKeyCharacter: #Delete
       
  1431             )
  1427             )
  1432              #(#MenuItem
  1428              #(#MenuItem
  1433                 #label: '-'
  1429                 #label: '-'
  1434             )
  1430             )
  1435              #(#MenuItem
  1431              #(#MenuItem