Ignore:
Timestamp:
05/09/06 11:47:44 (18 years ago)
Author:
pinsard
Message:

upgrade of AUTOUR_de_XXX according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/ : files

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildreadcommand.pro

    r47 r49  
    3131;------------------------------------------------------------ 
    3232;------------------------------------------------------------ 
    33 FUNCTION buildreadcommand, base, snameexp, procedure, type, BOITE = boite, COMPLETE = complete, NAMEFIELD = namefield 
     33FUNCTION buildreadcommand, base, snameexp, procedure, type, BOXZOOM = boxzoom, COMPLETE = complete, NAMEFIELD = namefield 
    3434;------------------------------------------------------------ 
    3535; on recuper les ID des differents widgets  
     
    4444;------------------------------------------------------------ 
    4545   widget_control,base, get_uvalue = top_uvalue 
    46    numdessinin = (extractatt(top_uvalue, 'petitin'))[2]-1 
    47    numdessinout = (extractatt(top_uvalue, 'petitout'))[2]-1 
     46   numdessinin = (extractatt(top_uvalue, 'smallin'))[2]-1 
     47   numdessinout = (extractatt(top_uvalue, 'smallout'))[2]-1 
    4848;--------------- 
    4949; determination du nom du fichier 
     
    103103   sdate1 = strtrim(date1, 1) & sdate2 = strtrim(date2, 1) 
    104104;--------------- 
    105 ; determination du nom de la boite  
     105; determination du nom de la boxzoom  
    106106;--------------- 
    107    if NOT keyword_set(boite) then widget_control, domainid, get_value = boite 
     107   if NOT keyword_set(boxzoom) then widget_control, domainid, get_value = boxzoom 
    108108; ecriture de celle-ci sous forme d''un string 
    109    box = '['+strtrim(boite[0], 1) 
    110    for i = 1, (n_elements(boite)-1) < (3+2*(strpos(type, 'z') EQ -1)) do $ 
    111     box = box+', '+strtrim(boite[i], 1) 
     109   box = '['+strtrim(boxzoom[0], 1) 
     110   for i = 1, (n_elements(boxzoom)-1) < (3+2*(strpos(type, 'z') EQ -1)) do $ 
     111    box = box+', '+strtrim(boxzoom[i], 1) 
    112112   if strpos(type, 'z') NE -1 then BEGIN 
    113113      @common 
     
    140140                  , 'if keyword_set(date2in) then date2 = date2in else date2 = '+sdate2 $ 
    141141                  , 'litchamp('+funclec_name+'('+snomvariable+', date1, date2,'+snameexp $ 
    142                   +',parent='+strtrim(base, 1)+',boite='+box+' $',', filename='+sfilename+' $' $ 
     142                  +',parent='+strtrim(base, 1)+',boxzoom='+box+' $',', filename='+sfilename+' $' $ 
    143143                  , ', _extra=mixstru(ex, extra)))'] 
    144144      (*top_uvalue[1, findline(top_uvalue, 'champs')])[*, numdessinout] = [filename, nomvariable] 
     
    149149                  , 'if keyword_set(date2in) then date2 = date2in else date2 = '+sdate2 $ 
    150150                  , 'litchamp('+funclec_name+'('+snomvariable+', date1, date2,'+snameexp $ 
    151                   +',parent='+strtrim(base, 1)+',boite='+box+' $',', filename='+sfilename+' $' $ 
     151                  +',parent='+strtrim(base, 1)+',boxzoom='+box+' $',', filename='+sfilename+' $' $ 
    152152                  , ', _extra=mixstru(ex, extra)))'] 
    153153   ENDELSE 
Note: See TracChangeset for help on using the changeset viewer.