comparison mac/src/Emacs.r @ 36417:350e6092a4c4

* src/macfns.c: Rename everything containing *busy_cursor* and similar to *hourglass*. Change IMAGE_POSITIVE_INTEGER_VALUE to IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout. (x_set_font): If font hasn't changed, avoid recomputing faces and other things, as in xfns.c. (Qcancel_timer): New variable. (syms_of_macfns): Rename x-busy-pointer-shape to x-hourglass-pointer-shape, display-busy-cursor to display-hourglass, busy-cursor-delay to hourglass-delay, as in xfns.c. (x_set_tool_bar_lines): Modify as in xfns.c (x_change_window_heights): New function. * inc/macterm.h (struct x_output): Rename busy_cursor to hourglass_cursor, busy_window to hourglass_window, busy_p to hourglass_p, as in xterm.h. * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with safe_run_hooks, as in xmenu.c. * src/macterm.c (do_check_ram_size): New function. * src/Emacs.r: Add ALRT resource #129 for alert when there is over 256 MB RAM.
author Andrew Choi <akochoi@shaw.ca>
date Tue, 27 Feb 2001 14:33:20 +0000
parents 923b8d6d8277
children c04e66e2c50c
comparison
equal deleted inserted replaced
36416:e8200ba10907 36417:350e6092a4c4
137 }, 137 },
138 /* [2] */ 138 /* [2] */
139 {10, 60, 72, 278}, 139 {10, 60, 72, 278},
140 StaticText { 140 StaticText {
141 disabled, 141 disabled,
142 "GNU Emacs 21.0.90 for Mac OS\n" 142 "GNU Emacs 21.0.99 for Mac OS\n"
143 "(11 October 2000 release)\n" 143 "(27 February 2001 release)\n"
144 "Report bugs to akochoi@users.sourceforge.net" 144 "Report bugs to emacs-pretest-bug@gnu.org"
145 }
146 }
147 };
148
149 resource 'ALRT' (129, "Ram Too Large", purgeable) {
150 {40, 20, 160, 297},
151 129,
152 { /* array: 4 elements */
153 /* [1] */
154 OK, visible, silent,
155 /* [2] */
156 OK, visible, silent,
157 /* [3] */
158 OK, visible, silent,
159 /* [4] */
160 OK, visible, silent
161 },
162 centerMainScreen
163 };
164
165 resource 'DITL' (129, purgeable) {
166 { /* array DITLarray: 2 elements */
167 /* [1] */
168 {88, 185, 108, 265},
169 Button {
170 enabled,
171 "OK"
172 },
173 /* [2] */
174 {10, 60, 72, 278},
175 StaticText {
176 disabled,
177 "Emacs does not run on a Macintosh with more than 256 MB of physical or virtual memory"
145 } 178 }
146 } 179 }
147 }; 180 };
148 181
149 resource 'BNDL' (128) { 182 resource 'BNDL' (128) {