comparison Mac/Include/pythonresources.h @ 11529:f83b74273da2 legacy-trunk

First bits and pieces of appearance support: an init routine, a global flag PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0).
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 07 Dec 1999 23:08:10 +0000
parents ba03e68df0fd
children 71e420296ef1
comparison
equal deleted inserted replaced
11528:535f40f9f87d 11529:f83b74273da2
39 /* 39 /*
40 ** Resources that reside in the python executable (or, for 40 ** Resources that reside in the python executable (or, for
41 ** shared ppc python, in the core dynamic library) 41 ** shared ppc python, in the core dynamic library)
42 */ 42 */
43 43
44 #define BASE_ID 228
45
44 /* The alert for "No Python directory, where is it?" (OBSOLETE) */ 46 /* The alert for "No Python directory, where is it?" (OBSOLETE) */
45 #define NOPYTHON_ALERT 228 47 #define NOPYTHON_ALERT BASE_ID+0
46 #define YES_ITEM 1 48 #define YES_ITEM 1
47 #define NO_ITEM 2 49 #define NO_ITEM 2
48 #define CURWD_ITEM 3 50 #define CURWD_ITEM 3
49 51
50 /* The alert for "this is an applet template" */ 52 /* The alert for "this is an applet template" */
51 #define NOPYC_ALERT 229 53 #define NOPYC_ALERT BASE_ID+1
52 54
53 /* The dialog for our GetDirectory and PromptGetFile call */ 55 /* The dialog for our GetDirectory and PromptGetFile call */
54 #define GETDIR_ID 230 /* Resource ID for our "get directory" */ 56 #define GETDIR_ID BASE_ID+2 /* Resource ID for our "get directory" */
55 #define GETFILEPROMPT_ID 232 /* Resource id for prompted get file */ 57 #define GETFILEPROMPT_ID BASE_ID+4 /* Resource id for prompted get file */
56 #define PROMPT_ITEM 10 /* The prompt, at the top */ 58 #define PROMPT_ITEM 10 /* The prompt, at the top */
57 #define SELECTCUR_ITEM 11 /* "Select current directory" button */ 59 #define SELECTCUR_ITEM 11 /* "Select current directory" button */
58 60
59 61
60 /* The dialog for interactive options */ 62 /* The dialog for interactive options */
61 #define OPT_DIALOG 231 /* Resource ID for dialog */ 63 #define OPT_DIALOG BASE_ID+3 /* Resource ID for dialog */
62 #define OPT_OK 1 64 #define OPT_OK 1
63 #define OPT_CANCEL 2 65 #define OPT_CANCEL 2
64 #define OPT_INSPECT 3 66 #define OPT_INSPECT 3
65 #define OPT_VERBOSE 4 67 #define OPT_VERBOSE 4
66 #define OPT_OPTIMIZE 5 68 #define OPT_OPTIMIZE 5
72 #define OPT_OLDEXC 13 74 #define OPT_OLDEXC 13
73 #define OPT_NOSITE 14 75 #define OPT_NOSITE 14
74 #define OPT_HELP 16 76 #define OPT_HELP 16
75 77
76 /* Dialog for 'No preferences directory' */ 78 /* Dialog for 'No preferences directory' */
77 #define NOPREFDIR_ID 233 79 #define NOPREFDIR_ID BASE_ID+5
78 80
79 /* Dialog for 'Bad or outdated preferences' */ 81 /* Dialog for 'Bad or outdated preferences' */
80 #define BADPREFERENCES_ID 234 82 #define BADPREFERENCES_ID BASE_ID+6
81 #define BADPREF_DELETE 1 83 #define BADPREF_DELETE 1
82 #define BADPREF_CONTINUE 2 84 #define BADPREF_CONTINUE 2
83 #define BADPREF_QUIT 3 85 #define BADPREF_QUIT 3
84 /* Dialog for 'Bad preference file' */ 86 /* Dialog for 'Bad preference file' */
85 #define BADPREFFILE_ID 235 87 #define BADPREFFILE_ID BASE_ID+7
86 88
87 /* About box */ 89 /* About box */
88 #define ABOUT_ID 236 90 #define ABOUT_ID BASE_ID+8
89 91
90 /* No preferences file name resource */ 92 /* No preferences file name resource */
91 #define NOPREFNAME_ID 237 93 #define NOPREFNAME_ID BASE_ID+9
92 94
93 /* EditPythonPrefs range. Needed here to forestall conflicts with applets */ 95 /* EditPythonPrefs range. Needed here to forestall conflicts with applets */
94 #define EDITPYTHONPREFS_MIN 508 96 #define EDITPYTHONPREFS_MIN 508
95 #define EDITPYTHONPREFS_MAX 511 97 #define EDITPYTHONPREFS_MAX 511
96 /* twit range. Again needed to forestall conflicts with scripts using their own resources */ 98 /* twit range. Again needed to forestall conflicts with scripts using their own resources */