comparison src/audacious/ui_equalizer.h @ 4216:75d99359357b

doublesize -> custom scale: * initial work, just got it to compile * doublesize is broken at all
author Cristi Magherusan <majeru@atheme.org>
date Sun, 27 Jan 2008 19:43:53 +0200
parents a318d4b479d2
children 2eee464379dc
comparison
equal deleted inserted replaced
4215:6028b7fff0bd 4216:75d99359357b
27 #define EQUALIZER_H 27 #define EQUALIZER_H
28 28
29 #include <glib.h> 29 #include <glib.h>
30 #include <gtk/gtk.h> 30 #include <gtk/gtk.h>
31 31
32 #define EQUALIZER_DOUBLESIZE (cfg.doublesize && cfg.eq_doublesize_linked) 32 #define EQUALIZER_SCALED (cfg.scaled && cfg.eq_scaled_linked)
33 #define EQUALIZER_HEIGHT ((cfg.equalizer_shaded ? 14 : 116) * (EQUALIZER_DOUBLESIZE + 1)) 33 #define EQUALIZER_SCALE_FACTOR (EQUALIZER_SCALED ? cfg.scale_factor : 1)
34 #define EQUALIZER_WIDTH (275 * (EQUALIZER_DOUBLESIZE + 1)) 34
35 #define EQUALIZER_HEIGHT ((cfg.equalizer_shaded ? 14 : 116) * (EQUALIZER_SCALE_FACTOR))
36 #define EQUALIZER_WIDTH (275 * EQUALIZER_SCALE_FACTOR)
35 37
36 #define EQUALIZER_DEFAULT_POS_X 20 38 #define EQUALIZER_DEFAULT_POS_X 20
37 #define EQUALIZER_DEFAULT_POS_Y 136 39 #define EQUALIZER_DEFAULT_POS_Y 136
38 40
39 #define EQUALIZER_DEFAULT_DIR_PRESET "dir_default.preset" 41 #define EQUALIZER_DEFAULT_DIR_PRESET "dir_default.preset"
40 #define EQUALIZER_DEFAULT_PRESET_EXT "preset" 42 #define EQUALIZER_DEFAULT_PRESET_EXT "preset"
41 43
42 void equalizerwin_set_doublesize(gboolean ds); 44 void equalizerwin_set_scaled(gboolean ds);
43 void equalizerwin_set_shade_menu_cb(gboolean shaded); 45 void equalizerwin_set_shade_menu_cb(gboolean shaded);
44 void draw_equalizer_window(gboolean force); 46 void draw_equalizer_window(gboolean force);
45 void equalizerwin_create(void); 47 void equalizerwin_create(void);
46 void equalizerwin_show(gboolean show); 48 void equalizerwin_show(gboolean show);
47 void equalizerwin_real_show(void); 49 void equalizerwin_real_show(void);