2
| Copyright (C) 2007 P.G. Richardson <phantom_sf at users.sourceforge.net>
3
| Part of the gtkpod project.
5
| URL: http://www.gtkpod.org/
6
| URL: http://gtkpod.sourceforge.net/
8
| Gtkpod is free software; you can redistribute it and/or modify
9
| it under the terms of the GNU General Public License as published by
10
| the Free Software Foundation; either version 2 of the License, or
11
| (at your option) any later version.
13
| Gtkpod is distributed in the hope that it will be useful,
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
| GNU General Public License for more details.
18
| You should have received a copy of the GNU General Public License
19
| along with gtkpod; if not, write to the Free Software
20
| Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
| iTunes and iPod are trademarks of Apple
24
| This product is not supported/written/published by Apple!
26
| $Id: display_coverart.h 1600 2007-06-27 18:45:37Z tmzullinger $
29
#ifndef __DISPLAY_COVERART_H__
30
#define __DISPLAY_COVERART_H__
33
#include <libgnomecanvas/libgnomecanvas.h>
41
#define COVERART_REMOVE_SIGNAL 1
42
#define COVERART_CREATE_SIGNAL 2
43
#define COVERART_CHANGE_SIGNAL 3
58
GnomeCanvasItem *cdcvrgrp;
59
GnomeCanvasItem *cdimage;
60
GnomeCanvasItem *cdreflection;
61
GnomeCanvasItem *highlight;
65
GtkWidget *contentpanel;
67
GtkWidget *controlbox;
69
GnomeCanvasItem *bground;
70
GnomeCanvasText *cvrtext;
71
GtkButton *leftbutton;
73
GtkButton *rightbutton;
76
gboolean block_display_change;
79
extern const gchar *DISPLAY_COVER_SHOW;
81
void coverart_display_big_artwork ();
82
GList *coverart_get_displayed_tracks (void);
83
GdkPixbuf *coverart_get_default_track_thumb (void);
84
void coverart_init (gchar *progpath);
85
void force_update_covers ();
86
void coverart_select_cover (Itdb_Track *track);
87
void coverart_set_images (gboolean clear_track_list);
88
void coverart_track_changed (Track *track, gint signal);
89
void coverart_clear_images ();
90
void coverart_block_change (gboolean val);
91
void coverart_init_display ();
92
GdkPixbuf *coverart_get_track_thumb (Track *track, Itdb_Device *device);
93
void coverart_set_cover_from_file ();
94
void coverart_set_cover_from_web ();