Re: QJackCtl and JACK MIDI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-01-02 at 19:44 +0100, Lars Luthman wrote:
> Try the attached patch ('patch -p0 < colourfix.diff' in the source directory for
> azr3-jack 1.0.1).

Fix for the fix, use this patch instead.


--ll
Index: azr3/azr3gui.cpp
===================================================================
RCS file: /sources/ll-plugins/azr3-lv2/azr3/azr3gui.cpp,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 azr3gui.cpp
--- azr3/azr3gui.cpp	26 Dec 2007 00:19:38 -0000	1.3.2.1
+++ azr3/azr3gui.cpp	2 Jan 2008 18:35:07 -0000
@@ -481,6 +481,7 @@
       connect(bind(mem_fun(*this, &AZR3GUI::program_changed), iter->first));
     m_program_menu->items().push_back(*item);
     item->show();
+    item->get_child()->modify_bg(STATE_NORMAL, m_menu_bg);
     item->get_child()->modify_fg(STATE_NORMAL, m_menu_fg);
   }
 }
@@ -488,8 +489,7 @@
 
 Menu* AZR3GUI::create_menu() {
   
-  Color bg;
-  bg.set_rgb(16000, 16000, 16000);
+  m_menu_bg.set_rgb(16000, 16000, 16000);
   m_menu_fg.set_rgb(65535, 65535, 50000);
   Menu* menu = manage(new Menu);
   
@@ -499,20 +499,22 @@
   MenuItem* program_item = manage(new MenuItem("Select program"));
   program_item->set_submenu(*m_program_menu);
   program_item->show();
+  program_item->get_child()->modify_bg(STATE_NORMAL, m_menu_bg);
   program_item->get_child()->modify_fg(STATE_NORMAL, m_menu_fg);
   
   MenuItem* save_item = manage(new MenuItem("Save program"));
   save_item->signal_activate().
     connect(mem_fun(*this, &AZR3GUI::save_program));
   save_item->show();
+  save_item->get_child()->modify_bg(STATE_NORMAL, m_menu_bg);
   save_item->get_child()->modify_fg(STATE_NORMAL, m_menu_fg);
   
   menu->items().push_back(*program_item);
   menu->items().push_back(*save_item);
   
-  menu->modify_bg(STATE_NORMAL, bg);
+  menu->modify_bg(STATE_NORMAL, m_menu_bg);
   menu->modify_fg(STATE_NORMAL, m_menu_fg);
-  m_program_menu->modify_bg(STATE_NORMAL, bg);
+  m_program_menu->modify_bg(STATE_NORMAL, m_menu_bg);
   m_program_menu->modify_fg(STATE_NORMAL, m_menu_fg);
   
   return menu;
Index: azr3/azr3gui.hpp
===================================================================
RCS file: /sources/ll-plugins/azr3-lv2/azr3/azr3gui.hpp,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 azr3gui.hpp
--- azr3/azr3gui.hpp	26 Dec 2007 00:19:38 -0000	1.3.2.1
+++ azr3/azr3gui.hpp	2 Jan 2008 18:35:07 -0000
@@ -93,7 +93,8 @@
   Switch* m_splitswitch;
   Gtk::Adjustment* m_splitpoint_adj;
   Gtk::Menu* m_program_menu;
+  Gdk::Color m_menu_bg;
   Gdk::Color m_menu_fg;
   Gtk::Fixed m_fbox;
   Gtk::Fixed m_vbox;

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux