ImageEditor.st
changeset 1457 8c15098c3469
parent 1449 49ad9f552d64
child 1459 1edc1052fa77
equal deleted inserted replaced
1456:7435d111bb09 1457:8c15098c3469
   490 
   490 
   491     "Do not manually edit this!! If it is corrupted,
   491     "Do not manually edit this!! If it is corrupted,
   492      the UIPainter may not be able to read the specification."
   492      the UIPainter may not be able to read the specification."
   493 
   493 
   494     "
   494     "
   495      UIPainter new openOnClass:ImageEditor andSelector:#grobDialogSpec
   495      UIPainter new openOnClass:ImageEditor andSelector:#gropDialogSpec
   496      ImageEditor new openInterface:#grobDialogSpec
   496      ImageEditor new openInterface:#gropDialogSpec
   497     "
   497     "
   498 
   498 
   499     <resource: #canvas>
   499     <resource: #canvas>
   500 
   500 
   501     ^
   501     ^ 
   502      
   502      #(#FullSpec
   503        #(#FullSpec
   503         #name: #gropDialogSpec
   504           #window: 
   504         #window: 
   505            #(#WindowSpec
   505        #(#WindowSpec
   506               #name: 'Crop Borders'
   506           #label: 'Crop Borders'
   507               #layout: #(#LayoutFrame 22 0 233 0 266 0 415 0)
   507           #name: 'Crop Borders'
   508               #label: 'Crop Borders'
   508           #min: #(#Point 10 10)
   509               #min: #(#Point 10 10)
   509           #max: #(#Point 800 478)
   510               #max: #(#Point 800 478)
   510           #bounds: #(#Rectangle 16 46 261 229)
   511               #bounds: #(#Rectangle 22 233 267 416)
   511         )
   512               #usePreferredExtent: false
   512         #component: 
   513           )
   513        #(#SpecCollection
   514           #component: 
   514           #collection: #(
   515            #(#SpecCollection
   515            #(#LabelSpec
   516               #collection: 
   516               #label: 'Left:'
   517                #(
   517               #name: 'Label1'
   518                  #(#LabelSpec
   518               #layout: #(#LayoutFrame 14 0 21 0 90 0 43 0)
   519                     #name: 'Label1'
   519               #translateLabel: true
   520                     #layout: #(#LayoutFrame 14 0 21 0 90 0 43 0)
   520               #adjust: #right
   521                     #label: 'Left:'
   521             )
       
   522            #(#InputFieldSpec
       
   523               #name: 'EntryField1'
       
   524               #layout: #(#LayoutFrame 95 0 21 0 132 0 43 0)
       
   525               #model: #left
       
   526               #type: #number
       
   527               #acceptOnPointerLeave: false
       
   528             )
       
   529            #(#LabelSpec
       
   530               #label: 'Right:'
       
   531               #name: 'Label2'
       
   532               #layout: #(#LayoutFrame 14 0 51 0 90 0 73 0)
       
   533               #translateLabel: true
       
   534               #adjust: #right
       
   535             )
       
   536            #(#InputFieldSpec
       
   537               #name: 'EntryField2'
       
   538               #layout: #(#LayoutFrame 95 0 51 0 132 0 73 0)
       
   539               #model: #right
       
   540               #type: #number
       
   541               #acceptOnPointerLeave: false
       
   542             )
       
   543            #(#LabelSpec
       
   544               #label: 'Top:'
       
   545               #name: 'Label3'
       
   546               #layout: #(#LayoutFrame 14 0 81 0 90 0 103 0)
       
   547               #translateLabel: true
       
   548               #adjust: #right
       
   549             )
       
   550            #(#InputFieldSpec
       
   551               #name: 'EntryField3'
       
   552               #layout: #(#LayoutFrame 95 0 81 0 132 0 103 0)
       
   553               #model: #top
       
   554               #type: #number
       
   555               #acceptOnPointerLeave: false
       
   556             )
       
   557            #(#LabelSpec
       
   558               #label: 'Bottom:'
       
   559               #name: 'Label4'
       
   560               #layout: #(#LayoutFrame 14 0 111 0 90 0 133 0)
       
   561               #translateLabel: true
       
   562               #adjust: #right
       
   563             )
       
   564            #(#InputFieldSpec
       
   565               #name: 'EntryField4'
       
   566               #layout: #(#LayoutFrame 95 0 111 0 132 0 133 0)
       
   567               #model: #bottom
       
   568               #type: #number
       
   569               #acceptOnPointerLeave: false
       
   570             )
       
   571            #(#HorizontalPanelViewSpec
       
   572               #name: 'HorizontalPanel1'
       
   573               #layout: #(#LayoutFrame 0 0.0 -30 1 0 1.0 0 1)
       
   574               #horizontalLayout: #fitSpace
       
   575               #verticalLayout: #center
       
   576               #horizontalSpace: 3
       
   577               #verticalSpace: 3
       
   578               #reverseOrderIfOKAtLeft: true
       
   579               #component: 
       
   580              #(#SpecCollection
       
   581                 #collection: #(
       
   582                  #(#ActionButtonSpec
       
   583                     #label: 'Cancel'
       
   584                     #name: 'Button1'
   522                     #translateLabel: true
   585                     #translateLabel: true
   523                     #adjust: #right
   586                     #model: #cancel
   524                 )
   587                     #extent: #(#Point 118 22)
   525                  #(#InputFieldSpec
   588                   )
   526                     #name: 'EntryField1'
   589                  #(#ActionButtonSpec
   527                     #layout: #(#LayoutFrame 95 0 21 0 132 0 43 0)
   590                     #label: 'OK'
   528                     #model: #left
   591                     #name: 'Button2'
   529                     #type: #number
       
   530                 )
       
   531                  #(#LabelSpec
       
   532                     #name: 'Label2'
       
   533                     #layout: #(#LayoutFrame 14 0 51 0 90 0 73 0)
       
   534                     #label: 'Right:'
       
   535                     #translateLabel: true
   592                     #translateLabel: true
   536                     #adjust: #right
   593                     #model: #accept
   537                 )
   594                     #extent: #(#Point 118 22)
   538                  #(#InputFieldSpec
   595                   )
   539                     #name: 'EntryField2'
   596                  )
   540                     #layout: #(#LayoutFrame 95 0 51 0 132 0 73 0)
   597                
   541                     #model: #right
       
   542                     #type: #number
       
   543                 )
       
   544                  #(#LabelSpec
       
   545                     #name: 'Label3'
       
   546                     #layout: #(#LayoutFrame 14 0 81 0 90 0 103 0)
       
   547                     #label: 'Top:'
       
   548                     #translateLabel: true
       
   549                     #adjust: #right
       
   550                 )
       
   551                  #(#InputFieldSpec
       
   552                     #name: 'EntryField3'
       
   553                     #layout: #(#LayoutFrame 95 0 81 0 132 0 103 0)
       
   554                     #model: #top
       
   555                     #type: #number
       
   556                 )
       
   557                  #(#LabelSpec
       
   558                     #name: 'Label4'
       
   559                     #layout: #(#LayoutFrame 14 0 111 0 90 0 133 0)
       
   560                     #label: 'Bottom:'
       
   561                     #translateLabel: true
       
   562                     #adjust: #right
       
   563                 )
       
   564                  #(#InputFieldSpec
       
   565                     #name: 'EntryField4'
       
   566                     #layout: #(#LayoutFrame 95 0 111 0 132 0 133 0)
       
   567                     #model: #bottom
       
   568                     #type: #number
       
   569                 )
       
   570                  #(#HorizontalPanelViewSpec
       
   571                     #name: 'HorizontalPanel1'
       
   572                     #layout: #(#LayoutFrame 0 0.0 -30 1 0 1.0 0 1)
       
   573                     #component: 
       
   574                      #(#SpecCollection
       
   575                         #collection: 
       
   576                          #(
       
   577                            #(#ActionButtonSpec
       
   578                               #name: 'Button1'
       
   579                               #label: 'Cancel'
       
   580                               #translateLabel: true
       
   581                               #model: #cancel
       
   582                               #extent: #(#Point 118 22)
       
   583                           )
       
   584                            #(#ActionButtonSpec
       
   585                               #name: 'Button2'
       
   586                               #label: 'OK'
       
   587                               #translateLabel: true
       
   588                               #model: #accept
       
   589                               #extent: #(#Point 118 22)
       
   590                           )
       
   591                         )
       
   592                     )
       
   593                     #horizontalLayout: #fitSpace
       
   594                     #verticalLayout: #center
       
   595                     #horizontalSpace: 3
       
   596                     #verticalSpace: 3
       
   597                 )
       
   598               )
   598               )
   599           )
   599             )
       
   600            )
       
   601          
       
   602         )
   600       )
   603       )
   601 
       
   602     "Modified: / 7.9.1998 / 18:29:34 / cg"
       
   603 !
   604 !
   604 
   605 
   605 windowSpec
   606 windowSpec
   606     "This resource specification was automatically generated
   607     "This resource specification was automatically generated
   607      by the UIPainter of ST/X."
   608      by the UIPainter of ST/X."