summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/DSSIController.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-07 03:22:42 +0000
committerDavid Robillard <d@drobilla.net>2007-02-07 03:22:42 +0000
commit39d5400b39c8089287d5d294becae1268d232d31 (patch)
tree0cf73ef86233121bc7f0408ca536aad196d3166c /src/progs/ingenuity/DSSIController.cpp
parente135edf1e65ac978f86f4849bd3667299dd69c7e (diff)
downloadingen-39d5400b39c8089287d5d294becae1268d232d31.tar.gz
ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.bz2
ingen-39d5400b39c8089287d5d294becae1268d232d31.zip
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/DSSIController.cpp')
-rw-r--r--src/progs/ingenuity/DSSIController.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/progs/ingenuity/DSSIController.cpp b/src/progs/ingenuity/DSSIController.cpp
index c7b84b57..32093660 100644
--- a/src/progs/ingenuity/DSSIController.cpp
+++ b/src/progs/ingenuity/DSSIController.cpp
@@ -29,17 +29,17 @@ namespace Ingenuity {
DSSIController::DSSIController(SharedPtr<NodeModel> model)
-: m_banks_dirty(true)
+: _banks_dirty(true)
{
#if 0
assert(model->plugin()->type() == PluginModel::DSSI);
- Gtk::Menu::MenuList& items = m_menu.items();
+ Gtk::Menu::MenuList& items = _menu.items();
items[0].property_sensitive() = true; // "Show Control Window" item
- Gtk::Menu_Helpers::MenuElem program_elem("Select Program", m_program_menu);
+ Gtk::Menu_Helpers::MenuElem program_elem("Select Program", _program_menu);
items.push_front(program_elem);
- m_program_menu_item = program_elem.get_child();
- m_program_menu_item->set_sensitive(false);
+ _program_menu_item = program_elem.get_child();
+ _program_menu_item->set_sensitive(false);
items.push_front(Gtk::Menu_Helpers::MenuElem("Show Plugin GUI",
sigc::mem_fun(this, &DSSIController::show_gui)));
@@ -77,7 +77,7 @@ DSSIController::update_program_menu()
{
cerr << "FIXME: Program menu\n";
#if 0
- m_program_menu.items().clear();
+ _program_menu.items().clear();
const map<int, map<int, string> >& banks = node_model()->get_programs();
std::ostringstream oss;
@@ -88,7 +88,7 @@ DSSIController::update_program_menu()
if (banks.size() > 1)
bank_menu = manage(new Gtk::Menu());
else
- bank_menu = &m_program_menu;
+ bank_menu = &_program_menu;
map<int, string>::const_iterator j;
for (j = i->second.begin(); j != i->second.end(); ++j) {
oss.str("");
@@ -103,18 +103,18 @@ DSSIController::update_program_menu()
if (banks.size() > 1) {
oss.str("");
oss << "Bank " << i->first;
- m_program_menu.items().push_back(
+ _program_menu.items().push_back(
Gtk::Menu_Helpers::MenuElem(oss.str(), *bank_menu));
}
}
// Disable the program menu if there are no programs
if (banks.size() == 0)
- m_program_menu_item->set_sensitive(false);
+ _program_menu_item->set_sensitive(false);
else
- m_program_menu_item->set_sensitive(true);
+ _program_menu_item->set_sensitive(true);
- m_banks_dirty = false;
+ _banks_dirty = false;
#endif
}
@@ -265,7 +265,7 @@ void
DSSIController::show_menu(GdkEventButton* event)
{
#if 0
- if (m_banks_dirty)
+ if (_banks_dirty)
update_program_menu();
NodeController::show_menu(event);
#endif