Mercurial > audlegacy
annotate audacious/ui_playlist.h @ 1067:dc9373f0186b trunk
[svn] - Don't force cfg.close_dialog_{open,add} to TRUE when opening the filechooser...
author | nhjm449 |
---|---|
date | Tue, 16 May 2006 19:56:58 -0700 |
parents | 2b9dc862967b |
children | 13d5b542f4fd |
rev | line source |
---|---|
0 | 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; either version 2 of the License, or | |
10 * (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, | |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 * GNU General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU General Public License | |
18 * along with this program; if not, write to the Free Software | |
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
20 */ | |
21 | |
22 #ifndef PLAYLISTWIN_H | |
23 #define PLAYLISTWIN_H | |
24 | |
25 #include <glib.h> | |
26 | |
27 #include "mainwin.h" | |
28 #include "pbutton.h" | |
29 #include "playlist_list.h" | |
30 | |
31 | |
32 #define PLAYLISTWIN_FRAME_TOP_HEIGHT 20 | |
33 #define PLAYLISTWIN_FRAME_BOTTOM_HEIGHT 38 | |
34 #define PLAYLISTWIN_FRAME_LEFT_WIDTH 12 | |
35 #define PLAYLISTWIN_FRAME_RIGHT_WIDTH 19 | |
36 | |
37 #define PLAYLISTWIN_MIN_WIDTH MAINWIN_WIDTH | |
38 #define PLAYLISTWIN_MIN_HEIGHT MAINWIN_HEIGHT | |
39 #define PLAYLISTWIN_WIDTH_SNAP 25 | |
40 #define PLAYLISTWIN_HEIGHT_SNAP 29 | |
41 #define PLAYLISTWIN_SHADED_HEIGHT MAINWIN_SHADED_HEIGHT | |
42 #define PLAYLISTWIN_WIDTH cfg.playlist_width | |
43 #define PLAYLISTWIN_HEIGHT \ | |
44 (cfg.playlist_shaded ? PLAYLISTWIN_SHADED_HEIGHT : cfg.playlist_height) | |
45 | |
46 #define PLAYLISTWIN_DEFAULT_WIDTH 275 | |
47 #define PLAYLISTWIN_DEFAULT_HEIGHT 232 | |
48 #define PLAYLISTWIN_DEFAULT_POS_X 295 | |
49 #define PLAYLISTWIN_DEFAULT_POS_Y 20 | |
50 | |
205
94ca5a831695
[svn] Force pango to use a sane fontsize for the playlist window.
nenolod
parents:
0
diff
changeset
|
51 #define PLAYLISTWIN_DEFAULT_FONT "Sans Bold 8" |
0 | 52 |
53 void playlistwin_update_list(void); | |
54 gboolean playlistwin_item_visible(gint index); | |
55 gint playlistwin_get_toprow(void); | |
56 void playlistwin_set_toprow(gint top); | |
57 void playlistwin_set_shade_menu_cb(gboolean shaded); | |
58 void playlistwin_set_shade(gboolean shaded); | |
59 void playlistwin_shade_toggle(void); | |
60 void playlistwin_create(void); | |
61 void draw_playlist_window(gboolean force); | |
62 void playlistwin_hide_timer(void); | |
63 void playlistwin_set_time(gint time, gint length, TimerMode mode); | |
64 void playlistwin_show(void); | |
65 void playlistwin_hide(void); | |
66 void playlistwin_set_back_pixmap(void); | |
67 void playlistwin_scroll(gint num); | |
68 void playlistwin_scroll_up_pushed(void); | |
69 void playlistwin_scroll_down_pushed(void); | |
70 void playlistwin_select_playlist_to_load(const gchar * default_filename); | |
71 | |
72 extern GtkWidget *playlistwin; | |
73 extern PlayList_List *playlistwin_list; | |
74 | |
75 extern PButton *playlistwin_shade, *playlistwin_close; | |
76 | |
77 extern gboolean playlistwin_focus; | |
78 | |
79 #endif |