aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-04-19 12:03:38 +0000
committerYAMAMOTO Mitsuharu2005-04-19 12:03:38 +0000
commita6d1cf0145bd4b26a51bc2a537cc6338b27206bb (patch)
treeb4524cd9d77f69d3e2bcf73393927f0b2eede078 /src
parent62af9c24210d3b1d2e2cd8e122ef54ef577b0219 (diff)
downloademacs-a6d1cf0145bd4b26a51bc2a537cc6338b27206bb.tar.gz
emacs-a6d1cf0145bd4b26a51bc2a537cc6338b27206bb.zip
(MacFontStruct): Remove member `fontname'. Add member `full_name'.
[TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for mac_scriptcode member.
Diffstat (limited to 'src')
-rw-r--r--src/macgui.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/macgui.h b/src/macgui.h
index 96fd54a603b..5d4f1894e2e 100644
--- a/src/macgui.h
+++ b/src/macgui.h
@@ -101,12 +101,16 @@ typedef struct _XCharStruct
101 (xcs).descent = (bds).bottom) 101 (xcs).descent = (bds).bottom)
102 102
103struct MacFontStruct { 103struct MacFontStruct {
104 char *fontname; 104 char *full_name;
105 105
106 short mac_fontnum; /* font number of font used in this window */ 106 short mac_fontnum; /* font number of font used in this window */
107 int mac_fontsize; /* size of font */ 107 int mac_fontsize; /* size of font */
108 short mac_fontface; /* plain, bold, italics, etc. */ 108 short mac_fontface; /* plain, bold, italics, etc. */
109#if TARGET_API_MAC_CARBON
110 int mac_scriptcode; /* Mac OS script code for font used */
111#else
109 short mac_scriptcode; /* Mac OS script code for font used */ 112 short mac_scriptcode; /* Mac OS script code for font used */
113#endif
110 114
111#if 0 115#if 0
112 SInt16 mFontNum; /* font number of font used in this window */ 116 SInt16 mFontNum; /* font number of font used in this window */