Mercurial > audlegacy
annotate audacious/playstatus.h @ 1433:3cbe3d14ea68 trunk
[svn] - path to file would probably be essential, huh.
author | nenolod |
---|---|
date | Thu, 27 Jul 2006 22:14:12 -0700 |
parents | 3b990c26fc46 |
children | f12d7e208b43 |
rev | line source |
---|---|
0 | 1 /* XMMS - Cross-platform multimedia player |
2 * Copyright (C) 1998-2000 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
17 */ | |
18 #ifndef PLAYSTATUS_H | |
19 #define PLAYSTATUS_H | |
20 | |
21 #include "widget.h" | |
22 | |
23 typedef enum { | |
24 STATUS_STOP, STATUS_PAUSE, STATUS_PLAY | |
25 } PStatus; | |
26 | |
27 #define PLAY_STATUS(x) ((PlayStatus *)(x)) | |
28 struct _PlayStatus { | |
29 Widget ps_widget; | |
30 PStatus ps_status; | |
1273
3b990c26fc46
[svn] - Support for the buffer indicator in playpaus.png that was apparently
nhjm449
parents:
0
diff
changeset
|
31 gboolean ps_status_buffering; |
0 | 32 }; |
33 | |
34 typedef struct _PlayStatus PlayStatus; | |
35 | |
36 void playstatus_set_status(PlayStatus * ps, PStatus status); | |
1273
3b990c26fc46
[svn] - Support for the buffer indicator in playpaus.png that was apparently
nhjm449
parents:
0
diff
changeset
|
37 void playstatus_set_status_buffering(PlayStatus * ps, gboolean status); |
0 | 38 PlayStatus *create_playstatus(GList ** wlist, GdkPixmap * parent, |
39 GdkGC * gc, gint x, gint y); | |
40 | |
41 #endif |