Ignore:
Timestamp:
Mar 28, 2016 6:30:14 AM (8 years ago)
Author:
ldelgass
Message:

merge viewer cleanups from trunk

Location:
branches/1.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6

  • branches/1.6/gui/scripts/vtkviewer.tcl

    r6155 r6212  
    225225    #
    226226    $_parser alias image [itcl::code $this ReceiveImage]
     227    $_parser alias legend [itcl::code $this ReceiveLegend]
    227228    $_parser alias dataset [itcl::code $this ReceiveDataset]
    228     $_parser alias legend [itcl::code $this ReceiveLegend]
    229229
    230230    # Initialize the view to some default parameters.
     
    305305    set c $itk_component(view)
    306306    bind $c <Configure> [itcl::code $this EventuallyResize %w %h]
    307     bind $c <4> [itcl::code $this Zoom in 0.25]
    308     bind $c <5> [itcl::code $this Zoom out 0.25]
    309     bind $c <KeyPress-Left>  [list %W xview scroll 10 units]
    310     bind $c <KeyPress-Right> [list %W xview scroll -10 units]
    311     bind $c <KeyPress-Up>    [list %W yview scroll 10 units]
    312     bind $c <KeyPress-Down>  [list %W yview scroll -10 units]
    313     bind $c <Enter> "focus %W"
    314307    bind $c <Control-F1> [itcl::code $this ToggleConsole]
    315308
Note: See TracChangeset for help on using the changeset viewer.