/[qemacs]/qemacs/display.h
ViewVC logotype

Diff of /qemacs/display.h

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

revision 1.4 by chqrlie, Wed May 11 11:59:03 2005 UTC revision 1.5 by chqrlie, Fri May 13 10:05:24 2005 UTC
# Line 30  typedef unsigned int QEColor; Line 30  typedef unsigned int QEColor;
30  #define QE_FAMILY_FALLBACK_MASK   0xff0000  #define QE_FAMILY_FALLBACK_MASK   0xff0000
31    
32  typedef struct QEFont {  typedef struct QEFont {
33        int refcount;
34      int ascent;      int ascent;
35      int descent;      int descent;
36      void *private;      void *private;
# Line 186  int qe_register_display(QEDisplay *dpy); Line 187  int qe_register_display(QEDisplay *dpy);
187  QEDisplay *probe_display(void);  QEDisplay *probe_display(void);
188  QEFont *select_font(QEditScreen *s, int style, int size);  QEFont *select_font(QEditScreen *s, int style, int size);
189    
190    static inline QEFont *lock_font(QEditScreen *s, QEFont *font) {
191        if (font && font->refcount)
192            font->refcount++;
193        return font;
194    }
195    static inline void release_font(QEditScreen *s, QEFont *font) {
196        if (font && font->refcount)
197            font->refcount--;
198    }
199    
200  void selection_activate(QEditScreen *s);  void selection_activate(QEditScreen *s);
201  void selection_request(QEditScreen *s);  void selection_request(QEditScreen *s);
202    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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