Skip to content

Commit

Permalink
Added stub for GradientRectangle.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitalquark committed May 25, 2018
1 parent 0de4e47 commit e7a2f55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ScintillaCurses.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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<ColourStop> &stops,
GradientOptions options) {}
/** Drawing images is not implemented. */
void DrawRGBAImage(PRectangle rc, int width, int height,
const unsigned char *pixelsImage) {}
Expand Down

0 comments on commit e7a2f55

Please sign in to comment.