/* * main.rez * Listener * * Created by Jeremy Rand on 2021-07-16. * */ #include "types.rez" #include "main.h" resource rVersion (1) { { 1, /* Major version number in BCD */ 0, /* Minor version number in BCD */ 1, /* Bug version number in BCD */ release, /* Development phase */ 0 /* Release number */ }, verUS, "Listener", "Copyright \$A9 2022 Jeremy Rand" }; /* Update info */ #define rUpdateInfo $DEAD /* RIP Jerry Garcia */ /*--------------------- rUpdateInfo -------------------------*/ type rUpdateInfo { integer = 0; /* version must be zero */ longint; /* Resource ID of string holding app's display name */ longint; /* ID of string holding author's name */ longint; /* ID of string URL to the downloads folder */ longint; /* ID of string for downloadable archive name */ longint; /* ID of string for Versions.List data file */ }; resource rPString (DISPLAY_NAME_STR, $0000) { "Listener" }; resource rPString (AUTHOR_NAME_STR, $0000) { "Jeremy Rand" }; resource rPString (DOWNLOAD_URL_STR, $0000) { "http://downloads.rand-emonium.com/files/" }; resource rPString (ARCHIVE_STR, $0000) { "Listener100.shk" }; resource rPString (VERSIONS_DATA_FILE_STR, $0000) { "jrand" }; resource rUpdateInfo (UPDATE_INFO, $0000) { DISPLAY_NAME_STR, // app's display name AUTHOR_NAME_STR, // author's name DOWNLOAD_URL_STR, // URL to downloads folder ARCHIVE_STR, // Name of downloadable archive VERSIONS_DATA_FILE_STR // Name of data file for Versions.List }; resource rWindParam1 (windowRes) { $C0A5, /* wFrameBits */ nil, /* wTitle */ 0, /* wRefCon */ {0,0,0,0}, /* ZoomRect */ $07FF0001, /* wColor ID */ {0,0}, /* Origin */ {0,0}, /* data size */ {0,0}, /* max height-width */ {0,0}, /* scroll ver hors */ {0,0}, /* page ver horiz */ 0, /* winfoRefcon */ 0, /* wInfoHeight */ {50,10,86,310}, /* wposition */ infront, /* wPlane */ nil, /* wStorage */ $0800 /* wInVerb */ };