diff options
| author | Karoly Lorentey | 2005-10-09 20:00:17 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-10-09 20:00:17 +0000 |
| commit | 0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2 (patch) | |
| tree | 3e8596405b243531128cd0f1d8f59d2ab9e7f7c7 /src/macgui.h | |
| parent | a3c07f683d1f9fbf7c7af0120dfebc5fc34b61fa (diff) | |
| parent | 20ef86730cca82a1a2e212a665c0b119ed2d70b2 (diff) | |
| download | emacs-0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2.tar.gz emacs-0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 118-132, 551-577)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-551
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-552
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-553
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-554
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-555
Remove CVS keywords from newsticker files
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-556
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-557
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-558
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-559
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-560
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-561
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-562
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-563
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-564
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-565
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-566
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-567
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-568
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-569
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-570
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-571
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-572
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-573
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-574
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-575
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-576
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-577
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-118
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-119
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-120
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-121
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-122
Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp.
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-123
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-124
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-125
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-126
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-127
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-128
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-129
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-130
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-131
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-132
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-423
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/src/macgui.h b/src/macgui.h index 607890317e1..378dbcd9e5c 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -95,11 +95,15 @@ typedef GWorldPtr Pixmap; | |||
| 95 | /* Emulate XCharStruct. */ | 95 | /* Emulate XCharStruct. */ |
| 96 | typedef struct _XCharStruct | 96 | typedef struct _XCharStruct |
| 97 | { | 97 | { |
| 98 | int rbearing; | 98 | short lbearing; /* origin to left edge of raster */ |
| 99 | int lbearing; | 99 | short rbearing; /* origin to right edge of raster */ |
| 100 | int width; | 100 | short width; /* advance to next char's origin */ |
| 101 | int ascent; | 101 | short ascent; /* baseline to top edge of raster */ |
| 102 | int descent; | 102 | short descent; /* baseline to bottom edge of raster */ |
| 103 | #if 0 | ||
| 104 | unsigned short attributes; /* per char flags (not predefined) */ | ||
| 105 | #endif | ||
| 106 | unsigned valid_p : 1; | ||
| 103 | } XCharStruct; | 107 | } XCharStruct; |
| 104 | 108 | ||
| 105 | #define STORE_XCHARSTRUCT(xcs, w, bds) \ | 109 | #define STORE_XCHARSTRUCT(xcs, w, bds) \ |
| @@ -107,7 +111,8 @@ typedef struct _XCharStruct | |||
| 107 | (xcs).lbearing = (bds).left, \ | 111 | (xcs).lbearing = (bds).left, \ |
| 108 | (xcs).rbearing = (bds).right, \ | 112 | (xcs).rbearing = (bds).right, \ |
| 109 | (xcs).ascent = -(bds).top, \ | 113 | (xcs).ascent = -(bds).top, \ |
| 110 | (xcs).descent = (bds).bottom) | 114 | (xcs).descent = (bds).bottom, \ |
| 115 | (xcs).valid_p = 1) | ||
| 111 | 116 | ||
| 112 | struct MacFontStruct { | 117 | struct MacFontStruct { |
| 113 | char *full_name; | 118 | char *full_name; |
| @@ -120,19 +125,9 @@ struct MacFontStruct { | |||
| 120 | #else | 125 | #else |
| 121 | short mac_scriptcode; /* Mac OS script code for font used */ | 126 | short mac_scriptcode; /* Mac OS script code for font used */ |
| 122 | #endif | 127 | #endif |
| 123 | 128 | #if USE_ATSUI | |
| 124 | #if 0 | 129 | ATSUStyle mac_style; /* NULL if QuickDraw Text is used */ |
| 125 | SInt16 mFontNum; /* font number of font used in this window */ | 130 | #endif |
| 126 | short mScriptCode; /* Mac OS script code for font used */ | ||
| 127 | int mFontSize; /* size of font */ | ||
| 128 | Style mFontFace; /* plain, bold, italics, etc. */ | ||
| 129 | int mHeight; /* height of one line of text in pixels */ | ||
| 130 | int mWidth; /* width of one character in pixels */ | ||
| 131 | int mAscent; | ||
| 132 | int mDescent; | ||
| 133 | int mLeading; | ||
| 134 | char mTwoByte; /* true for two-byte font */ | ||
| 135 | #endif /* 0 */ | ||
| 136 | 131 | ||
| 137 | /* from Xlib.h */ | 132 | /* from Xlib.h */ |
| 138 | #if 0 | 133 | #if 0 |