Mercurial > audlegacy
annotate src/audacious/widgets/playlist_list.h @ 3123:f1c756f39e6c trunk audacious-1.4.0-DR1
Invoke "Plugins are not derived work" clause provided by GPL3.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Fri, 20 Jul 2007 09:09:58 -0500 |
parents | 3b6d316f8b09 |
children |
rev | line source |
---|---|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
1 /* Audacious |
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
2 * Copyright (C) 2005-2007 Audacious development team. |
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
3 * |
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
4 * BMP - Cross-platform multimedia player |
2313 | 5 * Copyright (C) 2003-2004 BMP development team. |
6 * | |
7 * Based on XMMS: | |
8 * Copyright (C) 1998-2003 XMMS development team. | |
9 * | |
10 * This program is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
12 * the Free Software Foundation; under version 3 of the License. |
2313 | 13 * |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3056
diff
changeset
|
20 * along with this program. If not, see <http://www.gnu.org/licenses>. |
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
21 * |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
22 * The Audacious team does not consider modular code linking to |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
23 * Audacious or using our public API to be a derived work. |
2313 | 24 */ |
25 | |
26 #ifndef _WIDGETCORE_H_ | |
27 #error Please do not include me directly! Use widgetcore.h instead! | |
28 #endif | |
29 | |
30 #ifndef PLAYLIST_LIST_H | |
31 #define PLAYLIST_LIST_H | |
32 | |
33 #include <glib.h> | |
34 #include <gtk/gtk.h> | |
35 #include <gdk/gdk.h> | |
36 | |
37 #include "widget.h" | |
38 | |
39 #define PLAYLIST_LIST(x) ((PlayList_List *)(x)) | |
40 struct _PlayList_List { | |
41 Widget pl_widget; | |
42 gint pl_first, pl_fheight, pl_prev_selected, pl_prev_min, pl_prev_max; | |
43 gint pl_num_visible, pl_drag_pos; | |
44 gboolean pl_dragging, pl_auto_drag_down, pl_auto_drag_up; | |
45 gint pl_auto_drag_up_tag, pl_auto_drag_down_tag; | |
46 gboolean pl_drag_motion; | |
47 gint drag_motion_x, drag_motion_y; | |
48 gboolean pl_tooltips; | |
49 }; | |
50 | |
51 typedef struct _PlayList_List PlayList_List; | |
52 | |
53 PlayList_List *create_playlist_list(GList ** wlist, GdkPixmap * parent, | |
54 GdkGC * gc, gint x, gint y, gint w, | |
55 gint h); | |
56 void playlist_list_move_up(PlayList_List * pl); | |
57 void playlist_list_move_down(PlayList_List * pl); | |
58 int playlist_list_get_playlist_position(PlayList_List * pl, gint x, gint y); | |
59 void playlist_list_set_font(const gchar * font); | |
60 GdkPixmap *rootpix; | |
61 GdkPixmap *shade_pixmap(GdkDrawable *in, gint x, gint y, gint x_offset, gint y_offset, gint w, gint h, GdkColor *shade_color); | |
62 GdkDrawable *get_transparency_pixmap(void); | |
63 | |
64 #endif |