/[emacs]/emacs/src/macgui.h
ViewVC logotype

Diff of /emacs/src/macgui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by mituharu, Wed Sep 28 08:15:24 2005 UTC revision 1.24 by mituharu, Sat Oct 1 11:09:44 2005 UTC
# Line 103  typedef struct _XCharStruct Line 103  typedef struct _XCharStruct
103  #if 0  #if 0
104    unsigned short attributes;    /* per char flags (not predefined) */    unsigned short attributes;    /* per char flags (not predefined) */
105  #endif  #endif
106      unsigned valid_p : 1;
107  } XCharStruct;  } XCharStruct;
108    
109  #define STORE_XCHARSTRUCT(xcs, w, bds)                  \  #define STORE_XCHARSTRUCT(xcs, w, bds)                  \
# Line 110  typedef struct _XCharStruct Line 111  typedef struct _XCharStruct
111     (xcs).lbearing = (bds).left,                         \     (xcs).lbearing = (bds).left,                         \
112     (xcs).rbearing = (bds).right,                        \     (xcs).rbearing = (bds).right,                        \
113     (xcs).ascent = -(bds).top,                           \     (xcs).ascent = -(bds).top,                           \
114     (xcs).descent = (bds).bottom)     (xcs).descent = (bds).bottom,                        \
115       (xcs).valid_p = 1)
116    
117  struct MacFontStruct {  struct MacFontStruct {
118    char *full_name;    char *full_name;
# Line 123  struct MacFontStruct { Line 125  struct MacFontStruct {
125  #else  #else
126    short mac_scriptcode;  /* Mac OS script code for font used */    short mac_scriptcode;  /* Mac OS script code for font used */
127  #endif  #endif
128    #if USE_ATSUI
129  #if 0    ATSUStyle mac_style;          /* NULL if QuickDraw Text is used */
130    SInt16 mFontNum;  /* font number of font used in this window */  #endif
   short mScriptCode;  /* Mac OS script code for font used */  
   int mFontSize;  /* size of font */  
   Style mFontFace;  /* plain, bold, italics, etc. */  
   int mHeight;  /* height of one line of text in pixels */  
   int mWidth;  /* width of one character in pixels */  
   int mAscent;  
   int mDescent;  
   int mLeading;  
   char mTwoByte;  /* true for two-byte font */  
 #endif /* 0 */  
131    
132  /* from Xlib.h */  /* from Xlib.h */
133  #if 0  #if 0

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26