comparison src/w32term.h @ 33388:ba5202c8e467

(CP_8BIT, CP_UNICODE, CP_INVALID): New pseudo-codepages.
author Jason Rumney <jasonr@gnu.org>
date Fri, 10 Nov 2000 22:17:41 +0000
parents 9fa317523a69
children 79e5d8c30cf2
comparison
equal deleted inserted replaced
33387:01a10bc04233 33388:ba5202c8e467
38 ((f)->bdf ? -((f)->bdf->lly) : (f)->tm.tmDescent) 38 ((f)->bdf ? -((f)->bdf->lly) : (f)->tm.tmDescent)
39 #define FONT_MAX_WIDTH(f) \ 39 #define FONT_MAX_WIDTH(f) \
40 ((f)->bdf ? (f)->bdf->width : (f)->tm.tmMaxCharWidth) 40 ((f)->bdf ? (f)->bdf->width : (f)->tm.tmMaxCharWidth)
41 41
42 #define CP_DEFAULT 1004 42 #define CP_DEFAULT 1004
43 /* Special psuedo-codepages. */
44 #define CP_8BIT -1
45 #define CP_UNICODE -2
46 #define CP_INVALID -3
43 47
44 #define CHECK_W32_FRAME(f, frame) \ 48 #define CHECK_W32_FRAME(f, frame) \
45 if (NILP (frame)) \ 49 if (NILP (frame)) \
46 f = SELECTED_FRAME (); \ 50 f = SELECTED_FRAME (); \
47 else \ 51 else \
48 { \ 52 { \
49 CHECK_LIVE_FRAME (frame, 0); \ 53 CHECK_LIVE_FRAME (frame, 0); \
50 f = XFRAME (frame); \ 54 f = XFRAME (frame); \
51 } \ 55 } \
52 if (! FRAME_W32_P (f)) 56 if (! FRAME_W32_P (f))
53
54 57
55 /* Indicates whether we are in the readsocket call and the message we 58 /* Indicates whether we are in the readsocket call and the message we
56 are processing in the current loop */ 59 are processing in the current loop */
57 60
58 extern MSG CurMsg; 61 extern MSG CurMsg;