56 lines
1.2 KiB
R
56 lines
1.2 KiB
R
/*
|
|
main.r
|
|
|
|
Copyright (C) 2003 Philip Cummins, Richard F. Bannister,
|
|
Paul C. Pratt
|
|
|
|
You can redistribute this file and/or modify it under the terms
|
|
of version 2 of the GNU General Public License as published by
|
|
the Free Software Foundation. You should have received a copy
|
|
of the license along with this file; see the file COPYING.
|
|
|
|
This file is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
license for more details.
|
|
*/
|
|
|
|
#include "CNFGRSRC.h"
|
|
|
|
/* Alerts Constants */
|
|
|
|
#define kStandardAlert 128
|
|
|
|
resource 'DITL' (kStandardAlert, purgeable) {
|
|
{ /* array DITLarray: 2 elements */
|
|
/* [1] */
|
|
{177, 293, 197, 351},
|
|
Button {
|
|
enabled,
|
|
"OK"
|
|
},
|
|
/* [2] */
|
|
{10, 72, 162, 353},
|
|
StaticText {
|
|
disabled,
|
|
"^0\n\n^1^2^3"
|
|
}
|
|
}
|
|
};
|
|
|
|
resource 'ALRT' (kStandardAlert, "Non Fatal Error", purgeable) {
|
|
{40, 43, 249, 405},
|
|
kStandardAlert,
|
|
{ /* array: 4 elements */
|
|
/* [1] */
|
|
OK, visible, sound1,
|
|
/* [2] */
|
|
OK, visible, sound1,
|
|
/* [3] */
|
|
OK, visible, sound1,
|
|
/* [4] */
|
|
OK, visible, sound1
|
|
},
|
|
alertPositionMainScreen
|
|
};
|