Mercurial > hg > xemacs-beta
comparison src/redisplay-tty.c @ 5515:f87be7ddd60d
Simplify clear_region interface.
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2011-05-29 Didier Verna <didier@xemacs.org>
* console-impl.h (struct console_methods): Remove device parameter
from the clear_region method prototype.
* redisplay-output.c (redisplay_clear_region): Remove the device
parameter from the clear_region method call.
* console-stream.c (stream_clear_region):
* redisplay-msw.c (mswindows_clear_region):
* redisplay-tty.c (tty_clear_region): Update accordingly.
* redisplay-xlike-inc.c (XLIKE_clear_region): Ditto. Get the
device from the frame structure instead.
author | Didier Verna <didier@lrde.epita.fr> |
---|---|
date | Sun, 29 May 2011 20:56:07 +0200 |
parents | 248176c74e6b |
children | 48a3d3281b48 |
comparison
equal
deleted
inserted
replaced
5514:9d519ab9fd68 | 5515:f87be7ddd60d |
---|---|
420 tty_clear_region | 420 tty_clear_region |
421 | 421 |
422 Clear the area in the box defined by the given parameters. | 422 Clear the area in the box defined by the given parameters. |
423 ****************************************************************************/ | 423 ****************************************************************************/ |
424 static void | 424 static void |
425 tty_clear_region (Lisp_Object window, struct device* UNUSED (d), | 425 tty_clear_region (Lisp_Object window, struct frame *f, face_index findex, |
426 struct frame * f, face_index findex, int x, int y, | 426 int x, int y, int width, int height, |
427 int width, int height, Lisp_Object UNUSED (fcolor), | 427 Lisp_Object UNUSED (fcolor), |
428 Lisp_Object UNUSED (bcolor), | 428 Lisp_Object UNUSED (bcolor), |
429 Lisp_Object UNUSED (background_pixmap), | 429 Lisp_Object UNUSED (background_pixmap), |
430 Lisp_Object UNUSED (background_placement)) | 430 Lisp_Object UNUSED (background_placement)) |
431 { | 431 { |
432 struct console *c = XCONSOLE (FRAME_CONSOLE (f)); | 432 struct console *c = XCONSOLE (FRAME_CONSOLE (f)); |