home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / x11 / tuner / info_any.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-04  |  3.6 KB  |  82 lines

  1. /*    info.c
  2. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3.  
  4. This software is copyright (C) by the Lawrence Berkeley Laboratory.
  5. Permission is granted to reproduce this software for non-commercial
  6. purposes provided that this notice is left intact.
  7.  
  8. It is acknowledged that the U.S. Government has rights to this software
  9. under Contract DE-AC03-765F00098 between the U.S.  Department of Energy
  10. and the University of California.
  11.  
  12. This software is provided as a professional and academic contribution
  13. for joint exchange. Thus, it is experimental, and is provided ``as is'',
  14. with no warranties of any kind whatsoever, no support, no promise of
  15. updates, or printed documentation. By using this software, you
  16. acknowledge that the Lawrence Berkeley Laboratory and Regents of the
  17. University of California shall have no liability with respect to the
  18. infringement of other copyrights by any part of this software.
  19.  
  20. For further information about this notice, contact William Johnston,
  21. Bld. 50B, Rm. 2239, Lawrence Berkeley Laboratory, Berkeley, CA, 94720.
  22. (wejohnston@lbl.gov)
  23.  
  24. For further information about this software, contact:
  25.     Jin Guojun
  26.     Bld. 50B, Rm. 2275, Lawrence Berkeley Laboratory, Berkeley, CA, 94720.
  27.     g_jin@lbl.gov
  28.  
  29. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  30. */
  31. char    *ctrlist[numctrl] = {"INFO", "cut", "copy", "crop", "draw", "paste",
  32.         "paint", "annotate", "mean sub-area", "snap window", "NOP"},
  33.     *paralist[numpara] = {"FITS Type", "Change ETA Scale",
  34.         "Interpolating LEVEL", "R.G.B. Weight", "Background", "NOP"},
  35.     *filelist[numcomd] = {"Empty Frame", "Change DIR", "Loading Frame",
  36.             "map 1 to 3", "Output TYPE", "Quit", "NOP"},
  37.     *fontlist[numfont] = {"white", "blcak", "pick color in image",
  38.             "6x10", "8x16", "9x15", "10x20", "12x24",
  39.             "rot-s16", "vr-40", "vrl-40", "NOP"},
  40.     *Help_message_array1="\
  41. button:      LEFT            MIDDLE           RIGHT\n\
  42. alone :  value+coord      toggle-zoom         crop\n\
  43. +SHIFT:    Magnify        zoom-shift          Shrink\n\
  44. +CTRL :   EDIT-MENU       SCALE-MENU         FILE_MENU\n\
  45. CTRL + Any Button => show Control-Panel; Press 'c' key to close it.\n\
  46. \nfor multiple frame image from standard input, use '+' key \
  47. to go forward, and '-' key to go backward\n\
  48. press 'q' key in an image window to quit that image\n\
  49. press 'q' key on panel to quit system\n\
  50. more : see man tuner",
  51.  
  52. *display_name, *fname, *PasteMesg =
  53. {"Move Cursor to an Image and Click Button, Move cursor to a Point to Paste and Release Button"},
  54. *PaintMesg = {"Click on an image to raise it\nPress LEFT button to edit\n\
  55. MIDDLE button to change feature\nand RIGHT button to quit\n\
  56. CTRL-Y to end typing"};
  57.  
  58. #ifndef    C_TUNER
  59. arg_fmt_list_string    arg_list[] =    {
  60.     {"-#", "%d", 64, 1, 1, "gray levels. Default is 64"},
  61.     {"-cc", "%+", 0, 1, 0,
  62.         "change colormap for new cmap with lazy window manage"},
  63.     {"-cq", "%d", NCOLOR, 1, 0,
  64.         "query color map table. none or pos - sys, neg - user"},
  65.     {"-d[ebug]", "%d", 1, 1, 0, "debug level : max level = 3"},
  66.     {"-di[splay]", "%s", 0, 1, 1,
  67.         "hostname :    specify a point to display"},
  68.     {"-e", "%* %d", 200, 2, 1, "elastic range [200 - 20000]. default=1200"},
  69.     {"-i", "%d", 12, 1, 1, "maximum images can display at same time. [12]"},
  70.     {"-n", "%-", 0, 1, 0, "new colormap -- use separated colormap table"},
  71.     {"-p", "%i", 384, 1, 0, "color precision. [384]"},
  72.     {"-s", "%i", 1, 1, 0,
  73.         "start speed level {0 - 3}.    [default = 1]\n\
  74.         It's better for both panel color and starting speed"},
  75.     {"-v", "%i", 1, 1, 0, "verbose message : maximum level = 3"},
  76.     {"-R[x][y]", "%E %i", 2, 2, 0, "interpolation region [2-8] default 2x2"},
  77.     {" I/O:    [<] input", No, 0, 0, 0, "end of usage"},
  78.     NULL    };
  79. #endif
  80.  
  81.  
  82.