home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 634.lha / lwb_v1.0 / lwb.doc.pp / lwb.doc
Encoding:
Text File  |  1992-05-14  |  4.1 KB  |  116 lines

  1.                           LWB 1.0 , 8 August 1991
  2.                              Little Workbench
  3.  
  4.  
  5. I. Motivation
  6.  
  7. First: I was teached english at school about 5 years ago and i did not used
  8. it very much. So do not wonder about mistakes!    
  9.     
  10. I am used to work on a Sun Workstation at my university under the
  11. twm-Manager of XWindows. It is possible to have a virtual Screen much
  12. larger than the real Monitor-Screen like the AMIGA OS 2.0 supports.
  13. To manage the movement within your large virtual screen you get a small
  14. window in the lower right of the real screen which is a representative of
  15. the whole available virtual screen.
  16. All windows on the virtual screen are drawn in it and you can move them all
  17. by dragging their representatives. 
  18. The shown clipping can be moved, too within this window.
  19.  
  20. I like this feature very much because you can have a lot of different
  21. windows open without overlapping each other. So i decided to program such a
  22. utility for the AMIGA.
  23.  
  24.  
  25.  
  26.  
  27. II. Implementation and using
  28.  
  29. I used the DICE-C-Compiler written by Matt Dillon which is really worth
  30. buying. The OS-2.0 INCLUDE-Files are also included by Matt so there were no
  31. major problems beside my own little knowledge about the AMIGA-OS.
  32.  
  33. In this first version it is only possible to drag the representative of
  34. your real view and not to drag all visible windows.
  35. You can press and release the left-mouse-button (lmb) at every location of
  36. the LWB-window and soon your real view will show the choosen clipping.
  37. Another method is to press the lmb and hold it down. Now you are able to
  38. move the representative of the real-view within the LWB-window borders.
  39. Release the lmb at the desired location and you will get the correct
  40. clipping.
  41.  
  42. Attention:
  43. If you (or a program) open a window LWB does not notice this !! You have
  44. to force LWB to update by using the AUTOSCROLL-feature of the Workbench
  45. Screen or by pressing the right-mouse-button within the LWB-window
  46.  
  47. I would like to get help at this point to make automatic updates of the
  48. representative Workbench window possible (possibly a patch using
  49. SetFunction and OpenWindow could make it but when i replace OpenWindow with
  50. my own code how can i handle the original features of OpenWindow) so please
  51. contact me.
  52.  
  53.  
  54.  
  55. III. Starting LWB
  56.  
  57. You must start LWB from the CLI (eg. in your startup-sequence) using the
  58. run(back) command (how can i detach a program using DICE??).
  59.  
  60. The syntax is :
  61.             LWB <virtual_width> <virtual_height> [<correcting>]
  62.  
  63. where virtual_width and virtual_height are the resolution parameters you
  64. choose in the screen-mode-preferences-program (OS 2.0 only).
  65. Correcting is optional. I included it for those people using utilities 
  66. like 60Hz to increase the refresh-rate of their display. 
  67. I use workbenchscreen->Height to get your visible vertical resolution and
  68. if you use such a utility the workbenchscreen->Height is not changed! So
  69. you must calculate how much lines are lost and use the third option to tell 
  70. LWB about the difference to the resolution I get from the screen-structure.
  71.  
  72. I could not figure out how to get these values from the AMIGA-OS. If you 
  73. know a solution please post it to me (see address-section).
  74.  
  75.  
  76.  
  77.  
  78. IV. Copyright
  79.     
  80. This program is written and copyrighted by
  81.  
  82.                                Jörg Wesemann
  83.                              Auf der Heide 12
  84.                             W 2807 Achim-Baden
  85.                                   Germany
  86.                    Phone: (Germany) - (0) 4202 - 75518
  87.  
  88.  
  89. Permission to copy this program freely is givven to Fred Fish. You may even
  90. copy it using FTP-sites, mail-boxes, UUCP and so on, but you must copy the
  91. whole bunch which consists of:
  92.         1. The executable      LWB
  93.         2. The source          LWB.c
  94.         3. The makefile        makefile
  95.         4. The documentation   LWB.doc
  96.  
  97.  
  98.                                 Attention: 
  99.                                 ==========
  100. PD-dealers must not copy this program if they get more than 5 DM 
  101. (german marks) per disk. Especially german pd-dealers are intended to
  102. follow this restriction!!
  103.  
  104.  
  105.  
  106.  
  107. V. Addresses
  108.  
  109. My e-mail addresses are:
  110.  
  111.                       
  112.                       b15l@dhbrrz41.bitnet (prefered)
  113.                                     or
  114.                       joergw@informatik.uni-bremen.de
  115.  
  116.