Searched refs:CONFIG_NUM_COLORS (Results 1 – 6 of 6) sorted by relevance
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/ |
H A D | config.c | 51 int CONFIG_NUM_COLORS = 6; variable 101 deadbeef->conf_set_int (CONFSTR_MS_NUM_COLORS, CONFIG_NUM_COLORS); in save_config() 104 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in save_config() 144 CONFIG_NUM_COLORS = deadbeef->conf_get_int (CONFSTR_MS_NUM_COLORS, 6); in load_config() 155 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in load_config()
|
H A D | config_dialog.c | 60 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in init_gradient_colors() 65 create_gradient_table (colors_temp, gradient_colors_temp, CONFIG_NUM_COLORS); in init_gradient_colors() 132 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in on_color_changed() 135 create_gradient_table (colors_temp, gradient_colors_temp, CONFIG_NUM_COLORS); in on_color_changed() 409 if (i < CONFIG_NUM_COLORS) { in on_button_config() 676 gtk_spin_button_set_value (GTK_SPIN_BUTTON (num_colors), CONFIG_NUM_COLORS); in on_button_config() 691 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in on_button_config() 704 CONFIG_NUM_COLORS = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (num_colors)); in on_button_config() 714 if (i < CONFIG_NUM_COLORS) { in on_button_config()
|
H A D | config.h | 71 extern int CONFIG_NUM_COLORS;
|
H A D | spectrum.c | 140 create_gradient_table (w->colors, CONFIG_GRADIENT_COLORS, CONFIG_NUM_COLORS); in on_config_changed() 449 if (CONFIG_NUM_COLORS > 1) { in spectrum_draw_cairo() 450 float step = 1.0/(CONFIG_NUM_COLORS - 1); in spectrum_draw_cairo() 452 for (int i = 0; i < CONFIG_NUM_COLORS; i++) { in spectrum_draw_cairo() 810 create_gradient_table (s->colors, CONFIG_GRADIENT_COLORS, CONFIG_NUM_COLORS); in spectrum_init()
|
/dports/audio/deadbeef-spectrogram-plugin/ddb_spectrogram-8d1b371/ |
H A D | spectrogram.c | 85 static int CONFIG_NUM_COLORS = 7; variable 94 deadbeef->conf_set_int (CONFSTR_SP_NUM_COLORS, CONFIG_NUM_COLORS); in save_config() 119 CONFIG_NUM_COLORS = deadbeef->conf_get_int (CONFSTR_SP_NUM_COLORS, 7); in load_config() 219 create_gradient_table (user_data, CONFIG_GRADIENT_COLORS, CONFIG_NUM_COLORS); in on_config_changed() 396 gtk_spin_button_set_value (GTK_SPIN_BUTTON (num_colors), CONFIG_NUM_COLORS); in on_button_config() 406 switch (CONFIG_NUM_COLORS) { in on_button_config() 478 CONFIG_NUM_COLORS = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (num_colors)); in on_button_config() 479 switch (CONFIG_NUM_COLORS) { in on_button_config() 877 create_gradient_table (s, CONFIG_GRADIENT_COLORS, CONFIG_NUM_COLORS); in w_spectrogram_init()
|
/dports/audio/deadbeef-vu-meter-plugin/ddb_vu_meter-940d8d7/ |
H A D | vumeter.c | 103 static int CONFIG_NUM_COLORS = 6; variable 652 gtk_spin_button_set_value (GTK_SPIN_BUTTON (num_colors), CONFIG_NUM_COLORS); in on_button_config() 682 CONFIG_NUM_COLORS = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (num_colors)); in on_button_config() 683 switch (CONFIG_NUM_COLORS) { in on_button_config() 1066 create_gradient_table (s, CONFIG_GRADIENT_COLORS, CONFIG_NUM_COLORS); in w_vumeter_init()
|