home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d07xx / d0741.lha / ShowI / ShowI.doc < prev    next >
Text File  |  1992-10-11  |  6KB  |  200 lines

  1.  
  2.  
  3.  
  4.  
  5.                          Documentation ShowI Version 1.9
  6.  
  7.  
  8.                                 written 1992
  9.  
  10.                                    by H.P.G
  11.  
  12.                                FREEWARE VERSION
  13.  
  14.  
  15.  
  16. INDEX:
  17.  
  18.             Index
  19.             General Description
  20.             System
  21.             Legal Stuff
  22.             Start Parameters
  23.             Functions of ShowI
  24.             Using ShowI
  25.             Technical
  26.             Last
  27.             Address
  28.             List of files
  29.  
  30.  
  31.  
  32.  
  33. General Description:
  34.  
  35.  
  36.     ShowI ( = ShowIcon ) is a cli program which simply  displays  icons.
  37.     You can specify as many icon names as you want.  If  ShowI  finds  a
  38.     given icon, it opens a little window and displays it.
  39.  
  40.  
  41.  
  42. System:
  43.  
  44.     To use ShowI you need at minimum Kichstart Kickstart 2.0 Version 37.
  45.  
  46.     Because of the use of many new OS 2.xx features  ShowI  doesn`t  run
  47.     under Kickstart 1.2 und 1.3.
  48.  
  49.  
  50. Legal Stuff:
  51.  
  52.  
  53.         This  program áand  all files come with it, also the docfiles, are
  54.         released as FREEWARE.
  55.  
  56.         this means:
  57.  
  58.             everybody may use ShowI,
  59.  
  60.             everybody may copy ShowI, if:
  61.  
  62.                 1. You copy all included files, see list at the end of the
  63.                    doc file.
  64.                 2. No changes are made,  this ámeans áthe áprogram and all
  65.                    included files must stay in the original form.
  66.                    Exception: you  may  archieve  it; but in this case you
  67.                               must also archieve the whole package.
  68.                 3. If  you  recompile  it, you have to include a notice to
  69.                    the original author. If you also want to (re)distribute
  70.                    in any new form you have to send me a copy.
  71.                 4. You may not sell ShowI.
  72.                    Execption: you`re  allowed  to  take  a  small copy fee
  73.                               which should not extend 5US$.
  74.                 5. If you want to include ShowI
  75.                    or one of the  included files as a part of a commercial
  76.                    package,  you  must  have  written  permission  of  the
  77.                    author (address see below).
  78.  
  79.  
  80.         I take no warranty or garanty for the function of this program.
  81.         The whole risk of using ShowI stays only by the user.
  82.  
  83.  
  84.  
  85. Start Parameters:
  86.  
  87.     ShowI has the following Cli-Syntax:
  88.  
  89.     SYNOPSIS:    ShowI [IconName/M/A]
  90.  
  91.     the Flag M (multiple) means: you can specify as many Iconnames as you
  92.     want. ShowI displayes them in the right order.
  93.     You have to specify at minimum one Iconname.
  94.     You must not put an '.info' to the Iconname.
  95.  
  96.  
  97. Funktionen von ShowI:
  98.  
  99.     After specifying one ore more Iconnames ShowI opens a window, on which
  100.     it displayes the given Icon(s).
  101.     If you klick on this Icon it toggles as if it would be klicked on the
  102.     WBench. If you klick it again it got its first state.
  103.  
  104.     Under the Icon the following texts will appear:
  105.  
  106.     n = next
  107.     c = cancel
  108.  
  109.     If you press the 'n' Key or klick on the CloseGadget of the  Window,
  110.     ShowI displayes the next specifyied  Icon,  assuming  you  specified
  111.     more than one. If you had only specify one Icon,  ShowI  terminates.
  112.  
  113.     If you specified multiple Icons and you don`t want ShowI to  display
  114.     the whole list, you can press the 'c'  key  and  ShowI  will  break.
  115.  
  116.     The size of the window depends on the size of the Icon you  want  to
  117.     display.
  118.  
  119.     The window will always appear centered in the middle of the  screen.
  120.  
  121.     ShowI is  able  to  display  Icons  with  a  width  of  the  current
  122.     screenwidth and the height of the current screenheight - 30  pixels.
  123.  
  124.     All displaying Icons have the original WB 2.0 design.
  125.  
  126.  
  127.  
  128.  
  129. Using ShowI:
  130.  
  131.  
  132.     Who doesn`t know the problem, you want to copy an Icon, but you don`t
  133.     know at the moment where it is. Maybe it is in the subdir of a subdir
  134.     of a sub... Now you could open thousands of window to get the  icon,
  135.     to realize that its not the one you want.
  136.     Or, you use ShowI gives it the name of the Icon and you`ll see if its
  137.     the right on or not.
  138.  
  139.     Because of using at the moment the Csh-Shell, I decided  to  include
  140.     the ability of multiples Iconnames instead of a PatternMatching call.
  141.     CSH has included a short fast and very good PatternMatching routine,
  142.     so you can just type:
  143.  
  144.     e.g.
  145.           ShowI sys:*
  146.  
  147.     and get all Icons in the sys:-Dir.
  148.  
  149.     If you are still using the  standart  Shell  there  are  some  other
  150.     PatternMatching programs you can use instead, such as For, ForEach
  151.     etc. .
  152.  
  153.  
  154.  
  155. Technical:
  156.  
  157.      ShowI is compiled with the Manx Aztec V5.2a Compiler.
  158.  
  159.      It is  because  of  its  many  functions  (such  as  ErrorMessages,
  160.      Checking  of  variables  ,  changing   the    windowsizes    etc.),
  161.      relativly   small.  This  is  because  I   use   the   'good   old'
  162.      Intuition  functions  instead   of   using   the   GadTools.Library
  163.      to   create   and   handle   the    Window    and    the    Gadget.
  164.  
  165.      For only one Window with on lonely Gadget is not  useful  to  first
  166.      try to get the Lock of the DefPubScreen then to  get  a  VisualInfo
  167.      then to call CreateContext, then to initialize a NewGadgetStructure,
  168.      then ....
  169.  
  170.  
  171.  
  172. Last:
  173.  
  174.      I hope many people use this program.
  175.  
  176.      If you find any bugs please let me know.
  177.  
  178.      Also serious critic and/or ideas are wellcomed.
  179.  
  180.  
  181. Address:
  182.  
  183.      Send all messages to:
  184.  
  185.                Hans-Peter Guenther
  186.                Gruener Weg 5
  187.                W-3501 Fuldatal 2
  188.                GERMANY
  189.  
  190.  
  191. List of files:
  192.  
  193. ShowI           : the binary
  194. ShowI.info
  195. ShowI.doc       : english manual
  196. ShowI.doc.info
  197. ShowI.dok.info  : germal manual
  198. ShowI.dok
  199.  
  200.