Mercurial > audlegacy
comparison src/audacious/ui_playlist.h @ 2313:3149d4b1a9a9 trunk
[svn] - objective-make autodepend fixes
- move all sourcecode into src/ and adjust Makefiles accordingly
author | nenolod |
---|---|
date | Fri, 12 Jan 2007 11:43:40 -0800 |
parents | |
children | d88558b0de0a |
comparison
equal
deleted
inserted
replaced
2312:e1a5a66fb9cc | 2313:3149d4b1a9a9 |
---|---|
1 /* BMP - Cross-platform multimedia player | |
2 * Copyright (C) 2003-2004 BMP development team. | |
3 * | |
4 * Based on XMMS: | |
5 * Copyright (C) 1998-2003 XMMS development team. | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
8 * it under the terms of the GNU General Public License as published by | |
9 * the Free Software Foundation; under version 2 of the License. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
19 */ | |
20 | |
21 #ifndef PLAYLISTWIN_H | |
22 #define PLAYLISTWIN_H | |
23 | |
24 #include <glib.h> | |
25 | |
26 #include "ui_main.h" | |
27 #include "widgets/widgetcore.h" | |
28 #include "playlist.h" | |
29 | |
30 #define PLAYLISTWIN_FRAME_TOP_HEIGHT 20 | |
31 #define PLAYLISTWIN_FRAME_BOTTOM_HEIGHT 38 | |
32 #define PLAYLISTWIN_FRAME_LEFT_WIDTH 12 | |
33 #define PLAYLISTWIN_FRAME_RIGHT_WIDTH 19 | |
34 | |
35 #define PLAYLISTWIN_MIN_WIDTH MAINWIN_WIDTH | |
36 #define PLAYLISTWIN_MIN_HEIGHT MAINWIN_HEIGHT | |
37 #define PLAYLISTWIN_WIDTH_SNAP 25 | |
38 #define PLAYLISTWIN_HEIGHT_SNAP 29 | |
39 #define PLAYLISTWIN_SHADED_HEIGHT MAINWIN_SHADED_HEIGHT | |
40 #define PLAYLISTWIN_WIDTH cfg.playlist_width | |
41 #define PLAYLISTWIN_HEIGHT \ | |
42 (cfg.playlist_shaded ? PLAYLISTWIN_SHADED_HEIGHT : cfg.playlist_height) | |
43 | |
44 #define PLAYLISTWIN_DEFAULT_WIDTH 275 | |
45 #define PLAYLISTWIN_DEFAULT_HEIGHT 232 | |
46 #define PLAYLISTWIN_DEFAULT_POS_X 295 | |
47 #define PLAYLISTWIN_DEFAULT_POS_Y 20 | |
48 | |
49 #define PLAYLISTWIN_DEFAULT_FONT "Sans Bold 8" | |
50 | |
51 gboolean playlistwin_is_shaded(void); | |
52 void playlistwin_update_list(Playlist *playlist); | |
53 gboolean playlistwin_item_visible(gint index); | |
54 gint playlistwin_get_toprow(void); | |
55 void playlistwin_set_toprow(gint top); | |
56 void playlistwin_set_shade_menu_cb(gboolean shaded); | |
57 void playlistwin_set_shade(gboolean shaded); | |
58 void playlistwin_shade_toggle(void); | |
59 void playlistwin_create(void); | |
60 void draw_playlist_window(gboolean force); | |
61 void playlistwin_hide_timer(void); | |
62 void playlistwin_set_time(gint time, gint length, TimerMode mode); | |
63 void playlistwin_show(void); | |
64 void playlistwin_hide(void); | |
65 void playlistwin_set_back_pixmap(void); | |
66 void playlistwin_scroll(gint num); | |
67 void playlistwin_scroll_up_pushed(void); | |
68 void playlistwin_scroll_down_pushed(void); | |
69 void playlistwin_select_playlist_to_load(const gchar * default_filename); | |
70 void playlistwin_set_sinfo_font(gchar *font); | |
71 void playlistwin_set_sinfo_scroll(gboolean scroll); | |
72 | |
73 extern GtkWidget *playlistwin; | |
74 extern PlayList_List *playlistwin_list; | |
75 | |
76 extern PButton *playlistwin_shade, *playlistwin_close; | |
77 | |
78 extern gboolean playlistwin_focus; | |
79 | |
80 #endif |