mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Localize private variable (only used by RouteUI)
This commit is contained in:
parent
24499fa7da
commit
003be3d87e
4 changed files with 5 additions and 5 deletions
|
|
@ -370,7 +370,6 @@ FoldbackStrip::FoldbackStrip (Mixer_UI& mx, Session* sess, boost::shared_ptr<Rou
|
||||||
void
|
void
|
||||||
FoldbackStrip::init ()
|
FoldbackStrip::init ()
|
||||||
{
|
{
|
||||||
ignore_comment_edit = false;
|
|
||||||
comment_area = 0;
|
comment_area = 0;
|
||||||
|
|
||||||
_previous_button.set_name ("mixer strip button");
|
_previous_button.set_name ("mixer strip button");
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,6 @@ MixerStrip::init ()
|
||||||
_entered_mixer_strip= 0;
|
_entered_mixer_strip= 0;
|
||||||
group_menu = 0;
|
group_menu = 0;
|
||||||
route_ops_menu = 0;
|
route_ops_menu = 0;
|
||||||
ignore_comment_edit = false;
|
|
||||||
comment_area = 0;
|
comment_area = 0;
|
||||||
_width_owner = 0;
|
_width_owner = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,7 @@ RouteUI::RouteUI (ARDOUR::Session* sess)
|
||||||
, comment_area(0)
|
, comment_area(0)
|
||||||
, playlist_action_menu (0)
|
, playlist_action_menu (0)
|
||||||
, _invert_menu(0)
|
, _invert_menu(0)
|
||||||
|
, _ignore_comment_edit (false)
|
||||||
{
|
{
|
||||||
if (program_port_prefix.empty()) {
|
if (program_port_prefix.empty()) {
|
||||||
// compare to gtk2_ardour/port_group.cc
|
// compare to gtk2_ardour/port_group.cc
|
||||||
|
|
@ -1797,11 +1798,11 @@ RouteUI::setup_comment_editor ()
|
||||||
void
|
void
|
||||||
RouteUI::comment_changed ()
|
RouteUI::comment_changed ()
|
||||||
{
|
{
|
||||||
ignore_comment_edit = true;
|
_ignore_comment_edit = true;
|
||||||
if (comment_area) {
|
if (comment_area) {
|
||||||
comment_area->get_buffer()->set_text (_route->comment());
|
comment_area->get_buffer()->set_text (_route->comment());
|
||||||
}
|
}
|
||||||
ignore_comment_edit = false;
|
_ignore_comment_edit = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,6 @@ public:
|
||||||
gint comment_key_release_handler (GdkEventKey*);
|
gint comment_key_release_handler (GdkEventKey*);
|
||||||
void comment_changed ();
|
void comment_changed ();
|
||||||
void comment_edited ();
|
void comment_edited ();
|
||||||
bool ignore_comment_edit;
|
|
||||||
|
|
||||||
void set_disk_io_point (ARDOUR::DiskIOPoint);
|
void set_disk_io_point (ARDOUR::DiskIOPoint);
|
||||||
|
|
||||||
|
|
@ -358,6 +357,8 @@ private:
|
||||||
Gtk::Menu* _invert_menu;
|
Gtk::Menu* _invert_menu;
|
||||||
uint32_t _n_polarity_invert;
|
uint32_t _n_polarity_invert;
|
||||||
|
|
||||||
|
bool _ignore_comment_edit;
|
||||||
|
|
||||||
StripableColorDialog _color_picker;
|
StripableColorDialog _color_picker;
|
||||||
|
|
||||||
static boost::weak_ptr<ARDOUR::Route> _showing_sends_to;
|
static boost::weak_ptr<ARDOUR::Route> _showing_sends_to;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue