X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fredisplay.h;h=aa6f74295160d42138a64a311e3f97901a3bddae;hb=041d9d27443ebd08f42fca2becb1f32451c1576f;hp=8f8db18367fe2c4f91a5d0dd5c0123905d7c8edb;hpb=cb9f6f4eadc44f1becb32cbbd1db26449e347755;p=chise%2Fxemacs-chise.git diff --git a/src/redisplay.h b/src/redisplay.h index 8f8db18..aa6f742 100644 --- a/src/redisplay.h +++ b/src/redisplay.h @@ -270,6 +270,11 @@ struct display_line glyph_block_dynarr *right_glyphs; }; +#define DISPLAY_LINE_HEIGHT(dl) \ +(dl->ascent + dl->descent - dl->clip) +#define DISPLAY_LINE_YPOS(dl) \ +(dl->ypos - dl->ascent) + typedef struct { Dynarr_declare (display_line); @@ -559,6 +564,7 @@ void redisplay_output_subwindow (struct window *w, struct display_line *dl, int xoffset, int start_pixpos, int width, face_index findex, int cursor_start, int cursor_width, int cursor_height); +void redisplay_unmap_subwindows_maybe (struct frame* f, int x, int y, int width, int height); void redisplay_clear_region (Lisp_Object window, face_index findex, int x, int y, int width, int height); void redisplay_clear_bottom_of_window (struct window *w,