comparison src/redisplay-msw.c @ 276:6330739388db r21-0b36

Import from CVS: tag r21-0b36
author cvs
date Mon, 13 Aug 2007 10:30:37 +0200
parents c5d627a313b1
children 90d73dddcdc4
comparison
equal deleted inserted replaced
275:a68ae4439f57 276:6330739388db
552 Lisp_Object image_instance, int xpos, int xoffset, 552 Lisp_Object image_instance, int xpos, int xoffset,
553 int start_pixpos, int width, face_index findex, 553 int start_pixpos, int width, face_index findex,
554 int cursor_start, int cursor_width, int cursor_height) 554 int cursor_start, int cursor_width, int cursor_height)
555 { 555 {
556 struct frame *f = XFRAME (w->frame); 556 struct frame *f = XFRAME (w->frame);
557 #if 0
557 HDC hdc = FRAME_MSWINDOWS_DC (f); 558 HDC hdc = FRAME_MSWINDOWS_DC (f);
559 #endif
558 struct Lisp_Image_Instance *p = XIMAGE_INSTANCE (image_instance); 560 struct Lisp_Image_Instance *p = XIMAGE_INSTANCE (image_instance);
559 Lisp_Object window; 561 Lisp_Object window;
560 562
561 int lheight = dl->ascent + dl->descent - dl->clip; 563 int lheight = dl->ascent + dl->descent - dl->clip;
562 int pheight = ((int) IMAGE_INSTANCE_PIXMAP_HEIGHT (p) > lheight ? lheight : 564 int pheight = ((int) IMAGE_INSTANCE_PIXMAP_HEIGHT (p) > lheight ? lheight :