Re: QJackCtl and JACK MIDI

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

 



On Wed, 2008-01-02 at 13:09 -0500, Dave Phillips wrote:
> Lars Luthman wrote:
> > Do you have a file called /usr/local/share/azr3-jack/presets
> > (or /usr/share/azr3-jack/presets, or whatever prefix you installed it
> > to) ?
> >   
> Well, I would have if I had run 'make install'. :-/

Yeah, that would explain it. If you really wanted to use the presets
without installing you could copy azr3/presets from the source tree to
~/.azr3_jack_presets.


> Sorry, Lars. The presets are all there, but I still have a complaint: 
> The coloring in the presets menu is something like yellow lettering on a 
> white background. Unfortunately they're too close in shade, to the point 
> where I can hardly discern the preset names (actually I can't read them 
> at all unless they're highlighted). Where in the code can I change that 
> coloring ?

The background colour in the menu is supposed to be a dark gray, to
match the rest of the GUI. It works on my desktop computer but
apparently not on my laptop although they have the same versions of
gtkmm and friends installed, so there's something wrong there. Try the
attached patch ('patch -p0 < colourfix.diff' in the source directory for
azr3-jack 1.0.1).


> Btw, thanks for the port. :)  Any plans for more ?

No, I have too many projects already.


--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_fg(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_fg(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