this repo has no description
at main 55 lines 1.2 kB view raw
1/* 2 main.r 3 4 Copyright (C) 2003 Philip Cummins, Richard F. Bannister, 5 Paul C. Pratt 6 7 You can redistribute this file and/or modify it under the terms 8 of version 2 of the GNU General Public License as published by 9 the Free Software Foundation. You should have received a copy 10 of the license along with this file; see the file COPYING. 11 12 This file is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 license for more details. 16*/ 17 18#include "CNFGRSRC.h" 19 20/* Alerts Constants */ 21 22#define kMyStandardAlert 128 23 24resource 'DITL' (kMyStandardAlert, purgeable) { 25 { /* array DITLarray: 2 elements */ 26 /* [1] */ 27 {177, 293, 197, 351}, 28 Button { 29 enabled, 30 "OK" 31 }, 32 /* [2] */ 33 {10, 72, 162, 353}, 34 StaticText { 35 disabled, 36 "^0\n\n^1^2^3" 37 } 38 } 39}; 40 41resource 'ALRT' (kMyStandardAlert, "Non Fatal Error", purgeable) { 42 {40, 43, 249, 405}, 43 kMyStandardAlert, 44 { /* array: 4 elements */ 45 /* [1] */ 46 OK, visible, sound1, 47 /* [2] */ 48 OK, visible, sound1, 49 /* [3] */ 50 OK, visible, sound1, 51 /* [4] */ 52 OK, visible, sound1 53 }, 54 alertPositionMainScreen 55};