summaryrefslogtreecommitdiff
path: root/desktop/scrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scrollbar.h')
-rw-r--r--desktop/scrollbar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h
index 66bf83cf2..7c5307fff 100644
--- a/desktop/scrollbar.h
+++ b/desktop/scrollbar.h
@@ -93,10 +93,12 @@ void scrollbar_destroy(struct scrollbar *s);
* \param y the Y coordinate to draw the scrollbar at
* \param clip the clipping rectangle
* \param scale scale for the redraw
+ * \param ctx current redraw context
* \return true on succes false otherwise
*/
bool scrollbar_redraw(struct scrollbar *s, int x, int y,
- const struct rect *clip, float scale);
+ const struct rect *clip, float scale,
+ const struct redraw_context *ctx);
/**
* Set the scroll value of the scrollbar.