Here is a tiny patch to improve japa-0.2.1 colors customizability. I created it to achieve outlook that can be seen here:
http://nedko.arnaudov.name/soft/japa-0.2.1-colors.png I'm also attaching configuration file I use to achieve the outlook. FYI, example conf file is missing from 0.2.x tarballs, despite of what is said in the README.
Only in japa-0.2.1: analyser.d Only in japa-0.2.1: analyser.o Only in japa-0.2.1: audio.d Only in japa-0.2.1: audio.o Only in japa-0.2.1: gobjects.d Only in japa-0.2.1: gobjects.o Only in japa-0.2.1: japa Only in japa-0.2.1: japa.d Only in japa-0.2.1: japa.o Only in japa-0.2.1: mainwin.d Only in japa-0.2.1: mainwin.o Only in japa-0.2.1: rngen.d Only in japa-0.2.1: rngen.o diff -ru japa-0.2.1.orig/styles.cc japa-0.2.1/styles.cc --- japa-0.2.1.orig/styles.cc 2006-02-26 17:00:12.000000000 +0200 +++ japa-0.2.1/styles.cc 2007-10-21 23:10:20.000000000 +0300 @@ -31,8 +31,8 @@ void init_styles (X_display *disp, X_resman *xrm) { - Colors.black = disp->blackpixel (); - Colors.white = disp->whitepixel (); + Colors.black = disp->alloc_color (xrm->get (".color.black", "black"), Colors.black); + Colors.white = disp->alloc_color (xrm->get (".color.white", "white"), Colors.white); Colors.main_bg = disp->alloc_color (xrm->get (".color.main.bg", "#ece8dc"), Colors.white); Colors.main_ds = disp->alloc_color (xrm->get (".color.main.ds", "gray20"), Colors.black); Colors.main_ls = disp->alloc_color (xrm->get (".color.main.ls", "white"), Colors.white); Only in japa-0.2.1: styles.d Only in japa-0.2.1: styles.o
% Example JAPA configuration file. % % This can got to % % /etc/japa.conf % ~/.Xdefaults % ~/<xxx>rc % % See README for more. % Uncomment to use JACK as default. % Japa.jack: true % Uncomment to use ALSA as default. % %Japa.alsa: true %Japa.device: hw:0.0 %Japa.fsamp: 48000 %Japa.period: 1024 %Japa.nfrags: 2 % Uncomment for an alternative color scheme % with dark backgrounds and light traces. % Japa.color.main.bg: gray40 Japa.color.main.fg: white Japa.color.main.ds: gray20 Japa.color.main.ls: gray60 Japa.color.text.fg: gray40 Japa.color.spect.bg: black Japa.color.spect.fg: gray50 Japa.color.spect.gr: gray30 Japa.color.spect.sc: gray80 Japa.color.spect.trA: #FFC000 Japa.color.spect.pkA: #C08000 Japa.color.spect.trB: #00C0FF Japa.color.spect.pkB: #0080C0 Japa.color.spect.trM: darkgreen Japa.color.butt.bg0: gray50 Japa.color.butt.fg0: black Japa.color.butt.bg1: yellow Japa.color.butt.fg1: black Japa.color.butt.bgA: #FFC000 Japa.color.butt.fgA: black Japa.color.butt.bgB: #00C0FF Japa.color.butt.fgB: black Japa.color.butt.bgM: darkgreen Japa.color.butt.fgM: black Japa.color.white: black % Default fonts, uncomment and change as required % Japa.font.about1: terminus:pixelsize=24 Japa.font.about2: terminus:pixelsize=14 Japa.font.button: luxi:pixelsize=12 Japa.font.labels: luxi:pixelsize=11 Japa.font.scales: luxi:pixelsize=9
-- Nedko Arnaudov <GnuPG KeyID: DE1716B0>
pgpDZauZp8SEi.pgp
Description: PGP signature
_______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev