home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / d / drwimp / DrWimp / Examples / !PrintTest / Text < prev   
Text File  |  1997-01-17  |  17KB  |  397 lines

  1. If updating from older versions of the library, take note of the altered
  2. sections (started with "****") which will point out possible changes in
  3. parameters and/or returned results for exsisting functions which are not
  4. backwards compatible.
  5. New user functions which have been added, *must* be added to exsisting
  6. !RunImage files if using a new version of DrWimp. Copy the 'blank' ones from
  7. the new !RunImage. New user functions are also marked by "****".
  8.  
  9. See also the file “Upgrading” which lists the non-backwards compatible
  10. changes in more detail.
  11.  
  12. History of the DrWimp system.
  13.  
  14.  
  15. 1.00 (29-Mar-95) Limited release for testing and evaluation.
  16.  
  17.  
  18. 1.01 (04-Apr-95)
  19.  
  20. --Added  :
  21.            PROCwimp_putmenuitem
  22.            PROCwimp_removemenuitem
  23.            PROCwimp_recreatemenu 
  24.            FNwimp_createmenuarray
  25.            PROCwimp_recreatemenuarray
  26.            PROCwimp_putmenutitle
  27.            PROCwimp_singlepoll
  28. --Altered:
  29.            ****FNwimp_createmenu - extra parameter to set the maximum number
  30.   of items allowed.
  31.            ****FNwimp_iconbar - now returns window handle instead of icon
  32.   handle in the window. In other words, it returns -2.
  33. --Improved all sections relating to indirected menu items. In particular, all
  34.   items longer than 11 characters are now indirected. Used to be items longer
  35.   than 12.
  36. --If iconbar icon has text underneath, then the background is no longer
  37.   filled, spoiling textures.
  38. --The icon positioning vertically has been tweaked.
  39. --Added !FontRun as an example.
  40.  
  41.  
  42. 1.02 (19-Apr-95)
  43.  
  44. --Vastly simplified and improved menu selection routines. Now doesn't use the
  45.   rubbish menu decoding SWI. As a result, full stops can now be used in menu
  46.   items. (I was converting item numbers into the item text, then back again!)
  47. --Added !Saver as an example. !RunImage files of examples commented.
  48. --Added text version of manual.
  49. --Altered:
  50.            ****FNwimp_initialise - last (fourth) parameter removed due to
  51.   simplification of menu decoding.
  52.            PROCwimp_iconenable - now works properly, instead of toggling the
  53.   greying out of the icon.
  54. --Refined manual to remove ambiguities.
  55. --Bug fixed. When mode was changed or desktop left, when returning, the panes
  56.   would move behind their 'parent' windows.
  57.  
  58.  
  59. 1.03 (26-Apr-95) 
  60.  
  61. --Altered:
  62.            PROCwimp_puticontext - now redraws icon after text has been
  63.   changed, so icons that are not filled don't muck up.
  64.            ****FNwimp_initialise - fourth parameter added to give the minimum
  65.   version number of the OS multiplied by 100, that the application is allowed
  66.   to run on.
  67.            FNwimp_iconbar - adjusted size of bounding box so that icons
  68.   without text below cannot have their tops rubbed out.
  69.            PROCwimp_iconbarsprite - fixed bug that stopped the sprite being
  70.   changed when the icon had no text underneath. When icon changes, DrWimp now
  71.   only updates the icon, and not the entire iconbar.  
  72. --Fixed two bugs that stopped FNwimp_errorchoice from working.
  73.  
  74.  
  75. 1.04 (16-May-95)
  76.  
  77. --Fixed bug in PROCwimp_puticontext (introduced in 1.03 by accident) which
  78.   stopped it from working.
  79. --Applications can now be quitted inside PROCwimp_singlepoll, ie. from menu
  80.   choices etc, while using this method of polling.
  81.  
  82.  
  83. 1.05 (28-May-95)
  84.  
  85. --Added  :
  86.            PROCwimp_bar - allows manipulation of bars very easy. Useful for
  87.   showing percentage done of an operation.
  88. --Fixed bug in PROCwimp_iconbar that crashed the application when you tried to
  89.   put an icon on the iconbar with no text below it!!
  90. --Added a contents page to the manual.
  91. --Added !Bar example application.
  92.  
  93.  
  94. 1.06 (15-Jun-95)
  95.  
  96. --Fixed bug so that when saving a file, it has the correct filetype specified
  97.   in the data_save message, instead of it always being &FFD.
  98. --Also, made sure that the leafname specified in the data_save message is zero
  99.   terminated. I missed this off, but have only just noticed because !Paint is
  100.   the first application that I have saved files from that has complained.
  101. --Fixed bug in PROCwimp_bar that only let it work in windows with handle
  102.   main%!!
  103.  
  104.  
  105. 1.07 (23-Jul-95)
  106.  
  107. --Added  :
  108.            PROCwimp_pollidle - if NULL=TRUE then it will call PROCuser_null
  109.   only every so many seconds instead of every time control is passed to the
  110.   app and no events have occured.
  111.  
  112.  
  113. 1.08 (20-Aug-95)
  114.  
  115. --Fixed problem with bars (controlled with PROCwimp_bar), in that no bar now
  116.   appears for a bar of zero length.
  117.  
  118.  
  119. 1.10 (24-Dec-95)
  120.  
  121. --Added  :
  122.            ****PROCuser_menuopen - called just before the menu is opened. Icon
  123.   pointer was over is passed.
  124.            ****PROCuser_minmenuwidth - return a number guarantees the menu to
  125.   be at least that width in characters.
  126.            PROCwimp_render - renders a drawfile.
  127.            PROCwimp_initdfiles - sets up blocks of memory for use with
  128.   drawfiles.
  129.            FNwimp_measurefile - measures size of drawfile.
  130.            FNwimp_loaddfile - loads drawfile into block of memory.
  131.            PROCwimp_increaseslot - increase wimpslot.
  132.  
  133.  
  134. 1.11 (10-Feb-96)
  135.  
  136. --Added start and stop bits so library can be used with BLibII.
  137.  
  138.  
  139. 1.12 (11-Mar-96)
  140.  
  141. --Added  :
  142.            PROCwimp_colouricontext - changes colour of text (not if using
  143.   font).
  144. --Fixed problem where pane didn't move if parent window was resized.
  145. --Fixed problem with DrWimp forgetting where to open menu if wimp% block is
  146.   fiddled about with in PROCuser_menuopen.
  147.  
  148.  
  149. 1.13 (26-Mar-96)
  150.  
  151. --General cleaning and tidying up.
  152. --Fixed two mistakes with BlibII start and stop bits.
  153.  
  154.  
  155. 1.14 (24-May-96)
  156.  
  157. --Fixed a bug in save windows where a line which was “hardwired” to icon 3.
  158.   This must have happened sometime in the last few versions and should have
  159.   been icon 0, which it is in earlier versions. Therfore save windows would
  160.   appear not to work in that no icons could be dragged.
  161.  
  162.  
  163. 2.00 (02-Jul-96) First major overhaul since 1.02.
  164.                  Limited release.
  165.  
  166. --Added  :
  167.            ****FNuser_saveicon - return the icon number of the icon to be
  168.   dragged in the save window. Only use if not using the standard icon 0 as the
  169.   save icon.
  170.            ****FNuser_sliderback - return icon number of slider back icon.
  171.            ****FNuser_slider - return icon number of slider icon.
  172.            ****PROCuser_slidervalue - Percentage of slider being dragged or
  173.   just finished being dragged is passed.
  174.            PROCwimp_putsliderpcent - sets the percentage of a slider.
  175.            FNwimp_getsliderpcent - gets the percentage of a slider.
  176.            FNwimp_resizewindow - resizes work area and visible area to values
  177.   specified.
  178.            FNwimp_getdfilesize - returns width or height of a drawfile in OS
  179.   co-ordinates.
  180.            PROCwimp_renderwindow - renders a drawfile in a window.
  181.            FNwimp_geticonsize - returns width or height of icon in OS
  182.   co-ordinates.
  183.            FNwimp_worktoscreen - converts a windows work coordinates into
  184.   screen coordinates.
  185.            FNwimp_screentowork - converts screen coordinates into a windows
  186.   work coordinates.
  187.            PROCwimp_setcolour - sets the current GCOL colour to the nearest
  188.   possible for the mode when the red, green and blue values are supplied.
  189.            PROCwimp_plottext - plot text in any font, size, foreground and
  190.   background colours.
  191.            FNwimp_createblock - creates a block of memory for string storage.
  192.   Returns a handle for the block.
  193.            PROCwimp_putinblock - puts a string in a block at the specified
  194.   position.
  195.            FNwimp_getfromblock - gets string from specified position in a
  196.   block.
  197.            FNwimp_geticonstate - returns 1 or 0 to denote whether icon is
  198.   selected or not.
  199.            PROCwimp_attachsubmenu - attaches a menu or a window as a submenu
  200.   of a specified menu item.
  201. --Altered:
  202.            PROCwimp_openwindow - can now use 2 as the centre value to centre
  203.   window on the pointer. Backwards compatable.
  204.            ****Changed PROCuser_savedata to FNuser_savedata. Now return a 1 if
  205.   some data was saved or a 0 if none was saved. Allows for validation checks
  206.   in this function to see if any data should be saved or not.
  207.            PROCwimp_iconselect - small change made so that if state is not
  208.   changing then icon is not redrawn.
  209.            PROCwimp_puticontext - small change