As noted in the log, this commit was a bit radical and needs some
adjustments (which was expected, actually).

Let InsetText do their own background drawing.

Fixes bug #10359.
This commit is contained in:
Jean-Marc Lasgouttes 2016-09-05 11:04:11 +02:00
parent b5c0694856
commit 72837fec5c

View File

@ -59,6 +59,8 @@ public:
void metrics(MetricsInfo & mi, Dimension & dim) const; void metrics(MetricsInfo & mi, Dimension & dim) const;
/// ///
void draw(PainterInfo & pi, int x, int y) const; void draw(PainterInfo & pi, int x, int y) const;
/// Drawing background is handled in draw
virtual void drawBackground(PainterInfo &, int, int) const {}
/// ///
bool editable() const { return true; } bool editable() const { return true; }
/// ///