home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Pascal / Samples / VIEWS10.ARJ / TP / VIEWS / README.DOC < prev    next >
Encoding:
Text File  |  1993-05-05  |  6.4 KB  |  116 lines

  1. {===========================================================================}
  2. {                                                                           }
  3. {                  █████████████  Unit LMouse   █████████████               }
  4. {                  █████████████  Release 1.0   █████████████               }
  5. {===========================================================================}
  6. {                  █████████████ Unit LObjects  █████████████               }
  7. {                  █████████████  Release 1.0   █████████████               }
  8. {                                                                           }
  9. {             █████████████  CREATED BY Dr. LUIS  VACA  █████████████       }        
  10. {                █████████████  All Rights Reserved  █████████████          }
  11. {                                                                           }
  12. {  " Promote Programming ... Register !!!"                                  }
  13. {===========================================================================}
  14. {                  █████████████      VIEWS     █████████████               }
  15. {                  █████████████  Release 1.0   █████████████               }
  16. {===========================================================================}
  17.  
  18.  
  19. These two units (Emouse and LObjects) form the Views library to create and manipulate graphic windows
  20. in Turbo Pascal (TP). This library IS NOT FREEWARE !!!!.
  21.  
  22. If you find it usefull you can use it in your programs, I only ask two things in return:
  23.  
  24. 1. Send me any changes that you make to the library (I mean the source code). In this way I can keep
  25.    improving the library and everybody wins.
  26.    This project is for the benefit of everyone who programs in TP and wants or needs to use graphic
  27.    manipulations. You are encouraged to modify or add new code to the library, just keep me posted !!!.
  28.    In fact, If you want to work in colaboration with me just let me know... Four hands work faster than two.
  29.  
  30.     
  31.     E-Mail : lvaca@bcm.tmc.edu
  32.  
  33.  
  34.  
  35. 2. Any contributions are wellcome... (yes, I mean money). This helps me to update my TP compiler and keep
  36.    this project going. I donot like to put a fixed price to this library, but I think that $30.oo US is a
  37.    reasonable amount. When you send the money, make sure to include your address (physical and Email), in 
  38.    this way I can keep you posted about new releases or new objects included in the library. Any comments
  39.    are wellcome too !!!!. 
  40.  
  41.  
  42.        Send contributions to :
  43.  
  44.      Dr. Luis Vaca
  45.       5500 N. Braeswood #254
  46.       Houston, TX 77096
  47.  
  48.  
  49. /////////////////THE BASIC FEATURES OF THIS LIBRARY ARE DESCRIBED BELOW\\\\\\\\\\\\\\\\\\\\\\\\\\
  50. YOU CAN GET MORE INFORMATION INSPECTING THE CODE, I TRIED TO COMMENT ALMOST EVERY LINE OF CODE.
  51. /////////////////THE BASIC FEATURES OF THIS LIBRARY ARE DESCRIBED BELOW\\\\\\\\\\\\\\\\\\\\\\\\\\
  52.  
  53.  
  54.  
  55. 1. I do not save the area under the window, there is a limit on TP of 64 K for images and this is not
  56.    enough for VGA and SVGA graphic modes. Instead I use the Viewport to redraw the regions of the screen
  57.    that require so. Each window must send a paint message to the app.run loop indicating the rectangle
  58.    area that needs to be repainted.
  59.  
  60. 2. The heart of the library is the Event record, this is not an object. This record is used in a loop
  61.    which will check for mouse events and keypresses. If you want to check for more events just add them
  62.    to the record. Check Emouse.pas for details.  
  63.  
  64. 3. I do not use TP Readkey, this function can not catch keys like Cntrl-F1, etc. Instead I get the key
  65.    directly from the keyboard buffer through INTERRUPT $16, SERVICES $2 AND $10, check Emouse.pas for
  66.    details.
  67.  
  68. 4. I used a pretty fast assembly routine to get mouse events from the mouse driver. This is interrupt driven.
  69.  
  70. 5. You can create your own controls by deriving your objects from the LControl object. You must override the
  71.    HandleEvent and Paint methods. The default methods do nothing.
  72.  
  73. 6. The library do not support MDI (multiple document interface) yet... Give me some time and I'll get it going.
  74.  
  75. 7. There are 12 mouse cursors included in the Emouse.pas unit. I'm working on a mouse editor that will allow
  76.    the interactive (visual) creation of new mouse cursors.
  77.  
  78. 8. The library do not support ICONS yet... My plans are to implement a visual editor that can create mouse cursors
  79.    and icons and write the pascal constants to a file that you can later include in your program. This part might
  80.    take a little while... so ... do not hold your breath. For this reason I did not implement the minimize (iconize)
  81.    feature in the windows. Windows can be maximize and restore only.
  82.  
  83. 9. This library is fully compatible with TP fonts and BGI drivers. You can use any of them.
  84.  
  85. 10. There is A BIG BUG in clipping bit mapped fonts, they do not clip correctly. Use Stroked fonts when possible.
  86.     Another BIG BUG is in clipping with the bar procedure. Sometimes the bar is not clipped correctly. Use the FillR
  87.     method provided in the library to draw filled rectangles inside windows.
  88.     I wonder when these people of Borland will give us a decent graphics library ?
  89.  
  90. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  91. +++++++++++++++++++++++  ABOUT THE DEMO INCLUDED  ++++++++++++++++++++++++++++++++
  92.  
  93. <<<<<<<<< VIEWDEMO.EXE AND VIEWDEMO.PAS ARE EXAMPLES OF HOW TO USE THE LIBRARY >>>>>>>>>>>>>
  94. <<<<<<<<< NOTICE THAT VIEWDEMO.EXE IS OVER 111 Kb BECAUSE I LINKED ALL THE BGI AND FONT FILES IN IT >>>>>>>>>>
  95.  
  96. <<<<<<<<< YOU CAN USE THE MOUSE OR THE KEYBOARD TO MOVE AROUND THE DIFFERENT WINDOWS >>>>>>>>>>>>>
  97.  
  98. {===============================NOTE================================}
  99. {          USE SHIFT-TAB TO CHANGE THE FOCUS AMONG WINDOWS          }
  100. {                         USE ALT-X TO QUIT                         }
  101. {             USE TAB TO CHANGE FOCUS BETWEEN BUTTONS               }
  102. {     USE CNTRL-SPACE BAR TO DISPLAY THE MENU IN FOCUSED WINDOW     }
  103. {             ALL COMMANDS WORK ONLY ON FOCUSED WINDOW              }
  104. {===============================NOTE================================}
  105.  
  106. +++++++++++++++++++++++  ABOUT THE DEMO INCLUDED  ++++++++++++++++++++++++++++++++
  107. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  108.  
  109.  
  110. THE LEGAL STUFF GOES HERE.
  111.  
  112.  I'm not liable in any way for any problem occured by the use or missuse of this library.
  113.  I only work here !!!...
  114.  
  115.  
  116.