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/outline.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/outline.cc')
-rw-r--r-- | libs/canvas/outline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/outline.cc b/libs/canvas/outline.cc index 5da6e3d080..15ea4776b6 100644 --- a/libs/canvas/outline.cc +++ b/libs/canvas/outline.cc @@ -41,11 +41,11 @@ Outline::Outline (Group* parent) void Outline::set_outline_color (Color color) { - begin_change (); + begin_visual_change (); _outline_color = color; - end_change (); + end_visual_change (); } void |