diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-11 07:36:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-11 07:36:09 -0400 |
commit | c2946ee00f6b5ec8205dd2fcb5b6d2ace2907436 (patch) | |
tree | a9d088f0e42209e0bab50686a54ac12290fbe776 /libs/canvas/canvas/rectangle.h | |
parent | 495c0de4ac2e5292a2ebaf276e57cb30fea414db (diff) |
don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions
Diffstat (limited to 'libs/canvas/canvas/rectangle.h')
-rw-r--r-- | libs/canvas/canvas/rectangle.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/canvas/canvas/rectangle.h b/libs/canvas/canvas/rectangle.h index ff2ff994b7..91f23f9336 100644 --- a/libs/canvas/canvas/rectangle.h +++ b/libs/canvas/canvas/rectangle.h @@ -72,7 +72,12 @@ public: }; void set_outline_what (What); - void set_outline_what (int); + void set_outline_all () { + set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::TOP| + ArdourCanvas::Rectangle::LEFT| + ArdourCanvas::Rectangle::RIGHT| + ArdourCanvas::Rectangle::BOTTOM)); + } private: /** Our rectangle; note that x0 may not always be less than x1 |