projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Repeat INSENSITIVE colors instead of relying on inheritance
[ardour.git]
/
libs
/
ardour
/
vca.cc
diff --git
a/libs/ardour/vca.cc
b/libs/ardour/vca.cc
index 36ed09cf258d088f8a8ecf8b5847163d2c70286d..a2b16913bbb05c3bab47d43c4cbbfff78f6f4551 100644
(file)
--- a/
libs/ardour/vca.cc
+++ b/
libs/ardour/vca.cc
@@
-27,14
+27,14
@@
#include "ardour/session.h"
#include "ardour/vca.h"
#include "ardour/session.h"
#include "ardour/vca.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace ARDOUR;
using namespace PBD;
using std::string;
Glib::Threads::Mutex VCA::number_lock;
using namespace ARDOUR;
using namespace PBD;
using std::string;
Glib::Threads::Mutex VCA::number_lock;
-
u
int32_t VCA::next_number = 1;
+int32_t VCA::next_number = 1;
string VCA::xml_node_name (X_("VCA"));
string
string VCA::xml_node_name (X_("VCA"));
string
@@
-43,7
+43,7
@@
VCA::default_name_template ()
return _("VCA %n");
}
return _("VCA %n");
}
-
u
int32_t
+int32_t
VCA::next_vca_number ()
{
/* we could use atomic inc here, but elsewhere we need more complete
VCA::next_vca_number ()
{
/* we could use atomic inc here, but elsewhere we need more complete
@@
-54,20
+54,20
@@
VCA::next_vca_number ()
}
void
}
void
-VCA::set_next_vca_number (
u
int32_t n)
+VCA::set_next_vca_number (int32_t n)
{
Glib::Threads::Mutex::Lock lm (number_lock);
next_number = n;
}
{
Glib::Threads::Mutex::Lock lm (number_lock);
next_number = n;
}
-
u
int32_t
+int32_t
VCA::get_next_vca_number ()
{
Glib::Threads::Mutex::Lock lm (number_lock);
return next_number;
}
VCA::get_next_vca_number ()
{
Glib::Threads::Mutex::Lock lm (number_lock);
return next_number;
}
-VCA::VCA (Session& s,
u
int32_t num, const string& name)
+VCA::VCA (Session& s, int32_t num, const string& name)
: Stripable (s, name, PresentationInfo (num, PresentationInfo::VCA))
, Muteable (s, name)
, Automatable (s)
: Stripable (s, name, PresentationInfo (num, PresentationInfo::VCA))
, Muteable (s, name)
, Automatable (s)