summaryrefslogtreecommitdiff
path: root/tests/test7/test7.c
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2012-06-22 22:32:32 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2012-06-22 22:32:32 +0000
commitfcc319c1cd7857816447b68036252c82d7365df3 (patch)
tree7ec7f5cbff12fe21736c2ecc4fd6e627d14ba566 /tests/test7/test7.c
parent5bd64349b051e9b792ae484def50b9fac6b11c3f (diff)
download2012-violon-leds-fcc319c1cd7857816447b68036252c82d7365df3.tar.gz
2012-violon-leds-fcc319c1cd7857816447b68036252c82d7365df3.tar.bz2
2012-violon-leds-fcc319c1cd7857816447b68036252c82d7365df3.zip
Version moins moche de l'IHM. Manque les bordures des GtkVuMeters
git-svn-id: file:///var/svn/2012-violon-leds/trunk@29 6be1fa4d-33ac-4c33-becc-79fcb3794bb6
Diffstat (limited to 'tests/test7/test7.c')
-rw-r--r--tests/test7/test7.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test7/test7.c b/tests/test7/test7.c
index 52eb029..adaf2c8 100644
--- a/tests/test7/test7.c
+++ b/tests/test7/test7.c
@@ -75,10 +75,10 @@ void add_custom_widgets() {
GdkColor b_gradient_blue[2] = {{0,0,0,49151},{0,0,0,24575}};
GdkColor f_gradient_hue[7] = {{0,65535,0,0},{0,65535,0,65535},{0,0,0,65535},{0,0,65535,65535},{0,0,65535,0},{0,65535,65535,0},{0,65535,0,0}};
GdkColor b_gradient_hue[7] = {{0,49151,0,0},{0,49151,0,49151},{0,0,0,49151},{0,0,49151,49151},{0,0,49151,0},{0,49151,49151,0},{0,49151,0,0}};
- GdkColor f_gradient_value[2] = {{0,65535,0,0},{0,32767,0,0}};
- GdkColor b_gradient_value[2] = {{0,49151,0,0},{0,24575,0,0}};
- GdkColor f_gradient_saturation[2] = {{0,32767,32767,32767},{0,32767,0,0}};
- GdkColor b_gradient_saturation[2] = {{0,24575,24575,24575},{0,24575,0,0}};
+ GdkColor f_gradient_value[2] = {{0,65535,0,0},{0,16384,0,0}};
+ GdkColor b_gradient_value[2] = {{0,49151,0,0},{0,0,0,0}};
+ GdkColor f_gradient_saturation[2] = {{0,32767,0,0},{0,32767,32767,32767}};
+ GdkColor b_gradient_saturation[2] = {{0,24575,0,0},{0,24575,24575,24575}};
vumeter_sound = gtk_vu_meter_new(TRUE);
gtk_vu_meter_set_min_max(GTK_VU_METER(vumeter_sound), -50, 0);