ImageEditor.st
changeset 494 b73d69538b6f
parent 493 fb8d3621eb2e
child 497 13ce380baa5f
equal deleted inserted replaced
493:fb8d3621eb2e 494:b73d69538b6f
   680      
   680      
   681        #(#FullSpec
   681        #(#FullSpec
   682           #'window:' 
   682           #'window:' 
   683            #(#WindowSpec
   683            #(#WindowSpec
   684               #'name:' 'Image Editor'
   684               #'name:' 'Image Editor'
   685               #'layout:' #(#LayoutFrame 283 0 168 0 782 0 513 0)
   685               #'layout:' #(#LayoutFrame 197 0 172 0 696 0 517 0)
   686               #'label:' 'Image Editor'
   686               #'label:' 'Image Editor'
   687               #'min:' #(#Point 400 320)
   687               #'min:' #(#Point 400 320)
   688               #'max:' #(#Point 1152 900)
   688               #'max:' #(#Point 1152 900)
   689               #'bounds:' #(#Rectangle 283 168 783 514)
   689               #'bounds:' #(#Rectangle 197 172 697 518)
   690               #'menu:' #menu
   690               #'menu:' #menu
   691               #'usePreferredExtent:' false
   691               #'usePreferredExtent:' false
   692           )
   692           )
   693           #'component:' 
   693           #'component:' 
   694            #(#SpecCollection
   694            #(#SpecCollection
   726                                                   #'layout:' #(#LayoutFrame 13 0 20 0 35 0 42 0)
   726                                                   #'layout:' #(#LayoutFrame 13 0 20 0 35 0 42 0)
   727                                                   #'activeHelpKey:' #magnifyImageDown
   727                                                   #'activeHelpKey:' #magnifyImageDown
   728                                                   #'model:' #magnifyDown
   728                                                   #'model:' #magnifyDown
   729                                                   #'enableChannel:' #imageIsLoaded
   729                                                   #'enableChannel:' #imageIsLoaded
   730                                                   #'isTriggerOnDown:' true
   730                                                   #'isTriggerOnDown:' true
   731                                                   #'autoRepeat:' true
       
   732                                                   #'direction:' #left
   731                                                   #'direction:' #left
   733                                               )
   732                                               )
   734                                                #(#ArrowButtonSpec
   733                                                #(#ArrowButtonSpec
   735                                                   #'name:' 'magnifyUpButton'
   734                                                   #'name:' 'magnifyUpButton'
   736                                                   #'layout:' #(#LayoutFrame 73 0 20 0 95 0 42 0)
   735                                                   #'layout:' #(#LayoutFrame 73 0 20 0 95 0 42 0)
   737                                                   #'activeHelpKey:' #magnifyImageUp
   736                                                   #'activeHelpKey:' #magnifyImageUp
   738                                                   #'model:' #magnifyUp
   737                                                   #'model:' #magnifyUp
   739                                                   #'enableChannel:' #imageIsLoaded
   738                                                   #'enableChannel:' #imageIsLoaded
   740                                                   #'isTriggerOnDown:' true
   739                                                   #'isTriggerOnDown:' true
   741                                                   #'autoRepeat:' true
       
   742                                                   #'direction:' #right
   740                                                   #'direction:' #right
   743                                               )
   741                                               )
   744                                                #(#InputFieldSpec
   742                                                #(#InputFieldSpec
   745                                                   #'name:' 'magnificationInputField'
   743                                                   #'name:' 'magnificationInputField'
   746                                                   #'layout:' #(#LayoutFrame 36 0 20 0.0 72 0 42 0)
   744                                                   #'layout:' #(#LayoutFrame 36 0 20 0.0 72 0 42 0)
   755                                             )
   753                                             )
   756                                         )
   754                                         )
   757                                         #'label:' 'Magnification'
   755                                         #'label:' 'Magnification'
   758                                         #'labelPosition:' #topLeft
   756                                         #'labelPosition:' #topLeft
   759                                         #'style:' #(#FontDescription #helvetica #medium #roman 12)
   757                                         #'style:' #(#FontDescription #helvetica #medium #roman 12)
       
   758                                     )
       
   759                                      #(#ArbitraryComponentSpec
       
   760                                         #'name:' 'imagePreView'
       
   761                                         #'layout:' #(#LayoutFrame 111 0.0 9 0.0 -6 1 60 0)
       
   762                                         #'activeHelpKey:' #previewView
       
   763                                         #'hasHorizontalScrollBar:' true
       
   764                                         #'hasVerticalScrollBar:' true
       
   765                                         #'miniScrollerHorizontal:' true
       
   766                                         #'miniScrollerVertical:' true
       
   767                                         #'component:' #ImageView
       
   768                                         #'hasBorder:' true
   760                                     )
   769                                     )
   761                                      #(#FramedBoxSpec
   770                                      #(#FramedBoxSpec
   762                                         #'name:' 'framedBox2'
   771                                         #'name:' 'framedBox2'
   763                                         #'layout:' #(#LayoutFrame 1 0.0 68 0 0 1.0 -66 1)
   772                                         #'layout:' #(#LayoutFrame 1 0.0 68 0 0 1.0 -66 1)
   764                                         #'component:' 
   773                                         #'component:' 
   882                                         #'horizontalLayout:' #fit
   891                                         #'horizontalLayout:' #fit
   883                                         #'verticalLayout:' #fit
   892                                         #'verticalLayout:' #fit
   884                                         #'horizontalSpace:' 3
   893                                         #'horizontalSpace:' 3
   885                                         #'verticalSpace:' 3
   894                                         #'verticalSpace:' 3
   886                                     )
   895                                     )
   887                                      #(#ArbitraryComponentSpec
       
   888                                         #'name:' 'imagePreView'
       
   889                                         #'layout:' #(#LayoutFrame 111 0.0 9 0.0 -6 1 60 0)
       
   890                                         #'activeHelpKey:' #previewView
       
   891                                         #'hasHorizontalScrollBar:' true
       
   892                                         #'hasVerticalScrollBar:' true
       
   893                                         #'miniScrollerHorizontal:' true
       
   894                                         #'miniScrollerVertical:' true
       
   895                                         #'component:' #ImageView
       
   896                                         #'hasBorder:' true
       
   897                                     )
       
   898                                   )
   896                                   )
   899                               )
   897                               )
   900                               #'level:' -1
   898                               #'level:' -1
   901                           )
   899                           )
   902                            #(#ViewSpec
   900                            #(#ViewSpec