mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions
This commit is contained in:
parent
495c0de4ac
commit
c2946ee00f
7 changed files with 131 additions and 107 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue