# This is a description of the WIMP interface for SID

tool_details_start
   name       "SID";
   command_is "SID:SID";
   version    "1.33";
   wimpslot   512k;
   has_extended_cmdline;
tool_details_end

metaoptions_start
   has_text_window;
   has_summary_window;
metaoptions_end

fileoutput_start
   output_option_is ">";
   output_dft_string "SID";
   output_dft_is produces_no_output;
fileoutput_end

#  0   -  run
#  1   -  cancel
#  2   -  in file
#  3   -  out file
#  4   -  offsets file
#  5   -  -
#  6   -  -
#  7   -  -
#  8   -  strings
#  9   -  comments
#  10  a  adrl
#  11  b  crc
#  12  c  nop
#  13  d  warnings
#  14  e  flow analysis
#  15  f  hourglass
#  16  g  indir
#  17  h  type text
#  18  i  type radio
#  19  j  objasm
#  20  k  base text
#  21  l  base radio
#  22  m  svc calls
#  23  n  width text
#  24  o  width radio
#  25  p  -
#  26  q  -
#  27  r  diffing radio
#  28  s  standard macros
#  29  t  smart string labels
#  30  u  advanced warnings
#  33  x  APCS register names
#  34  y  ARM register names

dbox_start
  icons_start
    icn 2  maps_to string not_saved;
    icn 3  maps_to string;
    icn 4  maps_to string prefix_by "-offsets " not_saved;

    icn 8  maps_to "-string";
    icn 10 maps_to "-adrl";
    icn 12 maps_to "-nop";
    icn 14 maps_to "-label";
    icn 16 maps_to "-indir";
    icn 19 maps_to "-objasm";
    icn 22 maps_to "-svc";
    icn 27 maps_to "-nouid";
    icn 28 maps_to "-macros";
    icn 29 maps_to "-smart";
    icn 33 maps_to "-apcs";
    icn 34 maps_to "-arm";

    icn 9  maps_to "-comment -cover";
    icn 11 maps_to "-crc";
    icn 13 maps_to "-warn";
    icn 30 maps_to "-morewarn";
    icn 15 maps_to "-hour";

    icn 17 maps_to string;
    icn 18 maps_to "-type &" followed_by icn 17;
    icn 20 maps_to string;
    icn 21 maps_to "-base &" followed_by icn 20;
    icn 23 maps_to string;
    icn 24 maps_to "-width " followed_by icn 23;
  icons_end

  defaults
    icn 2  "",
    icn 3  "",
    icn 4  "",

    icn 8  on,
    icn 10 on,
    icn 12 on,
    icn 14 on,
    icn 16 on,
    icn 19 on,
    icn 22 on,
    icn 27 off,
    icn 28 on,
    icn 29 on,
    icn 33 off,
    icn 34 off,

    icn 9  on,
    icn 11 off,
    icn 13 off,
    icn 30 off,
    icn 15 off,

    icn 18 off,
    icn 17 "",
    icn 21 off,
    icn 20 "",
    icn 24 off,
    icn 23 "";

  imports_start
    drag_to icn 2 inserts icn 2;
    drag_to icn 3 inserts icn 3;
    drag_to icn 4 inserts icn 4;
    drag_to iconbar inserts icn 2;
  imports_end
dbox_end

exclusions_start
  icn 27 excludes icn 9, icn 11;
  icn 33 excludes icn 34;
  icn 34 excludes icn 33;
exclusions_end

order_is
  icn 2,
  icn 3,
  icn 4,
  icn 8,
  icn 9,
  icn 10,
  icn 11,
  icn 12,
  icn 13,
  icn 14,
  icn 15,
  icn 16,
  icn 18,
  icn 19,
  icn 21,
  icn 22,
  icn 27,
  icn 28,
  icn 29,
  icn 30,
  icn 33,
  icn 34,
  icn 24;
