Mercurial > emacs
comparison src/macgui.h @ 65251:bd6366e3f520
[!TARGET_API_MAC_CARBON] (GetPixDepth): New define.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 31 Aug 2005 08:35:44 +0000 |
parents | a0d1312ede66 |
children | ffb004cd9a2f a3716f7538f2 |
comparison
equal
deleted
inserted
replaced
65250:8105f38368d5 | 65251:bd6366e3f520 |
---|---|
85 #define Cursor ThemeCursor | 85 #define Cursor ThemeCursor |
86 #define No_Cursor (-1) | 86 #define No_Cursor (-1) |
87 | 87 |
88 #define FACE_DEFAULT (~0) | 88 #define FACE_DEFAULT (~0) |
89 | 89 |
90 #if !TARGET_API_MAC_CARBON | |
91 #define GetPixDepth(pmh) ((*(pmh))->pixelSize) | |
92 #endif | |
93 | |
90 | 94 |
91 /* Emulate XCharStruct. */ | 95 /* Emulate XCharStruct. */ |
92 typedef struct _XCharStruct | 96 typedef struct _XCharStruct |
93 { | 97 { |
94 int rbearing; | 98 int rbearing; |