Mercurial > audlegacy
comparison src/audacious/ui_vis.c @ 4413:de33c83aa06f
Huge renaming patch, changing BMP references to Audacious.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Mon, 31 Mar 2008 06:47:48 +0300 |
| parents | c399e0fa9791 |
| children | 246244ead30e |
comparison
equal
deleted
inserted
replaced
| 4412:180996fcf12a | 4413:de33c83aa06f |
|---|---|
| 268 return FALSE; | 268 return FALSE; |
| 269 | 269 |
| 270 if (!vis->visible_window) | 270 if (!vis->visible_window) |
| 271 return FALSE; | 271 return FALSE; |
| 272 | 272 |
| 273 skin_get_viscolor(bmp_active_skin, vis_color); | 273 skin_get_viscolor(aud_active_skin, vis_color); |
| 274 for (y = 0; y < 24; y++) { | 274 for (y = 0; y < 24; y++) { |
| 275 colors[y] = | 275 colors[y] = |
| 276 vis_color[y][0] << 16 | vis_color[y][1] << 8 | vis_color[y][2]; | 276 vis_color[y][0] << 16 | vis_color[y][1] << 8 | vis_color[y][2]; |
| 277 } | 277 } |
| 278 cmap = gdk_rgb_cmap_new(colors, 24); | 278 cmap = gdk_rgb_cmap_new(colors, 24); |
| 395 voiceprint_data[y * 76] = vis->data[y]; | 395 voiceprint_data[y * 76] = vis->data[y]; |
| 396 } | 396 } |
| 397 if(playback_get_playing()){ /*Only draw the data if we're playing*/ | 397 if(playback_get_playing()){ /*Only draw the data if we're playing*/ |
| 398 if(cfg.voiceprint_mode == VOICEPRINT_NORMAL){ | 398 if(cfg.voiceprint_mode == VOICEPRINT_NORMAL){ |
| 399 /* Create color gradient from the skin's background- and foreground color*/ | 399 /* Create color gradient from the skin's background- and foreground color*/ |
| 400 fgc = skin_get_color(bmp_active_skin, SKIN_TEXTFG); | 400 fgc = skin_get_color(aud_active_skin, SKIN_TEXTFG); |
| 401 bgc = skin_get_color(bmp_active_skin, SKIN_TEXTBG); | 401 bgc = skin_get_color(aud_active_skin, SKIN_TEXTBG); |
| 402 skin_col[0][0] = fgc->red >> 8; | 402 skin_col[0][0] = fgc->red >> 8; |
| 403 skin_col[0][1] = fgc->green >> 8; | 403 skin_col[0][1] = fgc->green >> 8; |
| 404 skin_col[0][2] = fgc->blue >> 8; | 404 skin_col[0][2] = fgc->blue >> 8; |
| 405 skin_col[1][0] = bgc->red >> 8; | 405 skin_col[1][0] = bgc->red >> 8; |
| 406 skin_col[1][1] = bgc->green >> 8; | 406 skin_col[1][1] = bgc->green >> 8; |
