home *** CD-ROM | disk | FTP | other *** search
-
-
- This is the UserWindow Module Demo directory.
-
- I work with SAS 6.2 (although this should be compatible with SAS
- 5.0) so I've included icons to make this work right away. If you
- are not using SAS, you'll need to make your own makefile, or
- however it works, but everything should still compile just fine.
-
- The User Windows module is a module I created to help ease me in
- the creation of gadget window interfaces for EGS-Paint. It makes
- it easier to show in each example how to do things, because each
- example now needs only a create functon, and an event function
- (whichever event is necessary to read). This keeps the code small,
- and leaves the important stuff in one place. You may use this
- directory if nothing more than to read the example codes, and use
- the information they contain. You may also choose to use the User
- Window modules in your own code if you wish. This is now public
- domain and anyone can use it. It is a good module to use in a
- program which will open many user interface windows. This module
- will keep track of everything for you, including where the window
- opened last time, before the user closed it. You may have shared
- event handlers, or take over everything yourself through the IDCMP
- function pointer. Or you may just choose to read over the
- UserWindow module code to learn how to do things, and do it
- yourself.
-
- The bottom line is, don't think EGS is over complicated from
- looking at the User Window Module code. That's my program, and I'm
- heavily in to Function Pointers and the like. If you want to see a
- straight forward one-source code example, look in the Viona
- example directorys. The Calculator code is a good program.
-
-
- To compile an example, just type "sc Filename" after that you have
- to ytpe "slink with link.lnk" after taht you will find a excutable
- file in the Directory.
-
- Every file is using the follwing files:
-
- /global/UserWindow.c,
- /global/UserWindow.h,
- /global/EGSLibraries.c,
- /global/EGSLibraries.h.
-
- You have to link evey example with the objec files
- /global/EGSLibraries.o and /global/UserWindow.o.
-
- Have Fun and spread the word -- and the disk! (although people
- should just formally register with us so we can keep them up to
- date!). The UserWindow Moudle code is freely distributable in its
- original state. I think EGS is the most exciting thing that has
- happened to the Amiga, lets make it go farther!
-
- If you really can't solve something, call me. But be nice and
- realize there are hundreds more like you, and I've got new
- versions of the Paint Program to write (among other things). But
- if you're really stuck, I'd be happy to help you you.
-
- Patrick Hager (GVP)
- &
- Markus van Kempen (MVK)
- email:mvk@server.et-inf.fho-emden.de
-
- P.S.
- If you happen to have TurboText (which you should get if you don't
- because it is a great Workbench Text Editor and is BLAZING fast on
- the EGS Workbemch driver), you're set, and you can start double
- clicking, cause that's what I use. If not, just load the files
- into your editor and save them back out so you can use them.
-
- PPS: All Examples in this directory are form Patrick Hager (GVP).
- Thanx Pat !
-
-
- change: 30 Dec 1993 (mvk)
-