2021-07-16 16:37:38 +00:00
|
|
|
/*
|
|
|
|
* main.rez
|
|
|
|
* Listener
|
|
|
|
*
|
|
|
|
* Created by Jeremy Rand on 2021-07-16.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "types.rez"
|
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
|
|
|
|
resource rVersion (1) {
|
|
|
|
{
|
2022-04-08 18:04:45 +00:00
|
|
|
1, /* Major version number in BCD */
|
|
|
|
0, /* Minor version number in BCD */
|
2023-08-23 00:17:56 +00:00
|
|
|
1, /* Bug version number in BCD */
|
2022-04-08 18:04:45 +00:00
|
|
|
release, /* Development phase */
|
2021-07-16 16:37:38 +00:00
|
|
|
0 /* Release number */
|
|
|
|
},
|
|
|
|
verUS,
|
|
|
|
"Listener",
|
2022-03-08 04:05:53 +00:00
|
|
|
"Copyright \$A9 2022 Jeremy Rand"
|
2021-07-16 16:37:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2022-03-26 16:37:29 +00:00
|
|
|
/* 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) {
|
2022-04-08 18:04:45 +00:00
|
|
|
"Listener100.shk"
|
2022-03-26 16:37:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
2021-07-16 16:37:38 +00:00
|
|
|
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 */
|
2021-07-19 04:01:10 +00:00
|
|
|
{50,10,86,310}, /* wposition */
|
2021-07-16 16:37:38 +00:00
|
|
|
infront, /* wPlane */
|
|
|
|
nil, /* wStorage */
|
|
|
|
$0800 /* wInVerb */
|
|
|
|
};
|
|
|
|
|
|
|
|
|