(font-lock-extend-region-wholelines):
Only return non-nil if the region has really been changed.
Reported by David Hansen <david.hansen@physik.fu-berlin.de>
line source
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Graphical user interface functions for Mac OS.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Copyright (C) 2000, 2001, 2002, 2003, 2004,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 2005, 2006, 2007 Free Software Foundation, Inc.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This file is part of GNU Emacs.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNU Emacs is free software; you can redistribute it and/or modify
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 it under the terms of the GNU General Public License as published by
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the Free Software Foundation; either version 2, or (at your option)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 any later version.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNU Emacs 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
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNU General Public License for more details.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 You should have received a copy of the GNU General Public License
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 along with GNU Emacs; see the file COPYING. If not, write to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Boston, MA 02110-1301, USA. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Contributed by Andrew Choi (akochoi@mac.com). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <config.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <stdio.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <math.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "lisp.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "macterm.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "frame.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "window.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "buffer.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "intervals.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "dispextern.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "keyboard.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "blockinput.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <epaths.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "charset.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "coding.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "fontset.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "systime.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "termhooks.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include "atimer.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <ctype.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <sys/types.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <sys/stat.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <limits.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <errno.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #include <sys/param.h>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 extern void free_frame_menubar ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Carbon version info */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object Vmac_carbon_version_string;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* TARGET_API_MAC_CARBON */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Non-zero means we're allowed to display an hourglass cursor. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int display_hourglass_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The background and shape of the mouse pointer, and shape when not
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 over text or in the modeline. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_pointer_shape, Vx_nontext_pointer_shape, Vx_mode_pointer_shape;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_hourglass_pointer_shape;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The shape when over mouse-sensitive text. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_sensitive_text_pointer_shape;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If non-nil, the pointer shape to indicate that windows can be
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dragged horizontally. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_window_horizontal_drag_shape;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Color of chars displayed in cursor box. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_cursor_fore_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Nonzero if using Windows. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static int mac_in_use;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Non nil if no window manager is in use. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_no_window_manager;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_pixel_size_width_font_regexp;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Qnone;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Qsuppress_icon;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Qundefined_color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Qcancel_timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* In dispnew.c */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 extern Lisp_Object Vwindow_system_version;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if GLYPH_DEBUG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int image_cache_refcount, dpyinfo_refcount;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* Use xstricmp instead. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* compare two strings ignoring case */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 stricmp (const char *s, const char *t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for ( ; tolower (*s) == tolower (*t); s++, t++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*s == '\0')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return tolower (*s) - tolower (*t);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* compare two strings up to n characters, ignoring case */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strnicmp (const char *s, const char *t, unsigned int n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for ( ; n > 0 && tolower (*s) == tolower (*t); n--, s++, t++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*s == '\0')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return n == 0 ? 0 : tolower (*s) - tolower (*t);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Error if we are not running on Mac OS. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! mac_in_use)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Mac native windows not in use or not initialized");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Nonzero if we can use mouse menus.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 You should not call this unless HAVE_MENUS is defined. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 have_menus_p ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return mac_in_use;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Extract a frame as a FRAME_PTR, defaulting to the selected frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and checking validity for Mac. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_x_frame (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame = selected_frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_LIVE_FRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = XFRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! FRAME_MAC_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Non-Mac frame used");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Let the user specify a display with a frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nil stands for the selected frame--or, if that is not a mac frame,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the first display on the list. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_x_display_info (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *sf = XFRAME (selected_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_P (sf) && FRAME_LIVE_P (sf))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = FRAME_MAC_DISPLAY_INFO (sf);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (x_display_list != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = x_display_list;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Mac native windows are not in use or not initialized");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (STRINGP (frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = x_display_info_for_name (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = FRAME_MAC_DISPLAY_INFO (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object unwind_create_frame P_ ((Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object unwind_create_tip_frame P_ ((Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_foreground_color P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_background_color P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_mouse_color P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_cursor_color P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_border_color P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_cursor_type P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_icon_type P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_icon_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_explicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_title P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 extern void mac_get_window_bounds P_ ((struct frame *, Rect *, Rect *));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Store the screen positions of frame F into XPTR and YPTR.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 These are the positions of the containing window manager window,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 not Emacs's own window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_real_positions (f, xptr, yptr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int *xptr, *yptr;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Rect inner, outer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_get_window_bounds (f, &inner, &outer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->x_pixels_diff = inner.left - outer.left;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->y_pixels_diff = inner.top - outer.top;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *xptr = outer.left;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *yptr = outer.top;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The default colors for the Mac color map */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 typedef struct colormap_t
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 } colormap_t;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static const colormap_t mac_color_map[] =
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 250), "snow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(248, 248, 255), "ghost white" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(248, 248, 255), "GhostWhite" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 245, 245), "white smoke" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 245, 245), "WhiteSmoke" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(220, 220, 220), "gainsboro" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 240), "floral white" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 240), "FloralWhite" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(253, 245, 230), "old lace" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(253, 245, 230), "OldLace" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 240, 230), "linen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 235, 215), "antique white" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 235, 215), "AntiqueWhite" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 239, 213), "papaya whip" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 239, 213), "PapayaWhip" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 235, 205), "blanched almond" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 235, 205), "BlanchedAlmond" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 196), "bisque" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 218, 185), "peach puff" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 218, 185), "PeachPuff" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 222, 173), "navajo white" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 222, 173), "NavajoWhite" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 181), "moccasin" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 248, 220), "cornsilk" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 240), "ivory" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 205), "lemon chiffon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 205), "LemonChiffon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 245, 238), "seashell" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 255, 240), "honeydew" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 255, 250), "mint cream" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 255, 250), "MintCream" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 255, 255), "azure" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 248, 255), "alice blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 248, 255), "AliceBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(230, 230, 250), "lavender" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 240, 245), "lavender blush" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 240, 245), "LavenderBlush" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 225), "misty rose" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 225), "MistyRose" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 255), "white" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 0 ), "black" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(47 , 79 , 79 ), "dark slate gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(47 , 79 , 79 ), "DarkSlateGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(47 , 79 , 79 ), "dark slate grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(47 , 79 , 79 ), "DarkSlateGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "dim gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "DimGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "dim grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "DimGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 128, 144), "slate gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 128, 144), "SlateGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 128, 144), "slate grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 128, 144), "SlateGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(119, 136, 153), "light slate gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(119, 136, 153), "LightSlateGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(119, 136, 153), "light slate grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(119, 136, 153), "LightSlateGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(190, 190, 190), "gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(190, 190, 190), "grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(211, 211, 211), "light grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(211, 211, 211), "LightGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(211, 211, 211), "light gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(211, 211, 211), "LightGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(25 , 25 , 112), "midnight blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(25 , 25 , 112), "MidnightBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 128), "navy" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 128), "navy blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 128), "NavyBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(100, 149, 237), "cornflower blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(100, 149, 237), "CornflowerBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(72 , 61 , 139), "dark slate blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(72 , 61 , 139), "DarkSlateBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(106, 90 , 205), "slate blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(106, 90 , 205), "SlateBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(123, 104, 238), "medium slate blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(123, 104, 238), "MediumSlateBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(132, 112, 255), "light slate blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(132, 112, 255), "LightSlateBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 205), "medium blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 205), "MediumBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(65 , 105, 225), "royal blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(65 , 105, 225), "RoyalBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 255), "blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(30 , 144, 255), "dodger blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(30 , 144, 255), "DodgerBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 191, 255), "deep sky blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 191, 255), "DeepSkyBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 206, 235), "sky blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 206, 235), "SkyBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 206, 250), "light sky blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 206, 250), "LightSkyBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(70 , 130, 180), "steel blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(70 , 130, 180), "SteelBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 196, 222), "light steel blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 196, 222), "LightSteelBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 216, 230), "light blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 216, 230), "LightBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 224, 230), "powder blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 224, 230), "PowderBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(175, 238, 238), "pale turquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(175, 238, 238), "PaleTurquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 206, 209), "dark turquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 206, 209), "DarkTurquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(72 , 209, 204), "medium turquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(72 , 209, 204), "MediumTurquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(64 , 224, 208), "turquoise" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 255), "cyan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 255, 255), "light cyan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 255, 255), "LightCyan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(95 , 158, 160), "cadet blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(95 , 158, 160), "CadetBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 205, 170), "medium aquamarine" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 205, 170), "MediumAquamarine" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 255, 212), "aquamarine" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 100, 0 ), "dark green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 100, 0 ), "DarkGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(85 , 107, 47 ), "dark olive green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(85 , 107, 47 ), "DarkOliveGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(143, 188, 143), "dark sea green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(143, 188, 143), "DarkSeaGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(46 , 139, 87 ), "sea green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(46 , 139, 87 ), "SeaGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(60 , 179, 113), "medium sea green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(60 , 179, 113), "MediumSeaGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(32 , 178, 170), "light sea green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(32 , 178, 170), "LightSeaGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(152, 251, 152), "pale green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(152, 251, 152), "PaleGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 127), "spring green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 127), "SpringGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(124, 252, 0 ), "lawn green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(124, 252, 0 ), "LawnGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 0 ), "green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 255, 0 ), "chartreuse" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 250, 154), "medium spring green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 250, 154), "MediumSpringGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 255, 47 ), "green yellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 255, 47 ), "GreenYellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(50 , 205, 50 ), "lime green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(50 , 205, 50 ), "LimeGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 205, 50 ), "yellow green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 205, 50 ), "YellowGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(34 , 139, 34 ), "forest green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(34 , 139, 34 ), "ForestGreen" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(107, 142, 35 ), "olive drab" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(107, 142, 35 ), "OliveDrab" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(189, 183, 107), "dark khaki" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(189, 183, 107), "DarkKhaki" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 230, 140), "khaki" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 232, 170), "pale goldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 232, 170), "PaleGoldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 250, 210), "light goldenrod yellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 250, 210), "LightGoldenrodYellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 224), "light yellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 224), "LightYellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 0 ), "yellow" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 215, 0 ), "gold" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 221, 130), "light goldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 221, 130), "LightGoldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(218, 165, 32 ), "goldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(184, 134, 11 ), "dark goldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(184, 134, 11 ), "DarkGoldenrod" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(188, 143, 143), "rosy brown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(188, 143, 143), "RosyBrown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 92 , 92 ), "indian red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 92 , 92 ), "IndianRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 69 , 19 ), "saddle brown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 69 , 19 ), "SaddleBrown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(160, 82 , 45 ), "sienna" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 133, 63 ), "peru" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(222, 184, 135), "burlywood" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 245, 220), "beige" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 222, 179), "wheat" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(244, 164, 96 ), "sandy brown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(244, 164, 96 ), "SandyBrown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(210, 180, 140), "tan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(210, 105, 30 ), "chocolate" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(178, 34 , 34 ), "firebrick" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(165, 42 , 42 ), "brown" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(233, 150, 122), "dark salmon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(233, 150, 122), "DarkSalmon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 128, 114), "salmon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 160, 122), "light salmon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 160, 122), "LightSalmon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 165, 0 ), "orange" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 140, 0 ), "dark orange" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 140, 0 ), "DarkOrange" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 127, 80 ), "coral" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 128, 128), "light coral" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 128, 128), "LightCoral" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 99 , 71 ), "tomato" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 69 , 0 ), "orange red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 69 , 0 ), "OrangeRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 0 , 0 ), "red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 105, 180), "hot pink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 105, 180), "HotPink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 20 , 147), "deep pink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 20 , 147), "DeepPink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 192, 203), "pink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 182, 193), "light pink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 182, 193), "LightPink" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(219, 112, 147), "pale violet red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(219, 112, 147), "PaleVioletRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 48 , 96 ), "maroon" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(199, 21 , 133), "medium violet red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(199, 21 , 133), "MediumVioletRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(208, 32 , 144), "violet red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(208, 32 , 144), "VioletRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 0 , 255), "magenta" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 130, 238), "violet" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(221, 160, 221), "plum" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(218, 112, 214), "orchid" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(186, 85 , 211), "medium orchid" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(186, 85 , 211), "MediumOrchid" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(153, 50 , 204), "dark orchid" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(153, 50 , 204), "DarkOrchid" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(148, 0 , 211), "dark violet" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(148, 0 , 211), "DarkViolet" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(138, 43 , 226), "blue violet" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(138, 43 , 226), "BlueViolet" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(160, 32 , 240), "purple" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(147, 112, 219), "medium purple" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(147, 112, 219), "MediumPurple" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(216, 191, 216), "thistle" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 250), "snow1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 233, 233), "snow2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 201, 201), "snow3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 137, 137), "snow4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 245, 238), "seashell1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 229, 222), "seashell2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 197, 191), "seashell3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 134, 130), "seashell4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 239, 219), "AntiqueWhite1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 223, 204), "AntiqueWhite2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 192, 176), "AntiqueWhite3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 131, 120), "AntiqueWhite4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 196), "bisque1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 213, 183), "bisque2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 183, 158), "bisque3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 125, 107), "bisque4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 218, 185), "PeachPuff1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 203, 173), "PeachPuff2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 175, 149), "PeachPuff3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 119, 101), "PeachPuff4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 222, 173), "NavajoWhite1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 207, 161), "NavajoWhite2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 179, 139), "NavajoWhite3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 121, 94), "NavajoWhite4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 250, 205), "LemonChiffon1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 233, 191), "LemonChiffon2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 201, 165), "LemonChiffon3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 137, 112), "LemonChiffon4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 248, 220), "cornsilk1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 232, 205), "cornsilk2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 200, 177), "cornsilk3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 136, 120), "cornsilk4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 240), "ivory1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 238, 224), "ivory2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 205, 193), "ivory3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 139, 131), "ivory4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 255, 240), "honeydew1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 238, 224), "honeydew2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(193, 205, 193), "honeydew3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(131, 139, 131), "honeydew4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 240, 245), "LavenderBlush1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 224, 229), "LavenderBlush2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 193, 197), "LavenderBlush3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 131, 134), "LavenderBlush4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 228, 225), "MistyRose1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 213, 210), "MistyRose2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 183, 181), "MistyRose3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 125, 123), "MistyRose4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 255, 255), "azure1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 238, 238), "azure2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(193, 205, 205), "azure3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(131, 139, 139), "azure4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(131, 111, 255), "SlateBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 103, 238), "SlateBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 89 , 205), "SlateBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(71 , 60 , 139), "SlateBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(72 , 118, 255), "RoyalBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(67 , 110, 238), "RoyalBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(58 , 95 , 205), "RoyalBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(39 , 64 , 139), "RoyalBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 255), "blue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 238), "blue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 205), "blue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 139), "blue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(30 , 144, 255), "DodgerBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(28 , 134, 238), "DodgerBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(24 , 116, 205), "DodgerBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(16 , 78 , 139), "DodgerBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(99 , 184, 255), "SteelBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(92 , 172, 238), "SteelBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(79 , 148, 205), "SteelBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(54 , 100, 139), "SteelBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 191, 255), "DeepSkyBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 178, 238), "DeepSkyBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 154, 205), "DeepSkyBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 104, 139), "DeepSkyBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 206, 255), "SkyBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(126, 192, 238), "SkyBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(108, 166, 205), "SkyBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(74 , 112, 139), "SkyBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 226, 255), "LightSkyBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(164, 211, 238), "LightSkyBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(141, 182, 205), "LightSkyBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(96 , 123, 139), "LightSkyBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(198, 226, 255), "SlateGray1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(185, 211, 238), "SlateGray2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(159, 182, 205), "SlateGray3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(108, 123, 139), "SlateGray4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(202, 225, 255), "LightSteelBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(188, 210, 238), "LightSteelBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(162, 181, 205), "LightSteelBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(110, 123, 139), "LightSteelBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(191, 239, 255), "LightBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(178, 223, 238), "LightBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 192, 205), "LightBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(104, 131, 139), "LightBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 255, 255), "LightCyan1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(209, 238, 238), "LightCyan2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(180, 205, 205), "LightCyan3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 139, 139), "LightCyan4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(187, 255, 255), "PaleTurquoise1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(174, 238, 238), "PaleTurquoise2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(150, 205, 205), "PaleTurquoise3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 139, 139), "PaleTurquoise4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(152, 245, 255), "CadetBlue1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(142, 229, 238), "CadetBlue2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 197, 205), "CadetBlue3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(83 , 134, 139), "CadetBlue4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 245, 255), "turquoise1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 229, 238), "turquoise2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 197, 205), "turquoise3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 134, 139), "turquoise4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 255), "cyan1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 238, 238), "cyan2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 205, 205), "cyan3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 139, 139), "cyan4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(151, 255, 255), "DarkSlateGray1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(141, 238, 238), "DarkSlateGray2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(121, 205, 205), "DarkSlateGray3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(82 , 139, 139), "DarkSlateGray4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 255, 212), "aquamarine1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(118, 238, 198), "aquamarine2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 205, 170), "aquamarine3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(69 , 139, 116), "aquamarine4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(193, 255, 193), "DarkSeaGreen1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(180, 238, 180), "DarkSeaGreen2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(155, 205, 155), "DarkSeaGreen3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 139, 105), "DarkSeaGreen4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(84 , 255, 159), "SeaGreen1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(78 , 238, 148), "SeaGreen2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(67 , 205, 128), "SeaGreen3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(46 , 139, 87 ), "SeaGreen4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 255, 154), "PaleGreen1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(144, 238, 144), "PaleGreen2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(124, 205, 124), "PaleGreen3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(84 , 139, 84 ), "PaleGreen4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 127), "SpringGreen1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 238, 118), "SpringGreen2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 205, 102), "SpringGreen3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 139, 69 ), "SpringGreen4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 255, 0 ), "green1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 238, 0 ), "green2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 205, 0 ), "green3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 139, 0 ), "green4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 255, 0 ), "chartreuse1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(118, 238, 0 ), "chartreuse2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 205, 0 ), "chartreuse3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(69 , 139, 0 ), "chartreuse4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(192, 255, 62 ), "OliveDrab1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(179, 238, 58 ), "OliveDrab2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 205, 50 ), "OliveDrab3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 139, 34 ), "OliveDrab4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(202, 255, 112), "DarkOliveGreen1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(188, 238, 104), "DarkOliveGreen2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(162, 205, 90 ), "DarkOliveGreen3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(110, 139, 61 ), "DarkOliveGreen4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 246, 143), "khaki1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 230, 133), "khaki2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 198, 115), "khaki3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 134, 78 ), "khaki4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 236, 139), "LightGoldenrod1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 220, 130), "LightGoldenrod2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 190, 112), "LightGoldenrod3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 129, 76 ), "LightGoldenrod4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 224), "LightYellow1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 238, 209), "LightYellow2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 205, 180), "LightYellow3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 139, 122), "LightYellow4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 0 ), "yellow1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 238, 0 ), "yellow2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 205, 0 ), "yellow3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 139, 0 ), "yellow4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 215, 0 ), "gold1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 201, 0 ), "gold2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 173, 0 ), "gold3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 117, 0 ), "gold4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 193, 37 ), "goldenrod1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 180, 34 ), "goldenrod2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 155, 29 ), "goldenrod3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 105, 20 ), "goldenrod4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 185, 15 ), "DarkGoldenrod1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 173, 14 ), "DarkGoldenrod2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 149, 12 ), "DarkGoldenrod3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 101, 8 ), "DarkGoldenrod4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 193, 193), "RosyBrown1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 180, 180), "RosyBrown2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 155, 155), "RosyBrown3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 105, 105), "RosyBrown4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 106, 106), "IndianRed1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 99 , 99 ), "IndianRed2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 85 , 85 ), "IndianRed3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 58 , 58 ), "IndianRed4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 130, 71 ), "sienna1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 121, 66 ), "sienna2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 104, 57 ), "sienna3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 71 , 38 ), "sienna4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 211, 155), "burlywood1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 197, 145), "burlywood2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 170, 125), "burlywood3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 115, 85 ), "burlywood4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 231, 186), "wheat1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 216, 174), "wheat2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 186, 150), "wheat3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 126, 102), "wheat4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 165, 79 ), "tan1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 154, 73 ), "tan2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 133, 63 ), "tan3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 90 , 43 ), "tan4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 127, 36 ), "chocolate1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 118, 33 ), "chocolate2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 102, 29 ), "chocolate3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 69 , 19 ), "chocolate4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 48 , 48 ), "firebrick1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 44 , 44 ), "firebrick2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 38 , 38 ), "firebrick3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 26 , 26 ), "firebrick4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 64 , 64 ), "brown1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 59 , 59 ), "brown2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 51 , 51 ), "brown3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 35 , 35 ), "brown4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 140, 105), "salmon1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 130, 98 ), "salmon2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 112, 84 ), "salmon3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 76 , 57 ), "salmon4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 160, 122), "LightSalmon1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 149, 114), "LightSalmon2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 129, 98 ), "LightSalmon3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 87 , 66 ), "LightSalmon4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 165, 0 ), "orange1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 154, 0 ), "orange2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 133, 0 ), "orange3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 90 , 0 ), "orange4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 127, 0 ), "DarkOrange1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 118, 0 ), "DarkOrange2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 102, 0 ), "DarkOrange3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 69 , 0 ), "DarkOrange4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 114, 86 ), "coral1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 106, 80 ), "coral2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 91 , 69 ), "coral3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 62 , 47 ), "coral4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 99 , 71 ), "tomato1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 92 , 66 ), "tomato2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 79 , 57 ), "tomato3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 54 , 38 ), "tomato4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 69 , 0 ), "OrangeRed1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 64 , 0 ), "OrangeRed2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 55 , 0 ), "OrangeRed3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 37 , 0 ), "OrangeRed4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 0 , 0 ), "red1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 0 , 0 ), "red2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 0 , 0 ), "red3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 0 ), "red4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 20 , 147), "DeepPink1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 18 , 137), "DeepPink2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 16 , 118), "DeepPink3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 10 , 80 ), "DeepPink4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 110, 180), "HotPink1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 106, 167), "HotPink2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 96 , 144), "HotPink3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 58 , 98 ), "HotPink4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 181, 197), "pink1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 169, 184), "pink2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 145, 158), "pink3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 99 , 108), "pink4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 174, 185), "LightPink1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 162, 173), "LightPink2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 140, 149), "LightPink3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 95 , 101), "LightPink4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 130, 171), "PaleVioletRed1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 121, 159), "PaleVioletRed2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 104, 137), "PaleVioletRed3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 71 , 93 ), "PaleVioletRed4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 52 , 179), "maroon1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 48 , 167), "maroon2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 41 , 144), "maroon3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 28 , 98 ), "maroon4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 62 , 150), "VioletRed1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 58 , 140), "VioletRed2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 50 , 120), "VioletRed3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 34 , 82 ), "VioletRed4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 0 , 255), "magenta1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 0 , 238), "magenta2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 0 , 205), "magenta3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 139), "magenta4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 131, 250), "orchid1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 122, 233), "orchid2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 105, 201), "orchid3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 71 , 137), "orchid4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 187, 255), "plum1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 174, 238), "plum2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 150, 205), "plum3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 102, 139), "plum4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 102, 255), "MediumOrchid1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(209, 95 , 238), "MediumOrchid2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(180, 82 , 205), "MediumOrchid3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 55 , 139), "MediumOrchid4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(191, 62 , 255), "DarkOrchid1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(178, 58 , 238), "DarkOrchid2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(154, 50 , 205), "DarkOrchid3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(104, 34 , 139), "DarkOrchid4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(155, 48 , 255), "purple1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(145, 44 , 238), "purple2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(125, 38 , 205), "purple3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(85 , 26 , 139), "purple4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(171, 130, 255), "MediumPurple1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(159, 121, 238), "MediumPurple2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(137, 104, 205), "MediumPurple3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(93 , 71 , 139), "MediumPurple4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 225, 255), "thistle1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(238, 210, 238), "thistle2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(205, 181, 205), "thistle3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 123, 139), "thistle4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 0 ), "gray0" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 0 ), "grey0" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(3 , 3 , 3 ), "gray1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(3 , 3 , 3 ), "grey1" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(5 , 5 , 5 ), "gray2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(5 , 5 , 5 ), "grey2" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(8 , 8 , 8 ), "gray3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(8 , 8 , 8 ), "grey3" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(10 , 10 , 10 ), "gray4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(10 , 10 , 10 ), "grey4" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(13 , 13 , 13 ), "gray5" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(13 , 13 , 13 ), "grey5" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(15 , 15 , 15 ), "gray6" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(15 , 15 , 15 ), "grey6" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(18 , 18 , 18 ), "gray7" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(18 , 18 , 18 ), "grey7" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(20 , 20 , 20 ), "gray8" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(20 , 20 , 20 ), "grey8" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(23 , 23 , 23 ), "gray9" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(23 , 23 , 23 ), "grey9" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(26 , 26 , 26 ), "gray10" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(26 , 26 , 26 ), "grey10" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(28 , 28 , 28 ), "gray11" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(28 , 28 , 28 ), "grey11" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(31 , 31 , 31 ), "gray12" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(31 , 31 , 31 ), "grey12" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(33 , 33 , 33 ), "gray13" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(33 , 33 , 33 ), "grey13" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(36 , 36 , 36 ), "gray14" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(36 , 36 , 36 ), "grey14" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(38 , 38 , 38 ), "gray15" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(38 , 38 , 38 ), "grey15" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(41 , 41 , 41 ), "gray16" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(41 , 41 , 41 ), "grey16" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(43 , 43 , 43 ), "gray17" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(43 , 43 , 43 ), "grey17" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(46 , 46 , 46 ), "gray18" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(46 , 46 , 46 ), "grey18" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(48 , 48 , 48 ), "gray19" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(48 , 48 , 48 ), "grey19" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(51 , 51 , 51 ), "gray20" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(51 , 51 , 51 ), "grey20" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(54 , 54 , 54 ), "gray21" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(54 , 54 , 54 ), "grey21" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(56 , 56 , 56 ), "gray22" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(56 , 56 , 56 ), "grey22" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(59 , 59 , 59 ), "gray23" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(59 , 59 , 59 ), "grey23" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(61 , 61 , 61 ), "gray24" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(61 , 61 , 61 ), "grey24" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(64 , 64 , 64 ), "gray25" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(64 , 64 , 64 ), "grey25" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(66 , 66 , 66 ), "gray26" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(66 , 66 , 66 ), "grey26" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(69 , 69 , 69 ), "gray27" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(69 , 69 , 69 ), "grey27" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(71 , 71 , 71 ), "gray28" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(71 , 71 , 71 ), "grey28" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(74 , 74 , 74 ), "gray29" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(74 , 74 , 74 ), "grey29" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(77 , 77 , 77 ), "gray30" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(77 , 77 , 77 ), "grey30" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(79 , 79 , 79 ), "gray31" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(79 , 79 , 79 ), "grey31" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(82 , 82 , 82 ), "gray32" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(82 , 82 , 82 ), "grey32" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(84 , 84 , 84 ), "gray33" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(84 , 84 , 84 ), "grey33" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(87 , 87 , 87 ), "gray34" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(87 , 87 , 87 ), "grey34" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(89 , 89 , 89 ), "gray35" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(89 , 89 , 89 ), "grey35" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(92 , 92 , 92 ), "gray36" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(92 , 92 , 92 ), "grey36" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(94 , 94 , 94 ), "gray37" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(94 , 94 , 94 ), "grey37" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(97 , 97 , 97 ), "gray38" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(97 , 97 , 97 ), "grey38" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(99 , 99 , 99 ), "gray39" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(99 , 99 , 99 ), "grey39" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 102, 102), "gray40" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(102, 102, 102), "grey40" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "gray41" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(105, 105, 105), "grey41" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(107, 107, 107), "gray42" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(107, 107, 107), "grey42" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(110, 110, 110), "gray43" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(110, 110, 110), "grey43" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 112, 112), "gray44" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(112, 112, 112), "grey44" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(115, 115, 115), "gray45" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(115, 115, 115), "grey45" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(117, 117, 117), "gray46" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(117, 117, 117), "grey46" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(120, 120, 120), "gray47" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(120, 120, 120), "grey47" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 122, 122), "gray48" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(122, 122, 122), "grey48" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(125, 125, 125), "gray49" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(125, 125, 125), "grey49" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 127, 127), "gray50" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(127, 127, 127), "grey50" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(130, 130, 130), "gray51" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(130, 130, 130), "grey51" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(133, 133, 133), "gray52" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(133, 133, 133), "grey52" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 135, 135), "gray53" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(135, 135, 135), "grey53" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(138, 138, 138), "gray54" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(138, 138, 138), "grey54" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(140, 140, 140), "gray55" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(140, 140, 140), "grey55" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(143, 143, 143), "gray56" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(143, 143, 143), "grey56" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(145, 145, 145), "gray57" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(145, 145, 145), "grey57" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(148, 148, 148), "gray58" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(148, 148, 148), "grey58" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(150, 150, 150), "gray59" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(150, 150, 150), "grey59" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(153, 153, 153), "gray60" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(153, 153, 153), "grey60" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(156, 156, 156), "gray61" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(156, 156, 156), "grey61" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(158, 158, 158), "gray62" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(158, 158, 158), "grey62" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(161, 161, 161), "gray63" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(161, 161, 161), "grey63" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(163, 163, 163), "gray64" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(163, 163, 163), "grey64" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(166, 166, 166), "gray65" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(166, 166, 166), "grey65" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(168, 168, 168), "gray66" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(168, 168, 168), "grey66" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(171, 171, 171), "gray67" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(171, 171, 171), "grey67" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 173, 173), "gray68" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(173, 173, 173), "grey68" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 176, 176), "gray69" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(176, 176, 176), "grey69" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(179, 179, 179), "gray70" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(179, 179, 179), "grey70" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(181, 181, 181), "gray71" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(181, 181, 181), "grey71" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(184, 184, 184), "gray72" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(184, 184, 184), "grey72" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(186, 186, 186), "gray73" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(186, 186, 186), "grey73" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(189, 189, 189), "gray74" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(189, 189, 189), "grey74" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(191, 191, 191), "gray75" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(191, 191, 191), "grey75" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(194, 194, 194), "gray76" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(194, 194, 194), "grey76" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(196, 196, 196), "gray77" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(196, 196, 196), "grey77" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(199, 199, 199), "gray78" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(199, 199, 199), "grey78" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(201, 201, 201), "gray79" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(201, 201, 201), "grey79" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(204, 204, 204), "gray80" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(204, 204, 204), "grey80" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(207, 207, 207), "gray81" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(207, 207, 207), "grey81" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(209, 209, 209), "gray82" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(209, 209, 209), "grey82" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(212, 212, 212), "gray83" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(212, 212, 212), "grey83" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(214, 214, 214), "gray84" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(214, 214, 214), "grey84" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(217, 217, 217), "gray85" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(217, 217, 217), "grey85" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(219, 219, 219), "gray86" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(219, 219, 219), "grey86" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(222, 222, 222), "gray87" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(222, 222, 222), "grey87" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 224, 224), "gray88" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(224, 224, 224), "grey88" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(227, 227, 227), "gray89" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(227, 227, 227), "grey89" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(229, 229, 229), "gray90" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(229, 229, 229), "grey90" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(232, 232, 232), "gray91" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(232, 232, 232), "grey91" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(235, 235, 235), "gray92" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(235, 235, 235), "grey92" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(237, 237, 237), "gray93" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(237, 237, 237), "grey93" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 240, 240), "gray94" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(240, 240, 240), "grey94" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(242, 242, 242), "gray95" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(242, 242, 242), "grey95" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 245, 245), "gray96" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(245, 245, 245), "grey96" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(247, 247, 247), "gray97" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(247, 247, 247), "grey97" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 250, 250), "gray98" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(250, 250, 250), "grey98" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(252, 252, 252), "gray99" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(252, 252, 252), "grey99" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 255), "gray100" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(255, 255, 255), "grey100" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(169, 169, 169), "dark grey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(169, 169, 169), "DarkGrey" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(169, 169, 169), "dark gray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(169, 169, 169), "DarkGray" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 139), "dark blue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 0 , 139), "DarkBlue" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 139, 139), "dark cyan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(0 , 139, 139), "DarkCyan" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 139), "dark magenta" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 139), "DarkMagenta" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 0 ), "dark red" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(139, 0 , 0 ), "DarkRed" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(144, 238, 144), "light green" },
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 { RGB_TO_ULONG(144, 238, 144), "LightGreen" }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 };
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_color_map_lookup (colorname)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 const char *colorname;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object ret = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < sizeof (mac_color_map) / sizeof (mac_color_map[0]); i++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (xstricmp (colorname, mac_color_map[i].name) == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ret = make_number (mac_color_map[i].color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return ret;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_to_mac_color (colorname)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char * colorname;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register Lisp_Object ret = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (colorname[0] == '#')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Could be an old-style RGB Device specification. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int size;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = colorname + 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 size = strlen(color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (size == 3 || size == 6 || size == 9 || size == 12)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long colorval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i, pos;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos = 16;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 size /= 3;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < 3; i++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *end;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char t;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The check for 'x' in the following conditional takes into
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 account the fact that strtol allows a "0x" in front of
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 our numbers, and we don't. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!isxdigit(color[0]) || color[1] == 'x')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 t = color[size];
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color[size] = '\0';
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = strtoul(color, &end, 16);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color[size] = t;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (errno == ERANGE || end - color != size)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 switch (size)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 1:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = value * 0x10;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 2:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 3:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value /= 0x10;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 4:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value /= 0x100;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval |= (value << pos);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos -= 8;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (i == 2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (colorval);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = end;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (strnicmp(colorname, "rgb:", 4) == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long colorval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i, pos;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos = 16;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = colorname + 4;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < 3; i++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *end;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The check for 'x' in the following conditional takes into
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 account the fact that strtol allows a "0x" in front of
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 our numbers, and we don't. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!isxdigit(color[0]) || color[1] == 'x')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = strtoul(color, &end, 16);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (errno == ERANGE)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 switch (end - color)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 1:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = value * 0x10 + value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 2:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 3:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value /= 0x10;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case 4:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value /= 0x100;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 default:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = ULONG_MAX;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (value == ULONG_MAX)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval |= (value << pos);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos -= 0x8;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (i == 2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*end != '\0')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (colorval);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*end != '/')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = end + 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (strnicmp(colorname, "rgbi:", 5) == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is an RGB Intensity specification. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long colorval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i, pos;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos = 16;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = colorname + 5;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < 3; i++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *end;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 double value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long val;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = strtod(color, &end);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (errno == ERANGE)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (value < 0.0 || value > 1.0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 val = (unsigned long)(0x100 * value);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* We used 0x100 instead of 0xFF to give a continuous
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 range between 0.0 and 1.0 inclusive. The next statement
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fixes the 1.0 case. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (val == 0x100)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 val = 0xFF;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 colorval |= (val << pos);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pos -= 0x8;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (i == 2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*end != '\0')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (colorval);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*end != '/')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color = end + 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ret = mac_color_map_lookup (colorname);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return ret;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Gamma-correct COLOR on frame F. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gamma_correct (f, color)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long *color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->gamma)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long red, green, blue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 red = pow (RED_FROM_ULONG (*color) / 255.0, f->gamma) * 255.0 + 0.5;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 green = pow (GREEN_FROM_ULONG (*color) / 255.0, f->gamma) * 255.0 + 0.5;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 blue = pow (BLUE_FROM_ULONG (*color) / 255.0, f->gamma) * 255.0 + 0.5;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *color = RGB_TO_ULONG (red, green, blue);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Decide if color named COLOR is valid for the display associated
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 with the selected frame; if so, return the rgb values in COLOR_DEF.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If ALLOC is nonzero, allocate a new colormap cell. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_defined_color (f, color, color_def, alloc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XColor *color_def;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int alloc;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register Lisp_Object tem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long mac_color_ref;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = x_to_mac_color (color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Apply gamma correction. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_color_ref = XUINT (tem);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gamma_correct (f, &mac_color_ref);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETINT (tem, mac_color_ref);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color_def->pixel = mac_color_ref;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color_def->red = RED16_FROM_ULONG (mac_color_ref);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color_def->green = GREEN16_FROM_ULONG (mac_color_ref);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 color_def->blue = BLUE16_FROM_ULONG (mac_color_ref);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Given a string ARG naming a color, compute a pixel value from it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 suitable for screen F.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If F is not a color screen, return DEF (default) regardless of what
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ARG says. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_decode_color (f, arg, def)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int def;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XColor cdef;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strcmp (SDATA (arg), "black") == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return BLACK_PIX_DEFAULT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (strcmp (SDATA (arg), "white") == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return WHITE_PIX_DEFAULT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_DISPLAY_INFO (f)->n_planes) == 1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return def;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mac_defined_color (f, SDATA (arg), &cdef, 1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return cdef.pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* defined_color failed; return an ultimate default. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return def;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Functions called only from `x_set_frame_param'
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 to set individual parameters.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If FRAME_MAC_WINDOW (f) is 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the frame is being created and its window does not exist yet.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 In that case, just record the parameter's new value
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 in the standard place; do not attempt to change the window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_foreground_color (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_output *mac = f->output_data.mac;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long fg, old_fg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fg = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 old_fg = FRAME_FOREGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_FOREGROUND_PIXEL (f) = fg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Display *dpy = FRAME_MAC_DISPLAY (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetForeground (dpy, mac->normal_gc, fg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetBackground (dpy, mac->reverse_gc, fg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mac->cursor_pixel == old_fg)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unload_color (f, mac->cursor_pixel);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac->cursor_pixel = fg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetBackground (dpy, mac->cursor_gc, mac->cursor_pixel);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_face_from_frame_parameter (f, Qforeground_color, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_VISIBLE_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 redraw_frame (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unload_color (f, old_fg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_background_color (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_output *mac = f->output_data.mac;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long bg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 bg = x_decode_color (f, arg, WHITE_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unload_color (f, FRAME_BACKGROUND_PIXEL (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_BACKGROUND_PIXEL (f) = bg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Display *dpy = FRAME_MAC_DISPLAY (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetBackground (dpy, mac->normal_gc, bg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetForeground (dpy, mac->reverse_gc, bg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetWindowBackground (dpy, FRAME_MAC_WINDOW (f), bg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetForeground (dpy, mac->cursor_gc, bg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_face_from_frame_parameter (f, Qbackground_color, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_VISIBLE_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 redraw_frame (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_mouse_color (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct x_output *x = f->output_data.x;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Cursor cursor, nontext_cursor, mode_cursor, hand_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Cursor hourglass_cursor, horizontal_drag_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long mask_color = x->background_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't let pointers be invisible. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mask_color == pixel)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pixel = x->foreground_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->mouse_pixel = pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_pointer_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cursor = XINT (Vx_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cursor = kThemeIBeamCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_nontext_pointer_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_nontext_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nontext_cursor = XINT (Vx_nontext_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nontext_cursor = kThemeArrowCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_hourglass_pointer_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_hourglass_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_cursor = XINT (Vx_hourglass_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_cursor = kThemeWatchCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_mode_pointer_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_mode_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mode_cursor = XINT (Vx_mode_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mode_cursor = kThemeArrowCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_sensitive_text_pointer_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_sensitive_text_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hand_cursor = XINT (Vx_sensitive_text_pointer_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hand_cursor = kThemePointingHandCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_window_horizontal_drag_shape))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (Vx_window_horizontal_drag_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 horizontal_drag_cursor = XINT (Vx_window_horizontal_drag_shape);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 horizontal_drag_cursor = kThemeResizeLeftRightCursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO: cursor color changes */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XColor fore_color, back_color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fore_color.pixel = f->output_data.mac->mouse_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_query_color (f, &fore_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 back_color.pixel = mask_color;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_query_color (f, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, nontext_cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, mode_cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, hand_cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, hourglass_cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XRecolorCursor (dpy, horizontal_drag_cursor, &fore_color, &back_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 rif->define_frame_cursor (f, cursor);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->text_cursor = cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->nontext_cursor = nontext_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->hourglass_cursor = hourglass_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->modeline_cursor = mode_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->hand_cursor = hand_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->horizontal_drag_cursor = horizontal_drag_cursor;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_face_from_frame_parameter (f, Qmouse_color, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_cursor_color (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long fore_pixel, pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (Vx_cursor_fore_pixel))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fore_pixel = x_decode_color (f, Vx_cursor_fore_pixel,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 WHITE_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fore_pixel = FRAME_BACKGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure that the cursor color differs from the background color. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (pixel == FRAME_BACKGROUND_PIXEL (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pixel = f->output_data.mac->mouse_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (pixel == fore_pixel)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fore_pixel = FRAME_BACKGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_foreground_pixel = fore_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_pixel = pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Update frame's cursor_gc. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetBackground (FRAME_MAC_DISPLAY (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_gc, pixel);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetForeground (FRAME_MAC_DISPLAY (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_gc, fore_pixel);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_VISIBLE_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_update_cursor (f, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_update_cursor (f, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_face_from_frame_parameter (f, Qcursor_color, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the border-color of frame F to pixel value PIX.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Note that this does not fully take effect if done before
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F has a window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_border_pixel (f, pix)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int pix;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->border_pixel = pix;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) != 0 && f->border_width > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_VISIBLE_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 redraw_frame (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the border-color of frame F to value described by ARG.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ARG can be a string naming a color.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The border-color is used for the border that is drawn by the server.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Note that this does not fully take effect if done before
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F has a window; it must be redone when the window is created. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_border_color (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int pix;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 pix = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_border_pixel (f, pix);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_face_from_frame_parameter (f, Qborder_color, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_cursor_type (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_frame_cursor_types (f, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure the cursor gets redrawn. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cursor_type_changed = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO: really no icon for Mac */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_icon_type (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (arg) && NILP (oldval))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (arg) && STRINGP (oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && EQ (Fstring_equal (oldval, arg), Qt))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (SYMBOLP (arg) && SYMBOLP (oldval) && EQ (arg, oldval))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 result = x_bitmap_icon (f, arg);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (result)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("No icon window available");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_icon_name (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (arg))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (oldval) && EQ (Fstring_equal (oldval, arg), Qt))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (!NILP (arg) || NILP (oldval))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->icon_name = arg;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.w32->icon_bitmap != 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 result = x_text_icon (f,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (char *) SDATA ((!NILP (f->icon_name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ? f->icon_name
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 : !NILP (f->title)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ? f->title
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 : f->name)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (result)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("No icon window available");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If the window was unmapped (and its icon was mapped),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the new icon is not mapped, so map the window in its stead. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_VISIBLE_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef USE_X_TOOLKIT
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XtPopup (f->output_data.w32->widget, XtGrabNone);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XMapWindow (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFlush (FRAME_W32_DISPLAY (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_menu_bar_lines (f, value, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object value, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure we redisplay all windows in this frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 windows_or_buffers_changed++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MENU_BAR_LINES (f) = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The menu bar is always shown. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_EXTERNAL_MENU_BAR (f) = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_P (f) && f->output_data.mac->menubar_widget == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure next redisplay shows the menu bar. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 adjust_glyphs (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the number of lines used for the tool bar of frame F to VALUE.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 VALUE not an integer, or < 0 means set the lines to zero. OLDVAL
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 is the old number of tool bar lines. This function changes the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 height of all windows on frame F to match the new tool bar height.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The frame's height doesn't change. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_tool_bar_lines (f, value, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object value, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int delta, nlines, root_height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object root_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Treat tool bars like menu bars. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MINIBUF_ONLY_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Use VALUE only if an integer >= 0. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (INTEGERP (value) && XINT (value) >= 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nlines = XFASTINT (value);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nlines = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure we redisplay all windows in this frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ++windows_or_buffers_changed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 delta = nlines - FRAME_TOOL_BAR_LINES (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't resize the tool-bar to more than we have room for. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 root_window = FRAME_ROOT_WINDOW (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 root_height = WINDOW_TOTAL_LINES (XWINDOW (root_window));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (root_height - delta < 1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 delta = root_height - 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nlines = FRAME_TOOL_BAR_LINES (f) + delta;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_TOOL_BAR_LINES (f) = nlines;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 change_window_heights (root_window, delta);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 adjust_glyphs (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* We also have to make sure that the internal border at the top of
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the frame, below the menu bar or tool bar, is redrawn when the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tool bar disappears. This is so because the internal border is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 below the tool bar if one is displayed, but is below the menu bar
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if there isn't a tool bar. The tool bar draws into the area
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 below the menu bar. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) && FRAME_TOOL_BAR_LINES (f) == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 updating_frame = f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clear_frame ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clear_current_matrices (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 updating_frame = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If the tool bar gets smaller, the internal border below it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 has to be cleared. It was formerly part of the display
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 of the larger tool bar, and updating windows won't clear it. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (delta < 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int height = FRAME_INTERNAL_BORDER_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int width = FRAME_PIXEL_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int y = nlines * FRAME_LINE_HEIGHT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_clear_area (f, 0, y, width, height);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (WINDOWP (f->tool_bar_window))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the Mac window title to NAME for frame F. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name_internal (f, name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRING_MULTIBYTE (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = ENCODE_UTF_8 (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = ENCODE_SYSTEM (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CFStringRef windowTitle =
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cfstring_create_with_utf8_cstring (SDATA (name));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetWindowTitleWithCFString (FRAME_MAC_WINDOW (f), windowTitle);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CFRelease (windowTitle);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Str255 windowTitle;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strlen (SDATA (name)) < 255)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strcpy (windowTitle, SDATA (name));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 c2pstr (windowTitle);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetWTitle (FRAME_MAC_WINDOW (f), windowTitle);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Change the name of frame F to NAME. If NAME is nil, set F's name to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_id_name.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If EXPLICIT is non-zero, that indicates that lisp code is setting the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name; if NAME is a string, set F's name to NAME and set
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If EXPLICIT is zero, that indicates that Emacs redisplay code is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 suggesting a new name, which lisp code should override; if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F->explicit_name is set, ignore the new name; otherwise, set it. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name (f, name, explicit)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int explicit;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure that requests from lisp code override requests from
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Emacs redisplay code. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (explicit)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If we're switching from explicit to implicit, we had better
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update the mode lines and thereby update the title. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->explicit_name && NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_mode_lines = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = ! NILP (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (f->explicit_name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If NAME is nil, set the name to the mac_id_name. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Check for no change needed in this very common case
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 before we do any consing. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!strcmp (FRAME_MAC_DISPLAY_INFO (f)->mac_id_name,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SDATA (f->name)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = build_string (FRAME_MAC_DISPLAY_INFO (f)->mac_id_name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't change the name if it's already NAME. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! NILP (Fstring_equal (name, f->name)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* For setting the frame title, the title parameter should override
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the name parameter. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! NILP (f->title))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = f->title;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name_internal (f, name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This function should be called when the user's lisp code has
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specified a name for the frame; the name will override any set by the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 redisplay code. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_explicitly_set_name (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name (f, arg, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This function should be called by Emacs redisplay code to set the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name; names set this way will never override names set by the user's
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 lisp code. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_implicitly_set_name (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name (f, arg, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Change the title of frame F to NAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If NAME is nil, use the frame name as the title.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If EXPLICIT is non-zero, that indicates that lisp code is setting the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name; if NAME is a string, set F's name to NAME and set
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If EXPLICIT is zero, that indicates that Emacs redisplay code is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 suggesting a new name, which lisp code should override; if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 F->explicit_name is set, ignore the new name; otherwise, set it. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_title (f, name, old_name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name, old_name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't change the title if it's already NAME. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (name, f->title))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_mode_lines = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->title = name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = f->name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name_internal (f, name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_scroll_bar_default_width (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Imitate X without X Toolkit */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int wid = FRAME_COLUMN_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CONFIG_SCROLL_BAR_COLS (f) = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) +
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 wid - 1) / wid;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else /* not MAC_OSX */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make the actual width at least 14 pixels and a multiple of a
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 character width. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + wid - 1) / wid;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Use all of that space (aside from required margins) for the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 scroll bar. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* not MAC_OSX */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_scroll_bar_width (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (INTEGERP (arg) && XINT (arg) > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (XINT (arg) < (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 + MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) / 2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETINT (arg, MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETINT (arg, MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_scroll_bar_width (f, arg, oldval);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_font (f, arg, oldval)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object arg, oldval;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_font (f, arg, oldval);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_MAC_FONT_PANEL
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object focus_frame = x_get_focus_frame (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if ((NILP (focus_frame) && f == SELECTED_FRAME ())
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 || XFRAME (focus_frame) == f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_font_info_for_selection (f, DEFAULT_FACE_ID, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_update_proxy_icon (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSStatus err;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object file_name =
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XBUFFER (XWINDOW (FRAME_SELECTED_WINDOW (f))->buffer)->filename;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Window w = FRAME_MAC_WINDOW (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 AliasHandle alias = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = GetWindowProxyAlias (w, &alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == errWindowDoesNotHaveProxy && !STRINGP (file_name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 goto out;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (file_name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 AEDesc desc;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FSRef fref, fref_proxy;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FSSpec fss, fss_proxy;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Boolean changed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object encoded_file_name = ENCODE_FILE (file_name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = AECoercePtr (TYPE_FILE_NAME, SDATA (encoded_file_name),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SBYTES (encoded_file_name), typeFSRef, &desc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetPortWindowPort (w);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = AECoercePtr (TYPE_FILE_NAME, SDATA (encoded_file_name),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SBYTES (encoded_file_name), typeFSS, &desc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = AEGetDescData (&desc, &fref, sizeof (FSRef));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = AEGetDescData (&desc, &fss, sizeof (FSSpec));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 AEDisposeDesc (&desc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (alias)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* (FS)ResolveAlias never sets `changed' to true if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 `alias' is minimal. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = FSResolveAlias (NULL, alias, &fref_proxy, &changed);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = FSCompareFSRefs (&fref, &fref_proxy);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = ResolveAlias (NULL, alias, &fss_proxy, &changed);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = !(fss.vRefNum == fss_proxy.vRefNum
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && fss.parID == fss_proxy.parID
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && EqualString (fss.name, fss_proxy.name,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 false, true));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err != noErr || alias == NULL)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (alias)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DisposeHandle ((Handle) alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = FSNewAliasMinimal (&fref, &alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = NewAliasMinimal (&fss, &alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 changed = true;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (changed)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = SetWindowProxyAlias (w, alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (alias)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DisposeHandle ((Handle) alias);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err != noErr || !STRINGP (file_name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 RemoveWindowProxy (w);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 out:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_update_title_bar (f, save_match_data)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int save_match_data;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct window *w;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int modified_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!FRAME_MAC_P (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w = XWINDOW (FRAME_SELECTED_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 modified_p = (BUF_SAVE_MODIFF (XBUFFER (w->buffer))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 < BUF_MODIFF (XBUFFER (w->buffer)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (windows_or_buffers_changed
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Minibuffer modification status shown in the close button is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 confusing. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 || (!MINI_WINDOW_P (w)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && (modified_p != !NILP (w->last_had_star))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetWindowModified (FRAME_MAC_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 !MINI_WINDOW_P (w) && modified_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_update_proxy_icon (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Subroutines of creating a frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Retrieve the string resource specified by NAME with CLASS from
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 database RDB.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The return value points to the contents of a Lisp string. So it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 will not be valid after the next GC where string compaction will
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 occur. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_get_string_resource (rdb, name, class)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XrmDatabase rdb;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *name, *class;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object value = xrm_get_resource (rdb, name, class);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (value))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return SDATA (value);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Return the value of parameter PARAM.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 First search ALIST, then Vdefault_frame_alist, then the X defaults
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 database, using ATTRIBUTE as the attribute name and CLASS as its class.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Convert the resource to the type specified by desired_type.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If no default is specified, return Qunbound. If you call
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_get_arg, make sure you deal with Qunbound in a reasonable way,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and don't let it get stored in any Lisp-visible variables! */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_get_arg (alist, param, attribute, class, type)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object alist, param;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *attribute;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *class;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 enum resource_types type;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return x_get_arg (check_x_display_info (Qnil),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 alist, param, attribute, class, type);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* XParseGeometry copied from w32xfns.c */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /*
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * XParseGeometry parses strings of the form
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * "=<width>x<height>{+-}<xoffset>{+-}<yoffset>", where
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * width, height, xoffset, and yoffset are unsigned integers.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * Example: "=80x24+300-49"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * The equal sign is optional.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * It returns a bitmask that indicates which of the four values
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * were actually found in the string. For each value found,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * the corresponding argument is updated; for each value
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 * not found, the corresponding argument is left unchanged.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 read_integer (string, NextString)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register char *string;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char **NextString;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register int Result = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int Sign = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*string == '+')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 string++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (*string == '-')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 string++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sign = -1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (; (*string >= '0') && (*string <= '9'); string++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Result = (Result * 10) + (*string - '0');
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *NextString = string;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (Sign >= 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (Result);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (-Result);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XParseGeometry (string, x, y, width, height)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *string;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int *x, *y;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned int *width, *height; /* RETURN */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int mask = NoValue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register char *strind;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned int tempWidth, tempHeight;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int tempX, tempY;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if ((string == NULL) || (*string == '\0')) return (mask);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*string == '=')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 string++; /* ignore possible '=' at beg of geometry spec */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = (char *)string;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*strind != '+' && *strind != '-' && *strind != 'x')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempWidth = read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= WidthValue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*strind == 'x' || *strind == 'X')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempHeight = read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= HeightValue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if ((*strind == '+') || (*strind == '-'))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*strind == '-')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempX = -read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= XNegative;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempX = read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= XValue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if ((*strind == '+') || (*strind == '-'))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*strind == '-')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempY = -read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= YNegative;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tempY = read_integer (strind, &nextCharacter);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (strind == nextCharacter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strind = nextCharacter;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mask |= YValue;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If strind isn't at the end of the string the it's an invalid
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 geometry specification. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (*strind != '\0') return (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mask & XValue)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *x = tempX;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mask & YValue)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *y = tempY;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mask & WidthValue)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *width = tempWidth;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mask & HeightValue)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *height = tempHeight;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (mask);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create and set up the Mac window for frame F. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_window (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Rect r;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetRect (&r, f->left_pos, f->top_pos,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->left_pos + FRAME_PIXEL_WIDTH (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->top_pos + FRAME_PIXEL_HEIGHT (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CreateNewWindow (kDocumentWindowClass,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kWindowStandardDocumentAttributes
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 | kWindowToolbarButtonAttribute
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 , &r, &FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetWRefCon (FRAME_MAC_WINDOW (f), (long) f->output_data.mac);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (install_window_handler (FRAME_MAC_WINDOW (f)) != noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DisposeWindow (FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f) = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 = NewCWindow (NULL, &r, "\p", false, zoomDocProc,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (WindowPtr) -1, 1, (long) f->output_data.mac);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* so that update events can find this mac_output struct */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->mFP = f; /* point back to emacs frame */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifndef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ControlRef root_control;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CreateRootControl (FRAME_MAC_WINDOW (f), &root_control) != noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DisposeWindow (FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f) = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetWindowBackground (FRAME_MAC_DISPLAY(f), FRAME_MAC_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_BACKGROUND_PIXEL (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 validate_x_resource_name ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* x_set_name normally ignores requests to set the name if the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 requested name is the same as the current name. This is the one
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 place where that assumption isn't correct; f->name is set, but
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the server hasn't been told. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int explicit = f->explicit_name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = f->name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_name (f, name, explicit);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_WINDOW (f) == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Unable to create window");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Handle the icon stuff for this window. Perhaps later we might
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 want an x_set_icon_position which can be called interactively as
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 well. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_icon (f, parms)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object parms;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object icon_x, icon_y;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the position of the icon. Note that Windows 95 groups all
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 icons in the tray. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 icon_x = mac_get_arg (parms, Qicon_left, 0, 0, RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 icon_y = mac_get_arg (parms, Qicon_top, 0, 0, RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!EQ (icon_x, Qunbound) && !EQ (icon_y, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (icon_x);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (icon_y);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (!EQ (icon_x, Qunbound) || !EQ (icon_y, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Both left and top icon corners of icon must be specified");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! EQ (icon_x, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Start up iconic or window? */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_wm_set_window_state
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (f, (EQ (w32_get_arg (parms, Qvisibility, 0, 0, RES_TYPE_SYMBOL), Qicon)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ? IconicState
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 : NormalState));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_text_icon (f, (char *) SDATA ((!NILP (f->icon_name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ? f->icon_name
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 : f->name)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_make_gc (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XGCValues gc_values;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create the GCs of this frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Note that many default values are used. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Normal video */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.font = FRAME_FONT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.foreground = FRAME_FOREGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.background = FRAME_BACKGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->normal_gc = XCreateGC (FRAME_MAC_DISPLAY (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCFont | GCForeground | GCBackground,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &gc_values);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Reverse video style. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.foreground = FRAME_BACKGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.background = FRAME_FOREGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->reverse_gc = XCreateGC (FRAME_MAC_DISPLAY (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCFont | GCForeground | GCBackground,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &gc_values);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Cursor has cursor-color background, background-color foreground. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.foreground = FRAME_BACKGROUND_PIXEL (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gc_values.background = f->output_data.mac->cursor_pixel;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_gc = XCreateGC (FRAME_MAC_DISPLAY (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCFont | GCForeground | GCBackground,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &gc_values);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Reliefs. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->white_relief.gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->black_relief.gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create the gray border tile used when the pointer is not in
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the frame. Since this depends on the frame's pixel values,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 this must be done on a per-frame basis. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.x->border_tile
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 = (XCreatePixmapFromBitmapData
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (FRAME_X_DISPLAY (f), FRAME_X_DISPLAY_INFO (f)->root_window,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gray_bits, gray_width, gray_height,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.x->foreground_pixel,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.x->background_pixel,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DefaultDepth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f))));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Free what was was allocated in x_make_gc. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_free_gcs (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Display *dpy = FRAME_MAC_DISPLAY (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->normal_gc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreeGC (dpy, f->output_data.mac->normal_gc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->normal_gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->reverse_gc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreeGC (dpy, f->output_data.mac->reverse_gc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->reverse_gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->cursor_gc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreeGC (dpy, f->output_data.mac->cursor_gc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->cursor_gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->border_tile)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreePixmap (dpy, f->output_data.mac->border_tile);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->border_tile = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->white_relief.gc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreeGC (dpy, f->output_data.mac->white_relief.gc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->white_relief.gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->black_relief.gc)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFreeGC (dpy, f->output_data.mac->black_relief.gc);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->black_relief.gc = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Handler for signals raised during x_create_frame and
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_create_top_frame. FRAME is the frame which is partially
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 constructed. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unwind_create_frame (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = XFRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If frame is ``official'', nothing to do. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if GLYPH_DEBUG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_free_frame_resources (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if GLYPH_DEBUG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Check that reference counts are indeed correct. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 xassert (dpyinfo->reference_count == dpyinfo_refcount);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 xassert (dpyinfo->image_cache->refcount == image_cache_refcount);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 1, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Make a new window, which is called a "frame" in Emacs terms.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Returns an Emacs frame object.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ALIST is an alist of frame parameters.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If the parameters specify that the frame should not have a minibuffer,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and do not specify a specific minibuffer window to use,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 then `default-minibuffer-frame' must be a frame whose minibuffer can
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 be shared by the new frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This function is an internal primitive--use `make-frame' instead. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (parms)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object parms;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame, tem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int minibuffer_only = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 long window_prompting = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int width, height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int count = SPECPDL_INDEX ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object parent;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct kboard *kb;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcopy_alist (parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Use this general default value to start with
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 until we know if this frame has a specified name. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_resource_name = Vinvocation_name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 display = mac_get_arg (parms, Qdisplay, 0, 0, RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (display, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 display = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MULTI_KBOARD
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kb = dpyinfo->kboard;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kb = &the_only_kboard;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = mac_get_arg (parms, Qname, "name", "Name", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!STRINGP (name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && ! EQ (name, Qunbound)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && ! NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Invalid frame name--not a string or nil");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_resource_name = name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* See if parent window is specified. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parent = mac_get_arg (parms, Qparent_id, NULL, NULL, RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (parent, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parent = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! NILP (parent))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (parent);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* make_frame_without_minibuffer can run Lisp code and garbage collect. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* No need to protect DISPLAY because that's not used after passing
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 it to make_frame_without_minibuffer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCPRO4 (parms, parent, name, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = mac_get_arg (parms, Qminibuffer, "minibuffer", "Minibuffer",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (tem, Qnone) || NILP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = make_frame_without_minibuffer (Qnil, kb, display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (EQ (tem, Qonly))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = make_minibuffer_frame ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 minibuffer_only = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (WINDOWP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = make_frame_without_minibuffer (tem, kb, display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = make_frame (1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETFRAME (frame, f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Note that X Windows does support scroll bars. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CAN_HAVE_SCROLL_BARS (f) = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_method = output_mac;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac = (struct mac_output *) xmalloc (sizeof (struct mac_output));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 bzero (f->output_data.mac, sizeof (struct mac_output));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_FONTSET (f) = -1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->icon_name
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 = mac_get_arg (parms, Qicon_name, "iconName", "Title", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (f->icon_name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->icon_name = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* FRAME_MAC_DISPLAY_INFO (f) = dpyinfo; */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* With FRAME_MAC_DISPLAY_INFO set up, this unwind-protect is safe. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 record_unwind_protect (unwind_create_frame, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if GLYPH_DEBUG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo_refcount = dpyinfo->reference_count;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* GLYPH_DEBUG */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MULTI_KBOARD
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_KBOARD (f) = kb;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Specify the parent under which to make this window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (parent))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->parent_desc = (Window) XFASTINT (parent);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->explicit_parent = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->parent_desc = FRAME_MAC_DISPLAY_INFO (f)->root_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->explicit_parent = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the name; the functions to which we pass f expect the name to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 be set. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (name, Qunbound) || NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = build_string (dpyinfo->mac_id_name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* use the frame's title when getting resources for this frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qx_resource_name, name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Extract the window parameters from the supplied values
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 that are needed to determine window geometry. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object font;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = mac_get_arg (parms, Qfont, "font", "Font", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* First, try whatever font the caller has specified. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = Fquery_fontset (font, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_fontset (f, SDATA (tem));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, SDATA (font));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Try out a font which we hope has bold and italic variations. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_ATSUI
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If those didn't work, look for something which will at least work. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_fontset (f, "fontset-standard");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-courier-*-10-*-mac-roman");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot find any usable font");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_frame_parameters (f, Fcons (Fcons (Qfont, font), Qnil));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qborder_width, make_number (0),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "borderwidth", "BorderWidth", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This defaults to 2 in order to match xterm. We recognize either
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 internalBorderWidth or internalBorder (which is what xterm calls
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 it). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qinternal_border_width, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = mac_get_arg (parms, Qinternal_border_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "internalBorder", "InternalBorder", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! EQ (value, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qinternal_border_width, value),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Default internalBorderWidth to 0 on Windows to match other programs. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qinternal_border_width, make_number (0),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "internalBorderWidth", "InternalBorder", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qvertical_scroll_bars, Qright,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "verticalScrollBars", "ScrollBars", RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Also do the stuff which must be set before the window exists. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qforeground_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "foreground", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qbackground_color, build_string ("white"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "background", "Background", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qmouse_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "pointerColor", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qcursor_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "cursorColor", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qborder_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "borderColor", "BorderColor", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qscreen_gamma, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "screenGamma", "ScreenGamma", RES_TYPE_FLOAT);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qline_spacing, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "lineSpacing", "LineSpacing", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qleft_fringe, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "leftFringe", "LeftFringe", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qright_fringe, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "rightFringe", "RightFringe", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Init faces before x_default_parameter is called for scroll-bar
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parameters because that function calls x_set_scroll_bar_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 which calls change_frame_size, which calls Fset_window_buffer,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 which runs hooks, which call Fvertical_motion. At the end, we
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 end up in init_iterator with a null face cache, which should not
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 happen. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 init_frame_faces (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "menuBar", "MenuBar", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qtool_bar_lines, make_number (1),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "toolBar", "ToolBar", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qbuffer_predicate, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "bufferPredicate", "BufferPredicate",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qtitle, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "title", "Title", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qfullscreen, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->parent_desc = FRAME_MAC_DISPLAY_INFO (f)->root_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Compute the size of the window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 window_prompting = x_figure_window_size (f, parms, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = mac_get_arg (parms, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->no_split = minibuffer_only || EQ (tem, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_window (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_icon (f, parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_make_gc (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Now consider the frame official. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_DISPLAY_INFO (f)->reference_count++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vframe_list = Fcons (frame, Vframe_list);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* We need to do this after creating the window, so that the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 icon-creation functions can say whose icon they're describing. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qicon_type, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "bitmapIcon", "BitmapIcon", RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qauto_raise, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qauto_lower, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qcursor_type, Qbox,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "cursorType", "CursorType", RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qscroll_bar_width, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "scrollBarWidth", "ScrollBarWidth",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Change will not be effected unless different from the current
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_LINES (f). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 width = FRAME_COLS (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 height = FRAME_LINES (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SET_FRAME_COLS (f, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_LINES (f) = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 change_frame_size (f, height, width, 1, 0, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Tell the server what size and position, etc, we want, and how
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 badly we want them. This should be done after we have the menu
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 bar so that its size can be taken into account. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_wm_set_size_hint (f, window_prompting, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make the window appear on the frame and enable display, unless
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the caller says not to. However, with explicit parent, Emacs
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cannot control visibility, so don't try. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! f->output_data.mac->explicit_parent)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object visibility;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 visibility = mac_get_arg (parms, Qvisibility, 0, 0, RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (visibility, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 visibility = Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (visibility, Qicon))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_iconify_frame (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (! NILP (visibility))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_make_frame_visible (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Must have been Qnil. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Initialize `default-minibuffer-frame' in case this is the first
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame on this display device. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_HAS_MINIBUF_P (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && (!FRAMEP (kb->Vdefault_minibuffer_frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 || !FRAME_LIVE_P (XFRAME (kb->Vdefault_minibuffer_frame))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kb->Vdefault_minibuffer_frame = frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* All remaining specified parameters, which have not been "used"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 by x_get_arg and friends, now go in the misc. alist of the frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (tem = parms; !NILP (tem); tem = XCDR (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CONSP (XCAR (tem)) && !NILP (XCAR (XCAR (tem))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->param_alist = Fcons (XCAR (tem), f->param_alist);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNGCPRO;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure windows on this frame appear in calls to next-window
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and similar functions. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vwindow_list = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return unbind_to (count, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* FRAME is used only to get a handle on the X display. We don't pass the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 display info directly because we're called from frame.c, which doesn't
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 know about that structure. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_get_focus_frame (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = FRAME_MAC_DISPLAY_INFO (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object xfocus;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! dpyinfo->x_focus_frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETFRAME (xfocus, dpyinfo->x_focus_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return xfocus;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Set the input focus to FRAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME nil means use the selected frame. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSErr err;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ProcessSerialNumber front_psn;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static const ProcessSerialNumber current_psn = {0, kCurrentProcess};
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Boolean front_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Move the current process to the foreground if it is not. Don't
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 call SetFrontProcess if the current process is already running in
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the foreground so as not to change the z-order of windows. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = GetFrontProcess (&front_psn);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = SameProcess (&front_psn, ¤t_psn, &front_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!front_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FrontNonFloatingWindow () == FRAME_MAC_WINDOW (f))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetFrontProcessWithOptions (¤t_psn,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kSetFrontProcessFrontWindowOnly);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetFrontProcess (¤t_psn);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ActivateWindow (ActiveNonFloatingWindow (), false);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ActivateWindow (FRAME_MAC_WINDOW (f), true);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if !TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* SelectWindow (Non-Carbon) does not issue deactivate events if the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 possibly inactive window that is to be selected is already the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frontmost one. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SendBehind (FRAME_MAC_WINDOW (f), NULL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This brings the window to the front. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SelectWindow (FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("xw-color-defined-p", Fxw_color_defined_p, Sxw_color_defined_p, 1, 2, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Internal function called by `color-defined-p', which see. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (color, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object color, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XColor foo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mac_defined_color (f, SDATA (color), &foo, 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("xw-color-values", Fxw_color_values, Sxw_color_values, 1, 2, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Internal function called by `color-values', which see. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (color, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object color, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XColor foo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mac_defined_color (f, SDATA (color), &foo, 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return list3 (make_number (foo.red),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 make_number (foo.green),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 make_number (foo.blue));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Internal function called by `display-color-p', which see. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!dpyinfo->color_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return t if DISPLAY supports shades of gray.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Note that color displays do support shades of gray.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (dpyinfo->n_planes <= 1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the width in pixels of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (dpyinfo->width);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-pixel-height", Fx_display_pixel_height,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_display_pixel_height, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the height in pixels of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (dpyinfo->height);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-planes", Fx_display_planes, Sx_display_planes,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the number of bitplanes of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (dpyinfo->n_planes);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the number of color cells of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* We force 24+ bit depths to 24-bit to prevent an overflow. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (1 << min (dpyinfo->n_planes, 24));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-server-max-request-size", Fx_server_max_request_size,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_server_max_request_size,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the maximum request size of the server of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the "vendor ID" string of the Mac OS system (Apple).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return build_string ("Apple Computers");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the version numbers of the Mac OS system.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The value is a list of three integers: the major and minor
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 version numbers, and the vendor-specific release
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 number. See also the function `x-server-vendor'.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UInt32 response, major, minor, bugfix;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSErr err;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = Gestalt (gestaltSystemVersion, &response);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (response >= 0x00001040)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = Gestalt (gestaltSystemVersionMajor, &major);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = Gestalt (gestaltSystemVersionMinor, &minor);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = Gestalt (gestaltSystemVersionBugFix, &bugfix);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 bugfix = response & 0xf;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 response >>= 4;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 minor = response & 0xf;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 response >>= 4;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* convert BCD to int */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 major = response - (response >> 4) * 6;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err != noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot get Mac OS version");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Fcons (make_number (major),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fcons (make_number (minor),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fcons (make_number (bugfix),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qnil)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return the number of screens on the server of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number (1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return the height in millimeters of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Only of the main display. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CGDisplayScreenSize != NULL)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CGSize size;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 size = CGDisplayScreenSize (kCGDirectMainDisplay);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number ((int) (size.height + .5f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 || MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is an approximation. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number ((int) (dpyinfo->height * 25.4 / dpyinfo->resy));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return the width in millimeters of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Only of the main display. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CGDisplayScreenSize != NULL)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CGSize size;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 size = CGDisplayScreenSize (kCGDirectMainDisplay);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number ((int) (size.width + .5f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 || MAC_OS_X_VERSION_MIN_REQUIRED == 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is an approximation. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return make_number ((int) (dpyinfo->width * 25.4 / dpyinfo->resx));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-backing-store", Fx_display_backing_store,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_display_backing_store, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns an indication of whether DISPLAY does backing store.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The value may be `always', `when-mapped', or `not-useful'.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return intern ("not-useful");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-visual-class", Fx_display_visual_class,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_display_visual_class, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns the visual class of DISPLAY.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The value is one of the symbols `static-gray', `gray-scale',
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 `static-color', `pseudo-color', `true-color', or `direct-color'.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 switch (dpyinfo->visual->class)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case StaticGray: return (intern ("static-gray"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case GrayScale: return (intern ("gray-scale"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case StaticColor: return (intern ("static-color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case PseudoColor: return (intern ("pseudo-color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case TrueColor: return (intern ("true-color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case DirectColor: return (intern ("direct-color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 default:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Display has an unknown visual class");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* 0 */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return (intern ("true-color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-save-under", Fx_display_save_under,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_display_save_under, 0, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Returns t if DISPLAY supports the save-under feature.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 The optional argument DISPLAY specifies which display to ask about.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY should be either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If omitted or nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_pixel_width (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return FRAME_PIXEL_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_pixel_height (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return FRAME_PIXEL_HEIGHT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_char_width (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return FRAME_COLUMN_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_char_height (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return FRAME_LINE_HEIGHT (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_screen_planes (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 register struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return FRAME_MAC_DISPLAY_INFO (f)->n_planes;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Return the display structure for the display named NAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Open a new connection if necessary. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_display_info_for_name (name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object names;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! EQ (Vwindow_system, intern ("mac")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Not using Mac native windows");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (dpyinfo = &one_mac_display_info, names = x_display_name_list;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = dpyinfo->next, names = XCDR (names))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object tem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = Fstring_equal (XCAR (XCAR (names)), name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Use this general default value to start with. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_resource_name = Vinvocation_name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 validate_x_resource_name ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = mac_term_init (name, (unsigned char *) 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (char *) SDATA (Vx_resource_name));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (dpyinfo == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot connect to server %s", SDATA (name));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_in_use = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETFASTINT (Vwindow_system_version, 3);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-open-connection", Fx_open_connection, Sx_open_connection,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 1, 3, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Open a connection to a server.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DISPLAY is the name of the display to connect to.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Optional second arg XRM-STRING is a string of resources in xrdb format.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If the optional third arg MUST-SUCCEED is non-nil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 terminate Emacs if we can't open the connection. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display, xrm_string, must_succeed)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display, xrm_string, must_succeed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned char *xrm_option;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! NILP (xrm_string))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (xrm_string);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! EQ (Vwindow_system, intern ("mac")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Not using Mac native windows");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! NILP (xrm_string))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 xrm_option = (unsigned char *) SDATA (xrm_string);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 xrm_option = (unsigned char *) 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 validate_x_resource_name ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is what opens the connection and sets x_current_display.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This also initializes many symbols, such as those used for input. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo = mac_term_init (display, xrm_option,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (char *) SDATA (Vx_resource_name));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (dpyinfo == 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (must_succeed))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fatal ("Cannot connect to server %s.\n",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SDATA (display));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot connect to server %s", SDATA (display));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_in_use = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETFASTINT (Vwindow_system_version, 3);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-close-connection", Fx_close_connection,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_close_connection, 1, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Close the connection to DISPLAY's server.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 For DISPLAY, specify either a frame or a display name (a string).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If DISPLAY is nil, that stands for the selected frame's display. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo = check_x_display_info (display);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (dpyinfo->reference_count > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Display still has frames on it");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Free the fonts in the font table. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < dpyinfo->n_fonts; i++)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (dpyinfo->font_table[i].name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_unload_font (dpyinfo, dpyinfo->font_table[i].font);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_destroy_all_bitmaps (dpyinfo);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_delete_display (dpyinfo);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return the list of display names that Emacs has connections to. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object tail, result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 result = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (tail = x_display_name_list; ! NILP (tail); tail = XCDR (tail))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 result = Fcons (XCAR (XCAR (tail)), result);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-synchronize", Fx_synchronize, Sx_synchronize, 1, 2, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* This is a noop on Mac OS systems. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (on, display)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object display, on;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* x_sync is a no-op on Mac. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_sync (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PTR f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Window properties
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-change-window-property", Fx_change_window_property,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_change_window_property, 2, 6, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Change window property PROP to VALUE on the X window of FRAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 VALUE may be a string or a list of conses, numbers and/or strings.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If an element in the list is a string, it is converted to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 an Atom and the value of the Atom is used. If an element is a cons,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 it is converted to a 32 bit number where the car is the 16 top bits and the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cdr is the lower 16 bits.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME nil or omitted means use the selected frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If TYPE is given and non-nil, it is the name of the type of VALUE.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If TYPE is not given or nil, the type is STRING.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FORMAT gives the size in bits of each element if VALUE is a list.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 It must be one of 8, 16 or 32.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If VALUE is a string or FORMAT is nil or not given, FORMAT defaults to 8.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If OUTER_P is non-nil, the property is changed for the outer X window of
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME. Default is to change on the edit X window.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Value is VALUE. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (prop, value, frame, type, format, outer_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object prop, value, frame, type, format, outer_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO : port window properties to Mac */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Atom prop_atom;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (prop);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (value);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XChangeProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom, XA_STRING, 8, PropModeReplace,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SDATA (value), SCHARS (value));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure the property is set when we return. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFlush (FRAME_W32_DISPLAY (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-delete-window-property", Fx_delete_window_property,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Sx_delete_window_property, 1, 2, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Remove window property PROP from X window of FRAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME nil or omitted means use the selected frame. Value is PROP. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (prop, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object prop, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO : port window properties to Mac */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Atom prop_atom;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (prop);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XDeleteProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), prop_atom);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make sure the property is removed when we return. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFlush (FRAME_W32_DISPLAY (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return prop;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-window-property", Fx_window_property, Sx_window_property,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 1, 2, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Value is the value of window property PROP on FRAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If FRAME is nil or omitted, use the selected frame. Value is nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if FRAME hasn't a property with name PROP or if PROP has no string
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (prop, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object prop, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* MAC_TODO : port window properties to Mac */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Atom prop_atom;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int rc;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object prop_value = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *tmp_data = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Atom actual_type;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int actual_format;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unsigned long actual_size, bytes_remaining;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (prop);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom, 0, 0, False, XA_STRING,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &actual_type, &actual_format, &actual_size,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &bytes_remaining, (unsigned char **) &tmp_data);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (rc == Success)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int size = bytes_remaining;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFree (tmp_data);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tmp_data = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_atom, 0, bytes_remaining,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 False, XA_STRING,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &actual_type, &actual_format,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &actual_size, &bytes_remaining,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (unsigned char **) &tmp_data);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (rc == Success)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 prop_value = make_string (tmp_data, size);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XFree (tmp_data);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return prop_value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_TODO */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Busy cursor
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If non-null, an asynchronous timer that, when it expires, displays
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 an hourglass cursor on all frames. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static struct atimer *hourglass_atimer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Non-zero means an hourglass cursor is currently shown. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static int hourglass_shown_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Number of seconds to wait before displaying an hourglass cursor. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object Vhourglass_delay;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Default number of seconds to wait before displaying an hourglass
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cursor. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #define DEFAULT_HOURGLASS_DELAY 1
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Function prototypes. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void show_hourglass P_ ((struct atimer *));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void hide_hourglass P_ ((void));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Return non-zero if houglass timer has been started or hourglass is shown. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_started ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return hourglass_shown_p || hourglass_atimer != NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Cancel a currently active hourglass timer, and start a new one. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 start_hourglass ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 EMACS_TIME delay;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int secs, usecs = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't bother for ttys. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Vwindow_system))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cancel_hourglass ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (INTEGERP (Vhourglass_delay)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && XINT (Vhourglass_delay) > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 secs = XFASTINT (Vhourglass_delay);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (FLOATP (Vhourglass_delay)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && XFLOAT_DATA (Vhourglass_delay) > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object tem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = Ftruncate (Vhourglass_delay, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 secs = XFASTINT (tem);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 usecs = (XFLOAT_DATA (Vhourglass_delay) - secs) * 1000000;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 secs = DEFAULT_HOURGLASS_DELAY;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 EMACS_SET_SECS_USECS (delay, secs, usecs);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_atimer = start_atimer (ATIMER_RELATIVE, delay,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 show_hourglass, NULL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_OSX */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Cancel the hourglass cursor timer if active, hide a busy cursor if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 shown. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cancel_hourglass ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (hourglass_atimer)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 cancel_atimer (hourglass_atimer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_atimer = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (hourglass_shown_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hide_hourglass ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* MAC_OSX */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Timer function of hourglass_atimer. TIMER is equal to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_atimer.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 On Mac, busy status is shown by the progress indicator (chasing
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 arrows) at the upper-right corner of each frame instead of the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass pointer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 show_hourglass (timer)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct atimer *timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The timer implementation will cancel this timer automatically
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 after this function has run. Set hourglass_atimer to null
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 so that we know the timer doesn't have to be canceled. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_atimer = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!hourglass_shown_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object rest, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FOR_EACH_FRAME (rest, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = XFRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_LIVE_P (f) && FRAME_MAC_P (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && FRAME_MAC_WINDOW (f) != tip_window)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_CG_DRAWING
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_prepare_for_quickdraw (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!f->output_data.mac->hourglass_control)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Window w = FRAME_MAC_WINDOW (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Rect r;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ControlRef c;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GetWindowPortBounds (w, &r);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 r.left = r.right - HOURGLASS_WIDTH;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 r.bottom = r.top + HOURGLASS_HEIGHT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CreateChasingArrowsControl (w, &r, &c) == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->hourglass_control = c;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (f->output_data.mac->hourglass_control)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ShowControl (f->output_data.mac->hourglass_control);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_shown_p = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* TARGET_API_MAC_CARBON */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Hide the progress indicators on all frames, if it is currently
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 shown. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hide_hourglass ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (hourglass_shown_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object rest, frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FOR_EACH_FRAME (rest, frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = XFRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAME_MAC_P (f)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Watch out for newly created frames. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && f->output_data.mac->hourglass_control)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_CG_DRAWING
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_prepare_for_quickdraw (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 HideControl (f->output_data.mac->hourglass_control);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_shown_p = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* TARGET_API_MAC_CARBON */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Tool tips
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object x_create_tip_frame P_ ((struct mac_display_info *,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object, Lisp_Object));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void compute_tip_xy P_ ((struct frame *, Lisp_Object, Lisp_Object,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object, int, int, int *, int *));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The frame of a currently visible tooltip. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object tip_frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If non-nil, a timer started that hides the last tooltip when it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 fires. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object tip_timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Window tip_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If non-nil, a vector of 3 elements containing the last args
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 with which x-show-tip was called. See there. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object last_show_tip_args;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Maximum size for tooltips; a cons (COLUMNS . ROWS). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object Vx_max_tooltip_size;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unwind_create_tip_frame (frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object deleted;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 deleted = unwind_create_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (deleted, Qt))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_window = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_frame = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return deleted;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create a frame for a tooltip on the display described by DPYINFO.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 PARMS is a list of frame parameters. TEXT is the string to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 display in the tip frame. Value is the frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Note that functions called here, esp. x_default_parameter can
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 signal errors, for instance when a specified color name is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 undefined. We have to make sure that we're in a consistent state
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 when this happens. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static Lisp_Object
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_create_tip_frame (dpyinfo, parms, text)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct mac_display_info *dpyinfo;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object parms, text;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object frame, tem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 long window_prompting = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int width, height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int count = SPECPDL_INDEX ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct gcpro gcpro1, gcpro2, gcpro3;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct kboard *kb;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int face_change_count_before = face_change_count;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object buffer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct buffer *old_buffer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcopy_alist (parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MULTI_KBOARD
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kb = dpyinfo->kboard;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kb = &the_only_kboard;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Get the name of the frame to use for resource lookup. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 name = mac_get_arg (parms, Qname, "name", "Name", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!STRINGP (name)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && !EQ (name, Qunbound)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && !NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Invalid frame name--not a string or nil");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCPRO3 (parms, name, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = make_frame (1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSETFRAME (frame, f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 buffer = Fget_buffer_create (build_string (" *tip*"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fset_window_buffer (FRAME_ROOT_WINDOW (f), buffer, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 old_buffer = current_buffer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_buffer_internal_1 (XBUFFER (buffer));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 current_buffer->truncate_lines = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qinhibit_read_only, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qinhibit_modification_hooks, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Ferase_buffer ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Finsert (1, &text);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_buffer_internal_1 (old_buffer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_CAN_HAVE_SCROLL_BARS (f) = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 record_unwind_protect (unwind_create_tip_frame, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* By setting the output method, we're essentially saying that
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the frame is live, as per FRAME_LIVE_P. If we get a signal
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 from this point on, x_destroy_window might screw up reference
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 counts etc. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_method = output_mac;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac =
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (struct mac_output *) xmalloc (sizeof (struct mac_output));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 bzero (f->output_data.mac, sizeof (struct mac_output));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_FONTSET (f) = -1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->icon_name = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* FRAME_X_DISPLAY_INFO (f) = dpyinfo; */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if GLYPH_DEBUG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dpyinfo_refcount = dpyinfo->reference_count;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* GLYPH_DEBUG */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MULTI_KBOARD
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_KBOARD (f) = kb;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->parent_desc = FRAME_MAC_DISPLAY_INFO (f)->root_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->explicit_parent = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the name; the functions to which we pass f expect the name to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 be set. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (name, Qunbound) || NILP (name))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = build_string (dpyinfo->mac_id_name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->name = name;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->explicit_name = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* use the frame's title when getting resources for this frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qx_resource_name, name);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Extract the window parameters from the supplied values that are
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 needed to determine window geometry. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object font;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = mac_get_arg (parms, Qfont, "font", "Font", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* First, try whatever font the caller has specified. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tem = Fquery_fontset (font, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (tem))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_fontset (f, SDATA (tem));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, SDATA (font));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Try out a font which we hope has bold and italic variations. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_ATSUI
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If those didn't work, look for something which will at least work. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_fontset (f, "fontset-standard");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font = x_new_font (f, "-*-courier-*-10-*-mac-roman");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! STRINGP (font))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot find any usable font");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qfont, font,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "font", "Font", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qborder_width, make_number (2),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This defaults to 2 in order to match xterm. We recognize either
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 internalBorderWidth or internalBorder (which is what xterm calls
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 it). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qinternal_border_width, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object value;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 value = mac_get_arg (parms, Qinternal_border_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "internalBorder", "internalBorder", RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (! EQ (value, Qunbound))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qinternal_border_width, value),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qinternal_border_width, make_number (1),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "internalBorderWidth", "internalBorderWidth",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 RES_TYPE_NUMBER);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Also do the stuff which must be set before the window exists. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qforeground_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "foreground", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qbackground_color, build_string ("white"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "background", "Background", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qmouse_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "pointerColor", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qcursor_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "cursorColor", "Foreground", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qborder_color, build_string ("black"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "borderColor", "BorderColor", RES_TYPE_STRING);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Init faces before x_default_parameter is called for scroll-bar
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parameters because that function calls x_set_scroll_bar_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 which calls change_frame_size, which calls Fset_window_buffer,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 which runs hooks, which call Fvertical_motion. At the end, we
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 end up in init_iterator with a null face cache, which should not
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 happen. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 init_frame_faces (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->parent_desc = FRAME_MAC_DISPLAY_INFO (f)->root_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 window_prompting = x_figure_window_size (f, parms, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Rect r;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetRect (&r, 0, 0, 1, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CreateNewWindow (kHelpWindowClass,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kWindowIgnoreClicksAttribute |
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kWindowNoUpdatesAttribute |
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kWindowNoActivatesAttribute,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &r, &tip_window) == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (tip_window = NewCWindow (NULL, &r, "\p", false, plainDBox,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NULL, false, 0L))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_WINDOW (f) = tip_window;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 XSetWindowBackground (FRAME_MAC_DISPLAY(f), tip_window,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_BACKGROUND_PIXEL (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SetWRefCon (tip_window, (long) f->output_data.mac);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* so that update events can find this mac_output struct */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->output_data.mac->mFP = f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_make_gc (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qauto_raise, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qauto_lower, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_default_parameter (f, parms, Qcursor_type, Qbox,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "cursorType", "CursorType", RES_TYPE_SYMBOL);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Change will not be effected unless different from the current
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_LINES (f). */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 width = FRAME_COLS (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 height = FRAME_LINES (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SET_FRAME_COLS (f, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_LINES (f) = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 change_frame_size (f, height, width, 1, 0, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Add `tooltip' frame parameter's default value. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fframe_parameter (frame, intern ("tooltip"))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fmodify_frame_parameters (frame, Fcons (Fcons (intern ("tooltip"), Qt),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qnil));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set up faces after all frame parameters are known. This call
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 also merges in face attributes specified for new frames.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Frame parameters may be changed if .Xdefaults contains
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specifications for the default font. For example, if there is an
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 `Emacs.default.attributeBackground: pink', the `background-color'
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 attribute of the frame get's set, which let's the internal border
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 of the tooltip frame appear in pink. Prevent this. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object bg = Fframe_parameter (frame, Qbackground_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set tip_frame here, so that */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_frame = frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 call1 (Qface_set_after_frame_default, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!EQ (bg, Fframe_parameter (frame, Qbackground_color)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fmodify_frame_parameters (frame, Fcons (Fcons (Qbackground_color, bg),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qnil));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f->no_split = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNGCPRO;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* It is now ok to make the frame official even if we get an error
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 below. And the frame needs to be on Vframe_list or making it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 visible won't work. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vframe_list = Fcons (frame, Vframe_list);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Now that the frame is official, it counts as a reference to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 its display. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_MAC_DISPLAY_INFO (f)->reference_count++;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Setting attributes of faces of the tooltip frame from resources
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and similar will increment face_change_count, which leads to the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clearing of all current matrices. Since this isn't necessary
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 here, avoid it by resetting face_change_count to the value it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 had before we created the tip frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 face_change_count = face_change_count_before;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Discard the unwind_protect. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return unbind_to (count, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Compute where to display tip frame F. PARMS is the list of frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parameters for F. DX and DY are specified offsets from the current
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 location of the mouse. WIDTH and HEIGHT are the width and height
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 of the tooltip. Return coordinates relative to the root window of
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the display in *ROOT_X, and *ROOT_Y. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object parms, dx, dy;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int width, height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int *root_x, *root_y;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object left, top;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* User-specified position? */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 left = Fcdr (Fassq (Qleft, parms));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 top = Fcdr (Fassq (Qtop, parms));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Move the tooltip window where the mouse pointer is. Resize and
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 show it. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!INTEGERP (left) || !INTEGERP (top))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Point mouse_pos;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GetMouse (&mouse_pos);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 LocalToGlobal (&mouse_pos);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x = mouse_pos.h;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y = mouse_pos.v;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (INTEGERP (top))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y = XINT (top);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (*root_y + XINT (dy) <= 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y = 0; /* Can happen for negative dy */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (*root_y + XINT (dy) + height <= FRAME_MAC_DISPLAY_INFO (f)->height)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* It fits below the pointer */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y += XINT (dy);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (height + XINT (dy) <= *root_y)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* It fits above the pointer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y -= height + XINT (dy);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Put it on the top. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_y = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (INTEGERP (left))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x = XINT (left);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (*root_x + XINT (dx) <= 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x = 0; /* Can happen for negative dx */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (*root_x + XINT (dx) + width <= FRAME_MAC_DISPLAY_INFO (f)->width)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* It fits to the right of the pointer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x += XINT (dx);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (width + XINT (dx) <= *root_x)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* It fits to the left of the pointer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x -= width + XINT (dx);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Put it left-justified on the screen -- it ought to fit that way. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 *root_x = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Show STRING in a "tooltip" window on frame FRAME.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 A tooltip window is a small window displaying a string.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME nil or omitted means use the selected frame.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 PARMS is an optional list of frame parameters which can be used to
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 change the tooltip's appearance.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 means use the default timeout of 5 seconds.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If the list of frame parameters PARMS contains a `left' parameter,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the tooltip is displayed at that x-position. Otherwise it is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 displayed at the mouse position, with offset DX added (default is 5 if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DX isn't specified). Likewise for the y-position; if a `top' frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parameter is specified, it determines the y-position of the tooltip
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 window, otherwise it is displayed at the mouse position, with offset
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DY added (default is -10).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 A tooltip's maximum size is specified by `x-max-tooltip-size'.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Text larger than the specified size is clipped. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (string, frame, parms, timeout, dx, dy)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object string, frame, parms, timeout, dx, dy;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct window *w;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int root_x, root_y;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct buffer *old_buffer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct text_pos pos;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int i, width, height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int old_windows_or_buffers_changed = windows_or_buffers_changed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int count = SPECPDL_INDEX ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qinhibit_redisplay, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCPRO4 (string, parms, frame, timeout);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (string);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = check_x_frame (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (timeout))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 timeout = make_number (5);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NATNUM (timeout);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (dx))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dx = make_number (5);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (dx);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (dy))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dy = make_number (-10);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER (dy);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (last_show_tip_args))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 last_show_tip_args = Fmake_vector (make_number (3), Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (tip_frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object last_string = AREF (last_show_tip_args, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object last_frame = AREF (last_show_tip_args, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object last_parms = AREF (last_show_tip_args, 2);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (EQ (frame, last_frame)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && !NILP (Fequal (last_string, string))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && !NILP (Fequal (last_parms, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = XFRAME (tip_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Only DX and DY have changed. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (tip_timer))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object timer = tip_timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_timer = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 call1 (Qcancel_timer, timer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 compute_tip_xy (f, parms, dx, dy, FRAME_PIXEL_WIDTH (f),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PIXEL_HEIGHT (f), &root_x, &root_y);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 MoveWindow (FRAME_MAC_WINDOW (f), root_x, root_y, false);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 goto start_timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Hide a previous tip, if any. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fx_hide_tip ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ASET (last_show_tip_args, 0, string);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ASET (last_show_tip_args, 1, frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ASET (last_show_tip_args, 2, parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Add default values to frame parameters. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qname, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qname, build_string ("tooltip")), parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qinternal_border_width, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qinternal_border_width, make_number (3)), parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qborder_width, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qborder_width, make_number (1)), parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qborder_color, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qborder_color, build_string ("lightyellow")), parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (Fassq (Qbackground_color, parms)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms = Fcons (Fcons (Qbackground_color, build_string ("lightyellow")),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 parms);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create a frame for the tooltip, and record it in the global
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 variable tip_frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame = x_create_tip_frame (FRAME_MAC_DISPLAY_INFO (f), parms, string);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 f = XFRAME (frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set up the frame's root window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w = XWINDOW (FRAME_ROOT_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->left_col = w->top_line = make_number (0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (CONSP (Vx_max_tooltip_size)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && INTEGERP (XCAR (Vx_max_tooltip_size))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && XINT (XCAR (Vx_max_tooltip_size)) > 0
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && INTEGERP (XCDR (Vx_max_tooltip_size))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && XINT (XCDR (Vx_max_tooltip_size)) > 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->total_cols = XCAR (Vx_max_tooltip_size);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->total_lines = XCDR (Vx_max_tooltip_size);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->total_cols = make_number (80);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->total_lines = make_number (40);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 adjust_glyphs (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->pseudo_window_p = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Display the tooltip text in a temporary buffer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 old_buffer = current_buffer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_buffer_internal_1 (XBUFFER (XWINDOW (FRAME_ROOT_WINDOW (f))->buffer));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 current_buffer->truncate_lines = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clear_glyph_matrix (w->desired_matrix);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 clear_glyph_matrix (w->current_matrix);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SET_TEXT_POS (pos, BEGV, BEGV_BYTE);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 try_window (FRAME_ROOT_WINDOW (f), pos, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Compute width and height of the tooltip. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 width = height = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for (i = 0; i < w->desired_matrix->nrows; ++i)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct glyph_row *row = &w->desired_matrix->rows[i];
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct glyph *last;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int row_width;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Stop at the first empty row at the end. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!row->enabled_p || !row->displays_text_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Let the row go over the full width of the frame. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 row->full_width_p = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* There's a glyph at the end of rows that is used to place
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the cursor there. Don't include the width of this glyph. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (row->used[TEXT_AREA])
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 last = &row->glyphs[TEXT_AREA][row->used[TEXT_AREA] - 1];
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 row_width = row->pixel_width - last->pixel_width;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 row_width = row->pixel_width;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 height += row->height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 width = max (width, row_width);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Add the frame's internal border to the width and height the X
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 window should have. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 height += 2 * FRAME_INTERNAL_BORDER_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 width += 2 * FRAME_INTERNAL_BORDER_WIDTH (f);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Move the tooltip window where the mouse pointer is. Resize and
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 show it. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 compute_tip_xy (f, parms, dx, dy, width, height, &root_x, &root_y);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 MoveWindow (FRAME_MAC_WINDOW (f), root_x, root_y, false);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SizeWindow (FRAME_MAC_WINDOW (f), width, height, true);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ShowWindow (FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BringToFront (FRAME_MAC_WINDOW (f));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PIXEL_WIDTH (f) = width;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FRAME_PIXEL_HEIGHT (f) = height;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Draw into the window. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 w->must_be_updated_p = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 update_single_window (w, 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Restore original current buffer. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_buffer_internal_1 (old_buffer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 windows_or_buffers_changed = old_windows_or_buffers_changed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 start_timer:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Let the tip disappear after timeout seconds. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_timer = call3 (intern ("run-at-time"), timeout, Qnil,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 intern ("x-hide-tip"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNGCPRO;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return unbind_to (count, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-hide-tip", Fx_hide_tip, Sx_hide_tip, 0, 0, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Hide the current tooltip window, if there is any.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Value is t if tooltip was open, nil otherwise. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int count;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object deleted, frame, timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct gcpro gcpro1, gcpro2;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Return quickly if nothing to do. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (tip_timer) && NILP (tip_frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame = tip_frame;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 timer = tip_timer;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCPRO2 (frame, timer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_frame = tip_timer = deleted = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 count = SPECPDL_INDEX ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qinhibit_redisplay, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specbind (Qinhibit_quit, Qt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (timer))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 call1 (Qcancel_timer, timer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (FRAMEP (frame))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fdelete_frame (frame, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 deleted = Qt;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNGCPRO;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return unbind_to (count, deleted);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 File selection dialog
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static pascal void mac_nav_event_callback P_ ((NavEventCallbackMessage,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavCBRecPtr, void *));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /**
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 There is a relatively standard way to do this using applescript to run
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 a (choose file) method. However, this doesn't do "the right thing"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 by working only if the find-file occurred during a menu or toolbar
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 click. So we must do the file dialog by hand, using the navigation
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 manager. This also has more flexibility in determining the default
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 directory and whether or not we are going to choose a file.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 **/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 extern Lisp_Object Qfile_name_history;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Read file name, prompting with PROMPT in directory DIR.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Use a file selection dialog.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Select DEFAULT-FILENAME in the dialog's file selection box, if
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 specified. Ensure that file exists if MUSTMATCH is non-nil.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 If ONLY-DIR-P is non-nil, the user can only select directories. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (prompt, dir, default_filename, mustmatch, only_dir_p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object prompt, dir, default_filename, mustmatch, only_dir_p;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object file = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 int count = SPECPDL_INDEX ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char filename[MAXPATHLEN];
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static NavEventUPP mac_nav_event_callbackUPP = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GCPRO6 (prompt, dir, default_filename, mustmatch, file, only_dir_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (prompt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_STRING (dir);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Create the dialog with PROMPT as title, using DIR as initial
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 directory and using "*" as pattern. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dir = Fexpand_file_name (dir, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSStatus status;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavDialogCreationOptions options;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavDialogRef dialogRef;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavTypeListHandle fileTypes = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavUserAction userAction;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CFStringRef message=NULL, saveName = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* No need for a callback function because we are modal */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavGetDefaultDialogCreationOptions(&options);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.modality = kWindowModalityAppModal;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.location.h = options.location.v = -1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags = kNavDefaultNavDlogOptions;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags |= kNavSelectAllReadableItem;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags &= ~kNavAllowMultipleFiles;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP(prompt))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 message = cfstring_create_with_string (prompt);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.message = message;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Don't set the application, let it use default.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.clientName = CFSTR ("Emacs");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (mac_nav_event_callbackUPP == NULL)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_nav_event_callbackUPP = NewNavEventUPP (mac_nav_event_callback);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (!NILP (only_dir_p))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = NavCreateChooseFolderDialog(&options, mac_nav_event_callbackUPP,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NULL, NULL, &dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else if (NILP (mustmatch))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is a save dialog */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags |= kNavDontConfirmReplacement;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.actionButtonLabel = CFSTR ("Ok");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.windowTitle = CFSTR ("Enter name");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (STRINGP (default_filename))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object utf8 = ENCODE_UTF_8 (default_filename);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *begPtr = SDATA(utf8);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char *filePtr = begPtr + SBYTES(utf8);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 while (filePtr != begPtr && !IS_DIRECTORY_SEP(filePtr[-1]))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 filePtr--;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 saveName = cfstring_create_with_utf8_cstring (filePtr);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.saveFileName = saveName;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 options.optionFlags |= kNavSelectDefaultLocation;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = NavCreatePutFileDialog(&options,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 'TEXT', kNavGenericSignature,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_nav_event_callbackUPP, NULL,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is an open dialog*/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = NavCreateChooseFileDialog(&options, fileTypes,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_nav_event_callbackUPP, NULL,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NULL, NULL, &dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Set the default location and continue*/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (status == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object encoded_dir = ENCODE_FILE (dir);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 AEDesc defLocAed;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = AECreateDesc (TYPE_FILE_NAME, SDATA (encoded_dir),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 SBYTES (encoded_dir), &defLocAed);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (status == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavCustomControl(dialogRef, kNavCtlSetLocation, (void*) &defLocAed);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 AEDisposeDesc(&defLocAed);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = NavDialogRun(dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (saveName) CFRelease(saveName);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (message) CFRelease(message);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (status == noErr) {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 userAction = NavDialogGetUserAction(dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 switch (userAction)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case kNavUserActionNone:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case kNavUserActionCancel:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break; /* Treat cancel like C-g */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case kNavUserActionOpen:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case kNavUserActionChoose:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 case kNavUserActionSaveAs:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavReplyRecord reply;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Size len;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = NavDialogGetReply(dialogRef, &reply);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (status != noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 status = AEGetNthPtr (&reply.selection, 1, TYPE_FILE_NAME,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NULL, NULL, filename,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 sizeof (filename) - 1, &len);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (status == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 len = min (len, sizeof (filename) - 1);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 filename[len] = '\0';
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (reply.saveFileName)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* If it was a saved file, we need to add the file name */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (len && len < sizeof (filename) - 1
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 && filename[len-1] != '/')
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 filename[len++] = '/';
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CFStringGetCString(reply.saveFileName, filename+len,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 sizeof (filename) - len,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 kCFStringEncodingUTF8
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CFStringGetSystemEncoding ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 );
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 file = DECODE_FILE (make_unibyte_string (filename,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 strlen (filename)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavDisposeReply(&reply);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 break;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavDialogDispose(dialogRef);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 else {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Fall back on minibuffer if there was a problem */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 file = Fcompleting_read (prompt, intern ("read-file-name-internal"),
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 dir, mustmatch, dir, Qfile_name_history,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 default_filename, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNGCPRO;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Make "Cancel" equivalent to C-g. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (file))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fsignal (Qquit, Qnil);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return unbind_to (count, file);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Need to register some event callback function for enabling drag and
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 drop in Navigation Service dialogs. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 static pascal void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_nav_event_callback (selector, parms, data)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavEventCallbackMessage selector;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 NavCBRecPtr parms;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void *data ;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fonts
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("mac-clear-font-name-table", Fmac_clear_font_name_table,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Smac_clear_font_name_table, 0, 0, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Clear the font name table. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_clear_font_name_table ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_MAC_FONT_PANEL
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("mac-set-font-panel-visible-p", Fmac_set_font_panel_visible_p,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Smac_set_font_panel_visible_p, 1, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Make the font panel visible if and only if FLAG is non-nil.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This is for internal use only. Use `mac-font-panel-mode' instead. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (flag)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object flag;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSStatus err = noErr;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (NILP (flag) != !mac_font_panel_visible_p ())
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = mac_show_hide_font_panel ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr && !NILP (flag))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object focus_frame = x_get_focus_frame (SELECTED_FRAME ());
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 struct frame *f = (NILP (focus_frame) ? SELECTED_FRAME ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 : XFRAME (focus_frame));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_font_info_for_selection (f, DEFAULT_FACE_ID, 0);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err != noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error ("Cannot change visibility of the font panel");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_ATSUI
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 extern Lisp_Object mac_atsu_font_face_attributes P_ ((ATSUFontID));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFUN ("mac-atsu-font-face-attributes", Fmac_atsu_font_face_attributes,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Smac_atsu_font_face_attributes, 1, 1, 0,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Return plist of face attributes and values for ATSU font ID.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ID is specified by either an integer or a float. */)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (id)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object id;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ATSUFontID font_id;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Lisp_Object result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_mac ();
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 CHECK_NUMBER_OR_FLOAT(id);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 font_id = NUMBERP (id) ? XINT (id) : (ATSUFontID) XFLOAT (id);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 BLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 result = mac_atsu_font_face_attributes (font_id);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UNBLOCK_INPUT;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 return result;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /***********************************************************************
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Initialization
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ***********************************************************************/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Keep this list in the same order as frame_parms in frame.c.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Use 0 for unsupported frame parameters. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 frame_parm_handler mac_frame_parm_handlers[] =
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_autoraise,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_autolower,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_background_color,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_border_color,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_border_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_cursor_color,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_cursor_type,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_font,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_foreground_color,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_icon_name,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, /* MAC_TODO: x_set_icon_type, */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_internal_border_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_menu_bar_lines,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_mouse_color,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_explicitly_set_name,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_set_scroll_bar_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_title,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_unsplittable,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_vertical_scroll_bars,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_visibility,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_tool_bar_lines,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, /* MAC_TODO: x_set_scroll_bar_foreground, */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, /* MAC_TODO: x_set_scroll_bar_background, */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_screen_gamma,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_line_spacing,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_fringe_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_fringe_width,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0, /* x_set_wait_for_wm, */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x_set_fullscreen,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 };
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 void
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 syms_of_macfns ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #ifdef MAC_OSX
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is zero if not using Mac native windows. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_in_use = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #else
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Certainly running on Mac native windows. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 mac_in_use = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* The section below is built by the lisp expression at the top of the file,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 just above where these variables are declared. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /*&&& init symbols here &&&*/
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qnone = intern ("none");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&Qnone);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qsuppress_icon = intern ("suppress-icon");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&Qsuppress_icon);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qundefined_color = intern ("undefined-color");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&Qundefined_color);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Qcancel_timer = intern ("cancel-timer");
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&Qcancel_timer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* This is the end of symbol initialization. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Text property `display' should be nonsticky by default. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vtext_property_default_nonsticky
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 = Fcons (Fcons (Qdisplay, Qt), Vtext_property_default_nonsticky);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fput (Qundefined_color, Qerror_conditions,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fcons (Qundefined_color, Fcons (Qerror, Qnil)));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Fput (Qundefined_color, Qerror_message,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 build_string ("Undefined color"));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-pointer-shape", &Vx_pointer_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* The shape of the pointer when over text.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Changing the value does not affect existing frames
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unless you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_pointer_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* This doesn't really do anything. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* The shape of the pointer when not over text.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This variable takes effect when you create a new frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 or when you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_nontext_pointer_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-hourglass-pointer-shape", &Vx_hourglass_pointer_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* The shape of the pointer when Emacs is busy.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This variable takes effect when you create a new frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 or when you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_hourglass_pointer_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_BOOL ("display-hourglass", &display_hourglass_p,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Non-zero means Emacs displays an hourglass pointer on window systems. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 display_hourglass_p = 1;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("hourglass-delay", &Vhourglass_delay,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* *Seconds to wait before displaying an hourglass pointer.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Value must be an integer or float. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vhourglass_delay = make_number (DEFAULT_HOURGLASS_DELAY);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* This doesn't really do anything. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-mode-pointer-shape", &Vx_mode_pointer_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* The shape of the pointer when over the mode line.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This variable takes effect when you create a new frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 or when you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_mode_pointer_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-sensitive-text-pointer-shape",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &Vx_sensitive_text_pointer_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* The shape of the pointer when over mouse-sensitive text.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This variable takes effect when you create a new frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 or when you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_sensitive_text_pointer_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-window-horizontal-drag-cursor",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &Vx_window_horizontal_drag_shape,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Pointer shape to use for indicating a window can be dragged horizontally.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 This variable takes effect when you create a new frame
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 or when you set the mouse color. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_window_horizontal_drag_shape = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-cursor-fore-pixel", &Vx_cursor_fore_pixel,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* A string indicating the foreground color of the cursor box. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_cursor_fore_pixel = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-max-tooltip-size", &Vx_max_tooltip_size,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Maximum size for tooltips. Value is a pair (COLUMNS . ROWS).
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Text larger than this is clipped. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_max_tooltip_size = Fcons (make_number (80), make_number (40));
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Non-nil if no window manager is in use.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Emacs doesn't try to figure this out; this is always nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 unless you set it to something else. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* We don't have any way to find this out, so set it to nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 and maybe the user would like to set it to t. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_no_window_manager = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("x-pixel-size-width-font-regexp",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 &Vx_pixel_size_width_font_regexp,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Since Emacs gets width of a font matching with this regexp from
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 PIXEL_SIZE field of the name, font finding mechanism gets faster for
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 such a font. This is especially effective for such large fonts as
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Chinese, Japanese, and Korean. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vx_pixel_size_width_font_regexp = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 DEFVAR_LISP ("mac-carbon-version-string", &Vmac_carbon_version_string,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 doc: /* Version info for Carbon API. */);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 {
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 OSErr err;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 UInt32 response;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 char carbon_version[16] = "Unknown";
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err = Gestalt (gestaltCarbonVersion, &response);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 if (err == noErr)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 sprintf (carbon_version, "%u.%u.%u",
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (response >> 8) & 0xf, (response >> 4) & 0xf, response & 0xf);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 Vmac_carbon_version_string = build_string (carbon_version);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif /* TARGET_API_MAC_CARBON */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* X window properties. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_change_window_property);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_delete_window_property);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_window_property);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sxw_display_color_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_grayscale_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sxw_color_defined_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sxw_color_values);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_server_max_request_size);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_server_vendor);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_server_version);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_pixel_width);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_pixel_height);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_mm_width);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_mm_height);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_screens);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_planes);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_color_cells);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_visual_class);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_backing_store);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_save_under);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_create_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_open_connection);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_close_connection);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_display_list);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_synchronize);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_focus_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* Setting callback functions for fontset handler. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 get_font_info_func = x_get_font_info;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if 0 /* This function pointer doesn't seem to be used anywhere.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 And the pointer assigned has the wrong type, anyway. */
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 list_fonts_func = x_list_fonts;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 load_font_func = x_load_font;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 find_ccl_program_func = x_find_ccl_program;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 query_font_func = x_query_font;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 set_frame_fontset_func = mac_set_font;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 check_window_system_func = check_mac;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_atimer = NULL;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hourglass_shown_p = 0;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_show_tip);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_hide_tip);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_timer = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&tip_timer);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 tip_frame = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&tip_frame);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 last_show_tip_args = Qnil;
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 staticpro (&last_show_tip_args);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if TARGET_API_MAC_CARBON
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Sx_file_dialog);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Smac_clear_font_name_table);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_MAC_FONT_PANEL
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Smac_set_font_panel_visible_p);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #if USE_ATSUI
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 defsubr (&Smac_atsu_font_face_attributes);
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #endif
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 }
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 /* arch-tag: d7591289-f374-4377-b245-12f5dbbb8edc
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (do not change this comment) */