Ignore:
Timestamp:
Nov 15, 2016, 9:03:42 AM (10 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
4592f76
Parents:
06f7d3d
Message:

Refs #1933
Se sustituye BLT por RBC.
Se prescinde de otros widgets no usados, dependientes de BLT. (Véanse loadByswidget.tcl y pkgIndex.tcl)

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7340 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/bysgraph.tcl

    r06f7d3d r87b1c46  
    1616  package require Tk
    1717  package require BWidget
    18   package require BLT 
     18  package require RBC 
    1919  Bitmap::use
    2020  set toltk_script_path [file dirname [info script]]
    … …  
    3737#   tmpOpt  -> temporary array used to store the widgets and variables of the
    3838#              options dialog.
    39 #   instance -> asociative array of blt graph widget's path with the instance
     39#   instance -> asociative array of rbc graph widget's path with the instance
    4040#              of bayesGraph.
    4141#
    … …  
    138138  set i 0
    139139  foreach fr $panel {
    140     set widgets(gr,$i) [blt::graph $fr.gr]
     140    set widgets(gr,$i) [rbc::graph $fr.gr]
    141141    set instance($fr.gr) $Instance
    142142    pack $widgets(gr,$i) -fill both -expand yes
    … …  
    686686  proc ::bayesGraph::ZoomFrame { this } {
    687687#
    688 # PURPOSE: Sets zoom-frame mode for the blt graph
     688# PURPOSE: Sets zoom-frame mode for the rbc graph
    689689#     
    690690# PARAMETERS:
    … …  
    699699  proc ::bayesGraph::ZoomIn { this } {
    700700#
    701 # PURPOSE: Sets zoom-in mode for the blt graph
     701# PURPOSE: Sets zoom-in mode for the rbc graph
    702702#     
    703703# PARAMETERS:
    … …  
    713713  proc ::bayesGraph::ZoomOut { this } {
    714714#
    715 # PURPOSE: Sets zoom-out mode for the blt graph
     715# PURPOSE: Sets zoom-out mode for the rbc graph
    716716#     
    717717# PARAMETERS:
    … …  
    727727  proc ::bayesGraph::ScrollView { this } {
    728728#
    729 # PURPOSE: Sets scroll mode for the blt graph
     729# PURPOSE: Sets scroll mode for the rbc graph
    730730#     
    731731# PARAMETERS:
    … …  
    741741  proc ::bayesGraph::SetViewMode { this mode } {
    742742#
    743 # PURPOSE: Sets zoom (or scroll) mode for the blt graph. It also enables and
     743# PURPOSE: Sets zoom (or scroll) mode for the rbc graph. It also enables and
    744744#          disables toolbar buttons and sets cursors types acording to the
    745745#          mode choosen.
    … …  
    747747# PARAMETERS:
    748748#   this -> bayesgraph instance
    749 #   mode -> mode for the blt graph
     749#   mode -> mode for the rbc graph
    750750#
    751751#/////////////////////////////////////////////////////////////////////////////
    … …  
    766766    set item $widgets(gr,$gr)
    767767    $item configure -cursor $widgets(cursor,$active)
    768     Blt_ViewMode $item $active
     768    Rbc_ViewMode $item $active
    769769  }
    770770
    … …  
    837837    for  {set i 0} {$i<$data(gr,numGraph)} {incr i 1} {
    838838      set item $widgets(gr,$i)
    839       blt::Crosshairs $item
     839      rbc::Crosshairs $item
    840840    }   
    841841  } else {
    842842    for  {set i 0} {$i<$data(gr,numGraph)} {incr i 1} {
    843843      set item $widgets(gr,$i)
    844       blt::ClearCrosshairs $item
     844      rbc::ClearCrosshairs $item
    845845    }
    846846  }
Note: See TracChangeset for help on using the changeset viewer.