/[emacs]/emacs/src/w32term.c
ViewVC logotype

Diff of /emacs/src/w32term.c

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

revision 1.153 by jasonr, Sat Mar 23 00:33:22 2002 UTC revision 1.154 by jasonr, Fri Mar 29 18:33:52 2002 UTC
# Line 3728  w32_draw_relief_rect (f, left_x, top_y, Line 3728  w32_draw_relief_rect (f, left_x, top_y,
3728    for (i = 0; i < width; ++i)    for (i = 0; i < width; ++i)
3729      w32_fill_area (f, hdc, gc.foreground,      w32_fill_area (f, hdc, gc.foreground,
3730                     left_x + i * left_p, top_y + i,                     left_x + i * left_p, top_y + i,
3731                     (right_x + 1 - i * right_p) - (left_x + i * left_p) + 1, 1);                     right_x - left_x - i * (left_p + right_p ) + 1, 1);
3732    
3733    /* Left.  */    /* Left.  */
3734    if (left_p)    if (left_p)
3735      for (i = 0; i < width; ++i)      for (i = 0; i < width; ++i)
3736        w32_fill_area (f, hdc, gc.foreground,        w32_fill_area (f, hdc, gc.foreground,
3737                       left_x + i, top_y + i, 1,                       left_x + i, top_y + i, 1,
3738                       (bottom_y - i) - (top_y + i) + 2);                       bottom_y - top_y - 2 * i + 1);
3739    
3740    if (raised_p)    if (raised_p)
3741      gc.foreground = f->output_data.w32->black_relief.gc->foreground;      gc.foreground = f->output_data.w32->black_relief.gc->foreground;
# Line 3746  w32_draw_relief_rect (f, left_x, top_y, Line 3746  w32_draw_relief_rect (f, left_x, top_y,
3746    for (i = 0; i < width; ++i)    for (i = 0; i < width; ++i)
3747      w32_fill_area (f, hdc, gc.foreground,      w32_fill_area (f, hdc, gc.foreground,
3748                     left_x + i * left_p, bottom_y - i,                     left_x + i * left_p, bottom_y - i,
3749                     (right_x - i * right_p) - (left_x + i * left_p) + 2, 1);                     right_x - left_x - i * (left_p + right_p) + 1, 1);
3750    
3751    /* Right.  */    /* Right.  */
3752    if (right_p)    if (right_p)
3753      for (i = 0; i < width; ++i)      for (i = 0; i < width; ++i)
3754        w32_fill_area (f, hdc, gc.foreground,        w32_fill_area (f, hdc, gc.foreground,
3755                       right_x - i, top_y + i + 1, 1,                       right_x - i, top_y + i + 1, 1,
3756                       (bottom_y - i) - (top_y + i));                       bottom_y - top_y - 2 * i - 1);
3757    
3758    w32_set_clip_rectangle (hdc, NULL);    w32_set_clip_rectangle (hdc, NULL);
3759        

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

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