From fba451a1d76be9b6945c9d5d7e219f7d7d1a4260 Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 25 May 2018 17:44:28 -0400 Subject: Backport: Add GradientRectangle method to Surface to draw rectangles with vertical or horizontal gradients. Backport of changeset 6965:90c71d69e3b6. --- curses/ScintillaCurses.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'curses') diff --git a/curses/ScintillaCurses.cxx b/curses/ScintillaCurses.cxx index 1a04912a1..f5c55ed21 100644 --- a/curses/ScintillaCurses.cxx +++ b/curses/ScintillaCurses.cxx @@ -343,6 +343,9 @@ public: mvwchgat(win, y, x, 1, attrs, term_color_pair(fore, fill), NULL); } } + /** Drawing gradients is not implemented. */ + void GradientRectangle(PRectangle rc, const std::vector &stops, + GradientOptions options) {} /** Drawing images is not implemented. */ void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) {} -- cgit v1.2.3