- Timestamp:
- Apr 20, 2009 12:59:17 PM (15 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/imageresult.tcl
r1343 r1406 313 313 # to the BLT picture image it won't be necessary to decode the 314 314 # image data. 315 set bytes [$top data $tmpfile-format "jpeg -quality 100"]315 set bytes [$top data -format "jpeg -quality 100"] 316 316 set bytes [Rappture::encoding::decode -as b64 $bytes] 317 317 return [list .jpg $bytes] -
trunk/gui/scripts/molvisviewer.tcl
r1391 r1406 86 86 private method WaitIcon { option widget } 87 87 private variable icon_ 0 88 private variable _inrebuild 089 88 90 89 private variable _mevent ;# info used for mouse event operations … … 261 260 bind $itk_component(ortho) <ButtonPress> \ 262 261 [itcl::code $this projection toggle] 263 $this projection perspective264 262 265 263 _BuildViewTab … … 623 621 #debug "success: reading $size bytes from proxy\n" 624 622 if { $cacheid == "print" } { 625 puts stderr "got hardcopy token"626 623 # $frame is the token that we sent to the proxy. 627 624 set hardcopy_($this-$frame) $data … … 643 640 # ---------------------------------------------------------------------- 644 641 itcl::body Rappture::MolvisViewer::_rebuild {} { 645 if { $_inrebuild } {646 # don't allow overlapping rebuild calls647 return648 }649 642 debug "in rebuild" 650 #set _inrebuild 1651 643 set changed 0 652 644 … … 803 795 representation update 804 796 805 set _inrebuild 0806 797 $itk_component(3dview) configure -cursor "" 807 798 debug "exiting rebuild" … … 904 895 if { $_image(id) != "$tag" } { 905 896 if { [info exists _imagecache($tag)] } { 906 #puts stderr "DISPLAYING CACHED IMAGE"907 897 $_image(plot) configure -data $_imagecache($tag) 908 898 set _image(id) "$tag" … … 1063 1053 itcl::body Rappture::MolvisViewer::_rotate {option x y} { 1064 1054 set now [clock clicks -milliseconds] 1065 update idletasks1055 #update idletasks 1066 1056 # cancel any pending delayed dragging events 1067 1057 if { [info exists _mevent(afterid)] } { -
trunk/gui/scripts/nanovisviewer.tcl
r1405 r1406 107 107 private method BuildCameraTab {} 108 108 private method PanCamera {} 109 110 109 111 110 private variable outbuf_ ;# buffer for outgoing commands
Note: See TracChangeset
for help on using the changeset viewer.