Retro68/Samples/WDEF
Wolfgang Thaller 1d05fb39b5 fix WDEF and SystemExtension samples in Nix build
the nix build currently puts the REZ_INCLUDE_PATH in an environment variable rather than CMake, so REZ_INCLUDE_PATH is undefined in CMake
2023-12-29 01:20:20 +01:00
..
CMakeLists.txt fix WDEF and SystemExtension samples in Nix build 2023-12-29 01:20:20 +01:00
README.md New Sample Program: WDEF 2018-01-06 03:11:48 +01:00
wdef.c WDEF sample: PowerPC support 2018-01-07 17:28:28 +01:00
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 WDEF sample: PowerPC support 2018-01-07 17:28:28 +01:00
wdefshell.c Declare all C function parameters 2022-12-05 06:48:30 -06: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.