- Timestamp:
- 04/17/14 10:49:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_calendar.pro
r371 r495 35 35 ; return 36 36 ; END 37 ;38 ;39 37 ;+ 40 38 ; … … 72 70 widget_control, winfo_id, get_uvalue = infowid 73 71 key_caltype = infowid.caltype 74 ; high freq euncy calendar72 ; high frequency calendar 75 73 IF keyword_set(infowid.fakecal) THEN BEGIN 76 74 value2 = date2jul(long(value)) - infowid.fakecal … … 104 102 ; @file_comments 105 103 ; 106 ;107 104 ; @categories 108 105 ; Compound widget 109 106 ; 110 107 ; @param ID 111 ;112 108 ; 113 109 ; @returns … … 137 133 ; @file_comments 138 134 ; 139 ;140 135 ; @categories 141 136 ; Compound widget … … 143 138 ; @param ID 144 139 ; 145 ;146 140 ; @param WINFOID 147 ;148 141 ; 149 142 ; @returns … … 182 175 month = (where(allmonths EQ wid_value.combobox_gettext))[0] + 1 183 176 date = date + 100L * long(month) 184 ENDIF ELSE date = date + (oldate MOD 10000L)/ 100L*100L177 ENDIF ELSE date = date + (oldate MOD 10000L)/ 100L * 100L 185 178 ;-------------year---------------- 186 179 wid_id = widget_info(id, find_by_uname = 'year') … … 198 191 ;+ 199 192 ; @file_comments 200 ;201 193 ; 202 194 ; @categories … … 300 292 ; @file_comments 301 293 ; 302 ;303 294 ; @categories 304 295 ; Compound widget … … 306 297 ; @param EVENT 307 298 ; 308 ;309 299 ; @param CASENAME 310 ;311 300 ; 312 301 ; @returns … … 359 348 ; 360 349 ; @param EVENT 361 ;362 350 ; 363 351 ; @returns … … 424 412 ; @file_comments 425 413 ; 426 ;427 414 ; @categories 428 415 ; Compound widget … … 433 420 ; @param CALENDAR 434 421 ; 435 ;436 422 ; @param JDATE0 437 423 ; … … 440 426 ; @keyword FAKECAL 441 427 ; 442 ;443 428 ; @keyword UVALUE 444 429 ; 445 430 ; @keyword UNAME 446 ;447 431 ; 448 432 ; @keyword _EXTRA … … 524 508 monthindex = where(yearcal EQ year0) 525 509 currentmonth = long(monthcal[monthindex]) 526 ; we suppress the repe ted months510 ; we suppress the repeated months 527 511 monthindexbis = uniq(currentmonth, sort(currentmonth)) 528 512 monthindex = monthindex[monthindexbis]
Note: See TracChangeset
for help on using the changeset viewer.