Mercurial > hg > xemacs-beta
comparison src/redisplay-msw.c @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:07:10 +0200 |
parents | 4b85ae5eabfb |
children | bbff43aa5eb7 |
comparison
equal
deleted
inserted
replaced
379:76b7d63099ad | 380:8626e4521993 |
---|---|
52 #endif | 52 #endif |
53 | 53 |
54 #define MSWINDOWS_EOL_CURSOR_WIDTH 5 | 54 #define MSWINDOWS_EOL_CURSOR_WIDTH 5 |
55 | 55 |
56 /* | 56 /* |
57 * Random forward delarations | 57 * Random forward declarations |
58 */ | 58 */ |
59 static void mswindows_update_dc (HDC hdc, Lisp_Object font, Lisp_Object fg, | 59 static void mswindows_update_dc (HDC hdc, Lisp_Object font, Lisp_Object fg, |
60 Lisp_Object bg, Lisp_Object bg_pmap); | 60 Lisp_Object bg, Lisp_Object bg_pmap); |
61 static void mswindows_clear_region (Lisp_Object locale, face_index findex, | 61 static void mswindows_clear_region (Lisp_Object locale, face_index findex, |
62 int x, int y, int width, int height); | 62 int x, int y, int width, int height); |
1085 /***************************************************************************** | 1085 /***************************************************************************** |
1086 mswindows_output_display_block | 1086 mswindows_output_display_block |
1087 | 1087 |
1088 Given a display line, a block number for that start line, output all | 1088 Given a display line, a block number for that start line, output all |
1089 runes between start and end in the specified display block. | 1089 runes between start and end in the specified display block. |
1090 Ripped off with mininmal thought from the corresponding X routine. | 1090 Ripped off with minimal thought from the corresponding X routine. |
1091 ****************************************************************************/ | 1091 ****************************************************************************/ |
1092 static void | 1092 static void |
1093 mswindows_output_display_block (struct window *w, struct display_line *dl, int block, | 1093 mswindows_output_display_block (struct window *w, struct display_line *dl, int block, |
1094 int start, int end, int start_pixpos, int cursor_start, | 1094 int start, int end, int start_pixpos, int cursor_start, |
1095 int cursor_width, int cursor_height) | 1095 int cursor_width, int cursor_height) |
1344 } | 1344 } |
1345 | 1345 |
1346 /* Draw a shadow around the divider */ | 1346 /* Draw a shadow around the divider */ |
1347 if (shadow != 0) | 1347 if (shadow != 0) |
1348 { | 1348 { |
1349 /* #### This will be fixed to support arbitrary thichkness */ | 1349 /* #### This will be fixed to support arbitrary thickness */ |
1350 InflateRect (&rect, abs_shadow, abs_shadow); | 1350 InflateRect (&rect, abs_shadow, abs_shadow); |
1351 DrawEdge (FRAME_MSWINDOWS_DC (f), &rect, | 1351 DrawEdge (FRAME_MSWINDOWS_DC (f), &rect, |
1352 shadow > 0 ? EDGE_RAISED : EDGE_SUNKEN, BF_RECT); | 1352 shadow > 0 ? EDGE_RAISED : EDGE_SUNKEN, BF_RECT); |
1353 } | 1353 } |
1354 } | 1354 } |