Mercurial > emacs
comparison src/w32term.h @ 14984:e8a969370f33
(BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT): Use PALETTERGB instead of RGB.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Thu, 11 Apr 1996 04:13:07 +0000 |
parents | fb9e2125fc2e |
children | 2dd4961cefaa |
comparison
equal
deleted
inserted
replaced
14983:88b23d545848 | 14984:e8a969370f33 |
---|---|
23 #include <win32.h> | 23 #include <win32.h> |
24 | 24 |
25 /* The class of this X application. */ | 25 /* The class of this X application. */ |
26 #define EMACS_CLASS "Emacs" | 26 #define EMACS_CLASS "Emacs" |
27 | 27 |
28 #define BLACK_PIX_DEFAULT(f) RGB(0,0,0) | 28 #define BLACK_PIX_DEFAULT(f) PALETTERGB(0,0,0) |
29 #define WHITE_PIX_DEFAULT(f) RGB(255,255,255) | 29 #define WHITE_PIX_DEFAULT(f) PALETTERGB(255,255,255) |
30 | 30 |
31 #define FONT_WIDTH(f) ((f)->tm.tmAveCharWidth) | 31 #define FONT_WIDTH(f) ((f)->tm.tmAveCharWidth) |
32 #define FONT_HEIGHT(f) ((f)->tm.tmHeight) | 32 #define FONT_HEIGHT(f) ((f)->tm.tmHeight) |
33 #define FONT_BASE(f) ((f)->tm.tmAscent) | 33 #define FONT_BASE(f) ((f)->tm.tmAscent) |
34 | 34 |