home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdemos / moreexamples / readme! < prev    next >
Encoding:
Text File  |  1994-06-06  |  3.1 KB  |  77 lines

  1.  
  2.  
  3. This is the UserWindow Module Demo directory.
  4.  
  5. I work with SAS 6.2 (although this should be compatible with SAS
  6. 5.0) so I've included icons to make this work right away. If you
  7. are not using SAS, you'll need to make your own makefile, or
  8. however it works, but everything should still compile just fine.
  9.  
  10. The User Windows module is a module I created to help ease me in
  11. the creation of gadget window interfaces for EGS-Paint. It makes
  12. it easier to show in each example how to do things, because each
  13. example now needs only a create functon, and an event function
  14. (whichever event is necessary to read). This keeps the code small,
  15. and leaves the important stuff in one place. You may use this
  16. directory if nothing more than to read the example codes, and use
  17. the information they contain. You may also choose to use the User
  18. Window modules in your own code if you wish. This is now public
  19. domain and anyone can use it. It is a good module to use in a
  20. program which will open many user interface windows. This module
  21. will keep track of everything for you, including where the window
  22. opened last time, before the user closed it. You may have shared
  23. event handlers, or take over everything yourself through the IDCMP
  24. function pointer. Or you may just choose to read over the
  25. UserWindow module code to learn how to do things, and do it
  26. yourself.
  27.  
  28. The bottom line is, don't think EGS is over complicated from
  29. looking at the User Window Module code. That's my program, and I'm
  30. heavily in to Function Pointers and the like. If you want to see a
  31. straight forward one-source code example, look in the Viona
  32. example directorys. The Calculator code is a good program.
  33.  
  34.  
  35. To compile an example, just type "sc Filename" after that you have
  36. to ytpe "slink with link.lnk" after taht you will find a excutable
  37. file in the Directory.
  38.  
  39. Every file is using the follwing files:
  40.  
  41. /global/UserWindow.c,
  42. /global/UserWindow.h,
  43. /global/EGSLibraries.c,
  44. /global/EGSLibraries.h.
  45.  
  46. You have to link evey example with the objec files
  47. /global/EGSLibraries.o and  /global/UserWindow.o.
  48.  
  49. Have Fun and spread the word -- and the disk! (although people
  50. should just formally register with us so we can keep them up to
  51. date!). The UserWindow Moudle code is freely distributable in its
  52. original state. I think EGS is the most exciting thing that has
  53. happened to the Amiga, lets make it go farther!
  54.  
  55. If you really can't solve something, call me. But be nice and
  56. realize there are hundreds more like you, and I've got new
  57. versions of the Paint Program to write (among other things). But
  58. if you're really stuck, I'd be happy to help you you.
  59.  
  60. Patrick Hager (GVP)
  61.    &
  62. Markus van Kempen (MVK)
  63. email:mvk@server.et-inf.fho-emden.de
  64.  
  65. P.S.
  66. If you happen to have TurboText (which you should get if you don't
  67. because it is a great Workbench Text Editor and is BLAZING fast on
  68. the EGS Workbemch driver), you're set, and you can start double
  69. clicking, cause that's what I use. If not, just load the files
  70. into your editor and save them back out so you can use them.
  71.  
  72. PPS: All Examples in this directory are form Patrick Hager (GVP).
  73.      Thanx Pat !
  74.  
  75.  
  76. change: 30 Dec 1993 (mvk)
  77.