From e7a2f558ab481c9ef3649c3af6fce6febd38a3ff Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 25 May 2018 17:44:28 -0400 Subject: [PATCH] Added stub for GradientRectangle. --- ScintillaCurses.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ScintillaCurses.cxx b/ScintillaCurses.cxx index 8c246eb..eb42bd2 100644 --- a/ScintillaCurses.cxx +++ b/ScintillaCurses.cxx @@ -343,6 +343,9 @@ class SurfaceImpl : public Surface { 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) {}