don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions

This commit is contained in:
Paul Davis 2014-03-11 07:36:09 -04:00
parent 495c0de4ac
commit c2946ee00f
7 changed files with 131 additions and 107 deletions

View file

@ -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