diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-16 20:38:10 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-16 20:38:10 -0400 |
commit | c1df3295c179b040a1d703d610e0f5a8b8dedb37 (patch) | |
tree | bd1277d26dd2a0343121813e42c15b198bcb1656 /libs/canvas/fill.cc | |
parent | 81eed21ddef4b5c0e2d90e00d5c817f452b377fa (diff) |
virtual Fill:: and Outline:: methods so that Canvas::Items that cache image renderings of themselves can invalidate those caches when colors etc. change; add Item::{begin,end}_visual_change() so that we can notify the canvas more efficiently when *only* visual properties have changed and not the bounding box (probably needs to be used more widely)
Diffstat (limited to 'libs/canvas/fill.cc')
-rw-r--r-- | libs/canvas/fill.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/canvas/fill.cc b/libs/canvas/fill.cc index 00f69ccefd..da475a9881 100644 --- a/libs/canvas/fill.cc +++ b/libs/canvas/fill.cc @@ -39,21 +39,21 @@ Fill::Fill (Group* parent) void Fill::set_fill_color (Color color) { - begin_change (); + begin_visual_change (); _fill_color = color; - end_change (); + end_visual_change (); } void Fill::set_fill (bool fill) { - begin_change (); + begin_visual_change (); _fill = fill; - end_change (); + end_visual_change (); } void |