From 8e1154eb1cef4e102504fae25fb9805040d37226 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 11 Nov 2019 21:34:46 +0000 Subject: Content: Remove redundant and unused redraw message fields. This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. --- content/content.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index a5bf46c61..f3e578b6b 100644 --- a/content/content.h +++ b/content/content.h @@ -131,15 +131,6 @@ union content_msg_data { /** CONTENT_MSG_REDRAW - Area of content which needs redrawing */ struct { int x, y, width, height; - /** Redraw the area fully. If false, object must be set, - * and only the object will be redrawn. */ - bool full_redraw; - /** Object to redraw if full_redraw is false. */ - struct content *object; - /** Coordinates to plot object at. */ - int object_x, object_y; - /** Dimensions to plot object with. */ - int object_width, object_height; } redraw; /** CONTENT_MSG_REFRESH - Minimum delay */ int delay; -- cgit v1.2.3