Searched refs:CONFIG_COLOR_BG (Results 1 – 5 of 5) sorted by relevance
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/ |
H A D | config.c | 59 GdkColor CONFIG_COLOR_BG; variable 109 …snprintf (color, sizeof (color), "%d %d %d", CONFIG_COLOR_BG.red, CONFIG_COLOR_BG.green, CONFIG_CO… in save_config() 148 …sscanf (color, "%hd %hd %hd", &CONFIG_COLOR_BG.red, &CONFIG_COLOR_BG.green, &CONFIG_COLOR_BG.blue); in load_config() 167 CONFIG_COLOR_BG32 = ((uint32_t)(CONFIG_COLOR_BG.red * scale) & 0xFF) << 16 | in load_config() 168 ((uint32_t)(CONFIG_COLOR_BG.green * scale) & 0xFF) << 8 | in load_config() 169 ((uint32_t)(CONFIG_COLOR_BG.blue * scale) & 0xFF) << 0; in load_config()
|
H A D | config.h | 79 extern GdkColor CONFIG_COLOR_BG;
|
H A D | spectrum.c | 436 …cairo_set_source_rgb (cr, CONFIG_COLOR_BG.red/65535.f, CONFIG_COLOR_BG.green/65535.f, CONFIG_COLOR… in spectrum_draw_cairo()
|
H A D | config_dialog.c | 678 gtk_color_button_set_color (GTK_COLOR_BUTTON (color_bg), &CONFIG_COLOR_BG); in on_button_config() 687 gtk_color_button_get_color (GTK_COLOR_BUTTON (color_bg), &CONFIG_COLOR_BG); in on_button_config()
|
/dports/audio/deadbeef-vu-meter-plugin/ddb_vu_meter-940d8d7/ |
H A D | vumeter.c | 104 static GdkColor CONFIG_COLOR_BG; variable 126 …snprintf (color, sizeof (color), "%d %d %d", CONFIG_COLOR_BG.red, CONFIG_COLOR_BG.green, CONFIG_CO… in save_config() 162 …sscanf (color, "%hd %hd %hd", &CONFIG_COLOR_BG.red, &CONFIG_COLOR_BG.green, &CONFIG_COLOR_BG.blue); in load_config() 181 CONFIG_COLOR_BG32 = ((uint32_t)(CONFIG_COLOR_BG.red * scale) & 0xFF) << 16 | in load_config() 182 ((uint32_t)(CONFIG_COLOR_BG.green * scale) & 0xFF) << 8 | in load_config() 183 ((uint32_t)(CONFIG_COLOR_BG.blue * scale) & 0xFF) << 0; in load_config() 654 gtk_color_button_set_color (GTK_COLOR_BUTTON (color_bg), &CONFIG_COLOR_BG); in on_button_config() 668 gtk_color_button_get_color (GTK_COLOR_BUTTON (color_bg), &CONFIG_COLOR_BG); in on_button_config()
|