Changeset 87b1c46 in tol for tolbase/lib/toltk/bysgraph.tcl
- Timestamp:
- Nov 15, 2016, 9:03:42 AM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 4592f76
- Parents:
- 06f7d3d
- File:
-
- 1 edited
-
tolbase/lib/toltk/bysgraph.tcl (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/bysgraph.tcl
r06f7d3d r87b1c46 16 16 package require Tk 17 17 package require BWidget 18 package require BLT18 package require RBC 19 19 Bitmap::use 20 20 set toltk_script_path [file dirname [info script]] … … 37 37 # tmpOpt -> temporary array used to store the widgets and variables of the 38 38 # options dialog. 39 # instance -> asociative array of bltgraph widget's path with the instance39 # instance -> asociative array of rbc graph widget's path with the instance 40 40 # of bayesGraph. 41 41 # … … 138 138 set i 0 139 139 foreach fr $panel { 140 set widgets(gr,$i) [ blt::graph $fr.gr]140 set widgets(gr,$i) [rbc::graph $fr.gr] 141 141 set instance($fr.gr) $Instance 142 142 pack $widgets(gr,$i) -fill both -expand yes … … 686 686 proc ::bayesGraph::ZoomFrame { this } { 687 687 # 688 # PURPOSE: Sets zoom-frame mode for the bltgraph688 # PURPOSE: Sets zoom-frame mode for the rbc graph 689 689 # 690 690 # PARAMETERS: … … 699 699 proc ::bayesGraph::ZoomIn { this } { 700 700 # 701 # PURPOSE: Sets zoom-in mode for the bltgraph701 # PURPOSE: Sets zoom-in mode for the rbc graph 702 702 # 703 703 # PARAMETERS: … … 713 713 proc ::bayesGraph::ZoomOut { this } { 714 714 # 715 # PURPOSE: Sets zoom-out mode for the bltgraph715 # PURPOSE: Sets zoom-out mode for the rbc graph 716 716 # 717 717 # PARAMETERS: … … 727 727 proc ::bayesGraph::ScrollView { this } { 728 728 # 729 # PURPOSE: Sets scroll mode for the bltgraph729 # PURPOSE: Sets scroll mode for the rbc graph 730 730 # 731 731 # PARAMETERS: … … 741 741 proc ::bayesGraph::SetViewMode { this mode } { 742 742 # 743 # PURPOSE: Sets zoom (or scroll) mode for the bltgraph. It also enables and743 # PURPOSE: Sets zoom (or scroll) mode for the rbc graph. It also enables and 744 744 # disables toolbar buttons and sets cursors types acording to the 745 745 # mode choosen. … … 747 747 # PARAMETERS: 748 748 # this -> bayesgraph instance 749 # mode -> mode for the bltgraph749 # mode -> mode for the rbc graph 750 750 # 751 751 #///////////////////////////////////////////////////////////////////////////// … … 766 766 set item $widgets(gr,$gr) 767 767 $item configure -cursor $widgets(cursor,$active) 768 Blt_ViewMode $item $active768 Rbc_ViewMode $item $active 769 769 } 770 770 … … 837 837 for {set i 0} {$i<$data(gr,numGraph)} {incr i 1} { 838 838 set item $widgets(gr,$i) 839 blt::Crosshairs $item839 rbc::Crosshairs $item 840 840 } 841 841 } else { 842 842 for {set i 0} {$i<$data(gr,numGraph)} {incr i 1} { 843 843 set item $widgets(gr,$i) 844 blt::ClearCrosshairs $item844 rbc::ClearCrosshairs $item 845 845 } 846 846 }
Note: See TracChangeset
for help on using the changeset viewer.
