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/updatewidget.pro

    r47 r49  
    1 PRO updatewidget, base, NOBOITE = noboite, NODATES = nodates, NOTYPE = notype 
     1PRO updatewidget, base, NOBOXZOOM = noboxzoom, NODATES = nodates, NOTYPE = notype 
    22;---------------------------------------------------------------------- 
    33   widget_control,base, get_uvalue = top_uvalue 
    4    petitin = extractatt(top_uvalue, 'petitin') 
    5    numdessinin = petitin[2]-1 
     4   smallin = extractatt(top_uvalue, 'smallin') 
     5   numdessinin = smallin[2]-1 
    66; 
    77;---------------------------------------------------------------------- 
     
    2020; domaine 
    2121;-------------- 
    22    boite = (extractatt(top_uvalue, 'domaines'))[*, numdessinin] 
    23    if total(boite) EQ 0 then boite = -1 
    24    if keyword_set(noboite) then boite = 0 
     22   boxzoom = (extractatt(top_uvalue, 'domaines'))[*, numdessinin] 
     23   if total(boxzoom) EQ 0 then boxzoom = -1 
     24   if keyword_set(noboxzoom) then boxzoom = 0 
    2525;-------------- 
    2626; champ: filename & nomvar 
     
    3030; 
    3131   if filename NE '' OR nomvar NE '' THEN BEGIN 
    32       changefile, base, filename, fieldname = nomvar, BOITE = boite, DATE1 = date1, DATE2 = date2 
     32      changefile, base, filename, fieldname = nomvar, BOXZOOM = boxzoom, DATE1 = date1, DATE2 = date2 
    3333   ENDIF ELSE BEGIN 
    3434      if date1 NE 0 then begin 
     
    4040         widget_control, date2id, set_value = date2 
    4141      endif 
    42       if keyword_set(boite) then BEGIN  
     42      if keyword_set(boxzoom) then BEGIN  
    4343         domainid = widget_info(base, find_by_uname = 'domain') 
    44          widget_control, domainid, set_value = boite 
     44         widget_control, domainid, set_value = boxzoom 
    4545      endif 
    4646   ENDELSE 
Note: See TracChangeset for help on using the changeset viewer.