aboutsummaryrefslogtreecommitdiffhomepage
path: root/curses/ScintillaCurses.cxx
diff options
context:
space:
mode:
authormitchell <unknown>2018-05-25 17:44:28 -0400
committermitchell <unknown>2018-05-25 17:44:28 -0400
commitfba451a1d76be9b6945c9d5d7e219f7d7d1a4260 (patch)
tree0e1aa6f197c34e6c1a9782e264359c220ed014a7 /curses/ScintillaCurses.cxx
parent9f00df4e57e917035d2f939ce70ccf2ee83a9725 (diff)
downloadscintilla-mirror-fba451a1d76be9b6945c9d5d7e219f7d7d1a4260.tar.gz
Backport: Add GradientRectangle method to Surface to draw rectangles with vertical or horizontal gradients.
Backport of changeset 6965:90c71d69e3b6.
Diffstat (limited to 'curses/ScintillaCurses.cxx')
-rw-r--r--curses/ScintillaCurses.cxx3
1 files changed, 3 insertions, 0 deletions
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<ColourStop> &stops,
+ GradientOptions options) {}
/** Drawing images is not implemented. */
void DrawRGBAImage(PRectangle rc, int width, int height,
const unsigned char *pixelsImage) {}