home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / sao1_07.tar / panel / scale.mnu < prev   
Text File  |  1991-01-02  |  1KB  |  47 lines

  1.  
  2.  
  3. static BtnSpec ScaleA[] = {
  4.   { "linear", 0, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  5.     { BTNMode, BTNCoWhile },
  6.     { ControlMask, ControlMask },
  7.     { 0x0, ControlMask },
  8.     { SOP, SOP_Linear } },
  9.   { "wrap", 0, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  10.     { BTNMode, BTNCoWhile },
  11.     { ControlMask, ControlMask },
  12.     { 0x0, ControlMask },
  13.     { SOP, SOP_Wrap } },
  14.   { "log", 0, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  15.     { BTNMode, BTNCoWhile },
  16.     { ControlMask, ControlMask },
  17.     { 0x0, ControlMask },
  18.     { SOP, SOP_Log } },
  19.   { "sqrt", 0, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  20.     { BTNMode, BTNCoWhile },
  21.     { ControlMask, ControlMask },
  22.     { 0x0, ControlMask },
  23.     { SOP, SOP_Sqrt } },
  24.   { "histeq", 0, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  25.     { BTNMode, BTNCoWhile },
  26.     { ControlMask, ControlMask },
  27.     { 0x0, ControlMask },
  28.     { SOP, SOP_HistEq } },
  29.   { "blink", 1, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, 2,
  30.     { BTNFlash, BTNCoWhile },
  31.     { ControlMask, ControlMask },
  32.     { 0x0, ControlMask },
  33.     { SOP, SOP_Blink } }
  34. };
  35.  
  36. BoxSpec ScaleBoxes[] = {
  37.   { "ScaleA", { 0, 6, 6, 1, 6.0, 1.0, 0.0, 0.0, 0, 1 }, ScaleA } };
  38.  
  39.  
  40. PanelAttach ScaleAttach = {
  41.   "MainPanel", "MainA", 0, 1, 0, ControlMask, 0, 1, { SOP } };
  42.  
  43. /* 
  44.   PanelSpec ScalePanel =
  45.     { "ScalePanel", "menuscl.h", 1, 1, ScaleBoxes, &ScaleAttach };
  46. */
  47.