diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser_history.c | 30 | ||||
-rw-r--r-- | desktop/browser_history.h | 9 |
2 files changed, 0 insertions, 39 deletions
diff --git a/desktop/browser_history.c b/desktop/browser_history.c index 606a8c62c..97f4f71ee 100644 --- a/desktop/browser_history.c +++ b/desktop/browser_history.c @@ -781,36 +781,6 @@ void browser_window_history_size(struct browser_window *bw, /* exported interface documented in desktop/browser_history.h */ -bool browser_window_history_redraw(struct browser_window *bw, - const struct redraw_context *ctx) -{ - struct history *history; - struct rect rect = { - .x0 = 0, - .y0 = 0, - }; - - assert(bw != NULL); - history = bw->history; - rect.x1 = history->width; - rect.y1 = history->height; - - if (history == NULL) { - LOG("Attempt to draw NULL history."); - return false; - } - - if (!history->start) - return true; - - ctx->plot->rectangle(ctx, &pstyle_bg, &rect); - - return browser_window_history__redraw_entry(history, history->start, - 0, 0, 0, 0, 0, 0, false, ctx); -} - - -/* exported interface documented in desktop/browser_history.h */ bool browser_window_history_redraw_rectangle(struct browser_window *bw, int x0, int y0, int x1, int y1, int x, int y, const struct redraw_context *ctx) diff --git a/desktop/browser_history.h b/desktop/browser_history.h index 8ffb6125b..831eeeeb4 100644 --- a/desktop/browser_history.h +++ b/desktop/browser_history.h @@ -127,15 +127,6 @@ void browser_window_history_size(struct browser_window *bw, int *width, int *height); /** - * Redraw all of a history area. - * - * \param bw browser window with history object. - * \param ctx current redraw context - */ -bool browser_window_history_redraw(struct browser_window *bw, - const struct redraw_context *ctx); - -/** * Redraw part of a history area. * * \param bw browser window with history object. |