diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-20 01:01:26 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-07-10 02:18:36 +1000 |
commit | 3c1bc99df936a2ea1ea11ef6c884b9eecaef5c09 (patch) | |
tree | 68dff8945b8876434c680b6823e3894888cfd101 /gtk2_ardour/ghostregion.h | |
parent | c6f2095fb7a7ca47e3980899aafc6aa85c0fcd9a (diff) |
Improve midi model redraw performance by caching colours.
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r-- | gtk2_ardour/ghostregion.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h index 8a4a8284c0..152d34a64b 100644 --- a/gtk2_ardour/ghostregion.h +++ b/gtk2_ardour/ghostregion.h @@ -115,6 +115,8 @@ public: void clear_events(); private: + ArdourCanvas::Color _fill; + ArdourCanvas::Color _outline; MidiGhostRegion::GhostEvent* find_event (NoteBase*); |