Retro68/Samples/WDEF
2019-09-09 01:05:01 +02:00
..
CMakeLists.txt Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
README.md
wdef.c
wdef.r Calling RecoverHandle on the wrong address is bad, so don't, for now. (see #33) 2018-04-17 19:07:48 +02:00
wdefppc.r
wdefshell.c improve MultiversalInterfaces compatibility 2019-09-09 01:05:01 +02:00
wdefshell.r improve MultiversalInterfaces compatibility 2019-09-09 01:05:01 +02:00

WDEF sample program

This sample program serves several purposes.

  1. It shows how to write a basic classic Mac application with windows, menus and desk accessories.
  2. It shows how to write a very primitive custom window definition (WDEF).
  3. It shows how to compile a WDEF (or a similar code resource) and include it in an application.
  4. It shows how to avoid 3. and include the window definition procedure directly in the application.