- Timestamp:
- 08/10/06 09:01:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/longclickaction.pro
r150 r152 57 57 !y = (extractatt(top_uvalue, 'yenvs'))[numdessin] 58 58 ;------------------------------------------------------------ 59 actionid = widget_info(event.top, find_by_uname = 'action') 60 type = widget_info(actionid, /combobox_gettext) 61 ;------------------------------------------------------------ 59 62 ; Change the domain box: 60 63 ;------------------------------------------------------------ … … 63 66 y = [coor[1, 0], coor[1, 1]] 64 67 domainid = widget_info(event.top, find_by_uname = 'domain') 65 boxzoom = [x, y] 68 IF type EQ 'pltv' THEN BEGIN 69 currentfile = extractatt(top_uvalue, 'currentfile') 70 listgrid = (*(extractatt(top_uvalue, 'fileparameters'))[currentfile]).listgrid 71 listvar = (*(extractatt(top_uvalue, 'fileparameters'))[currentfile]).listvar 72 vlstid = widget_info(event.top, find_by_uname = 'varlist') 73 namevar = widget_info(vlstid, /combobox_gettext) 74 indexvar = where(listvar EQ namevar) 75 vargrid = strupcase(listgrid[indexvar]) 76 grille, -1, glam, gphi 77 boxzoom = [glam[x[0], y[0]], glam[x[1], y[1]], gphi[x[0], y[0]], gphi[x[1], y[1]]] 78 ENDIF ELSE boxzoom = [x, y] 66 79 ; Do we have to pass the boxzoom in indexes ??? 67 80 currentplot = (extractatt(top_uvalue, 'smallin'))[2]-1 … … 88 101 widget_control, domainid, set_value = boxzoom 89 102 ; 90 ;------------------------------------------------------------91 actionid = widget_info(event.top, find_by_uname = 'action')92 type = widget_info(actionid, /combobox_gettext)93 103 case uval.press of 94 104 1:BEGIN
Note: See TracChangeset
for help on using the changeset viewer.