Changeset 137 for trunk/SRC/Colors/xlct.pro
- Timestamp:
- 07/12/06 11:33:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Colors/xlct.pro
r136 r137 1 1 ;+ 2 ; @hidden 3 ;- 2 4 PRO XLCT_PSAVE ;Save/Restore our plotting state. 3 5 ; Swaps our state with the current state each time its called. … … 23 25 end 24 26 27 ;+ 28 ; @hidden 29 ;- 25 30 pro xlct_alert_caller 26 31 ; … … 52 57 53 58 ; Redraw the ramp image. 59 ;+ 60 ; @hidden 61 ;- 54 62 PRO xlct_show 55 63 ; … … 72 80 END 73 81 82 ;+ 83 ; @hidden 84 ; @param i 85 ; ??? 86 ; @param c 87 ; ??? 88 ;- 74 89 PRO xlct_draw_cps, i, c 75 90 ; … … 93 108 end 94 109 110 ;+ 111 ; @hidden 112 ; @keyword UPDATE 113 ; ??? 114 ;- 95 115 PRO xlct_transfer, UPDATE=update 96 116 ; … … 125 145 end 126 146 147 ;+ 148 ; @hidden 149 ; @param event 150 ; ??? 151 ;- 127 152 PRO xlct_event, event 128 153 ; … … 375 400 ; palette.tbl which can be in any directory 376 401 ; 377 ; @categories Widgets 378 ; 379 ; @keyword FILE If this keyword is set, the file by the given name is used 380 ; instead of the file colors1.tbl in the IDL directory. This 381 ; allows multiple IDL users to have their own color table file. 382 ; @keyword GROUP The widget ID of the widget that calls Xlct. When 383 ; this ID is specified, a death of the caller results in a 384 ; death of Xlct 385 ; @keyword NCOLORS = number of colors to use. Use color indexes from BOTTOM 386 ; to the smaller of !D.TABLE_SIZE-1 and NCOLORS-1. 387 ; Default = !D.TABLE_SIZE = all available colors. 388 ; @keyword BOTTOM = first color index to use. Use color indexes from BOTTOM to 389 ; BOTTOM+NCOLORS-1. Default = 0. 390 ; @keyword SILENT - Normally, no informational message is printed when 391 ; a color map is loaded. If this keyword is present and 392 ; zero, this message is printed. 393 ; @keyword USE_CURRENT: If set, use the current color tables, regardless of 394 ; the contents of the COMMON block COLORS. 395 ; @keyword MODAL: If set, then XLCT runs in "modal" mode, meaning that 396 ; all other widgets are blocked until the user quits XLCT. 397 ; A group leader must be specified (via the GROUP keyword) 398 ; for the MODAL keyword to have any effect. The default 399 ; is to not run in modal mode. 400 ; @keyword BLOCK: Set this keyword to have XMANAGER block when this 401 ; application is registered. By default the Xmanager 402 ; keyword NO_BLOCK is set to 1 to provide access to the 403 ; command line if active command line processing is available. 404 ; Note that setting BLOCK for this application will cause 405 ; all widget applications to block, not only this 406 ; application. For more information see the NO_BLOCK keyword 407 ; to XMANAGER. 408 ; @keyword UPDATECALLBACK: Set this keyword to a string containing the name of 409 ; a user-supplied procedure that will be called when the color 410 ; table is updated by XLCT. The procedure may optionally 411 ; accept a keyword called DATA, which will be automatically 412 ; set to the value specified by the optional UPDATECBDATA 413 ; keyword. 414 ; @keyword UPDATECBDATA: Set this keyword to a value of any type. It will be 415 ; passed via the DATA keyword to the user-supplied procedure 416 ; specified via the UPDATECALLBACK keyword, if any. If the 417 ; UPDATECBDATA keyword is not set the value accepted by the 418 ; DATA keyword to the procedure specified by UPDATECALLBACK 419 ; will be undefined. 420 ; 421 ; @restrictions One of the predefined color maps may be loaded. 422 ; 423 ; @restrictions This routine uses the LOADCT user library procedure to 424 ; do the actual work. 425 ; 426 ; @history 5/5/1999 copie de xloadct par Sebastien Masson (smlod@ipsl.jussieu.fr) 402 ; @categories Widgets, Color 403 ; 404 ; @keyword FILE {default='palette.tbl'} 405 ; If this keyword is set, the file by the given name is used 406 ; instead of the file colors1.tbl in the IDL directory. This 407 ; allows multiple IDL users to have their own color table file. 408 ; 409 ; @keyword GROUP 410 ; The widget ID of the widget that calls Xlct. When this ID is 411 ; specified, a death of the caller results in a death of Xlct 412 413 ; @keyword NCOLORS {default=!D.TABLE_SIZE = all available colors} 414 ; number of colors to use. Use color indexes from BOTTOM to the 415 ; smaller of !D.TABLE_SIZE-1 and NCOLORS-1. 416 ; 417 ; @keyword BOTTOM {default=0.} 418 ; first color index to use. Use color indexes from BOTTOM to 419 ; BOTTOM+NCOLORS-1. 420 ; 421 ; @keyword SILENT 422 ; Normally, no informational message is printed when a color map 423 ; is loaded. If this keyword is present and zero, this message is printed. 424 ; 425 ; @keyword USE_CURRENT 426 ; If set, use the current color tables, regardless of 427 ; the contents of the COMMON block COLORS. 428 ; 429 ; @keyword MODAL {default=not run in modal mode} 430 ; If set, then XLCT runs in "modal" mode, meaning that 431 ; all other widgets are blocked until the user quits XLCT. 432 ; A group leader must be specified (via the GROUP keyword) 433 ; for the MODAL keyword to have any effect. 434 ; 435 ; @keyword BLOCK 436 ; Set this keyword to have XMANAGER block when this 437 ; application is registered. By default the Xmanager 438 ; keyword NO_BLOCK is set to 1 to provide access to the 439 ; command line if active command line processing is available. 440 ; Note that setting BLOCK for this application will cause 441 ; all widget applications to block, not only this 442 ; application. For more information see the NO_BLOCK keyword 443 ; to XMANAGER. 444 ; 445 ; @keyword UPDATECALLBACK 446 ; Set this keyword to a string containing the name of 447 ; a user-supplied procedure that will be called when the color 448 ; table is updated by XLCT. The procedure may optionally 449 ; accept a keyword called DATA, which will be automatically 450 ; set to the value specified by the optional UPDATECBDATA keyword. 451 ; 452 ; @keyword UPDATECBDATA 453 ; Set this keyword to a value of any type. It will be 454 ; passed via the DATA keyword to the user-supplied procedure 455 ; specified via the UPDATECALLBACK keyword, if any. If the 456 ; UPDATECBDATA keyword is not set the value accepted by the 457 ; DATA keyword to the procedure specified by UPDATECALLBACK 458 ; will be undefined. 459 ; 460 ; @history 5/5/1999 copie de xloadct par Sebastien Masson (smasson\@lodyc.jussieu.fr) 427 461 ; 428 462 ; @version $Id$
Note: See TracChangeset
for help on using the changeset viewer.