Mercurial > audlegacy-plugins
annotate src/skins/ui_playlist.h @ 3201:abe1b3195d6b
adapted header directory to audlegacy.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 18 Aug 2009 17:30:24 +0900 |
parents | 1ffcad5f406c |
children |
rev | line source |
---|---|
2620 | 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 3 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, see <http://www.gnu.org/licenses>. | |
18 * | |
19 * The Audacious team does not consider modular code linking to | |
20 * Audacious or using our public API to be a derived work. | |
21 */ | |
22 | |
23 #ifndef AUDACIOUS_UI_PLAYLIST_H | |
24 #define AUDACIOUS_UI_PLAYLIST_H | |
25 | |
26 #include <glib.h> | |
27 | |
28 #include "ui_main.h" | |
2971
3134a0987162
- changed include path from audacious to audlegacy.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
2620
diff
changeset
|
29 #include <audlegacy/plugin.h> |
2620 | 30 #include "skins_cfg.h" |
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 config.playlist_width | |
43 #define PLAYLISTWIN_HEIGHT \ | |
44 (config.playlist_shaded ? PLAYLISTWIN_SHADED_HEIGHT : config.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 | |
51 #define PLAYLISTWIN_DEFAULT_FONT "Sans Bold 8" | |
52 | |
53 gboolean playlistwin_is_shaded(void); | |
54 gint playlistwin_get_width(void); | |
55 gint playlistwin_get_height(void); | |
56 void playlistwin_update_list(Playlist *playlist); | |
57 gboolean playlistwin_item_visible(gint index); | |
58 gint playlistwin_get_toprow(void); | |
59 void playlistwin_set_toprow(gint top); | |
60 void playlistwin_set_shade_menu_cb(gboolean shaded); | |
61 void playlistwin_set_shade(gboolean shaded); | |
62 void playlistwin_shade_toggle(void); | |
63 void playlistwin_create(void); | |
64 void playlistwin_hide_timer(void); | |
65 void playlistwin_set_time(gint time, gint length, TimerMode mode); | |
3159
1ffcad5f406c
import new skins plugin
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
2971
diff
changeset
|
66 void playlistwin_show (char show); |
2620 | 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 void playlistwin_set_sinfo_font(gchar *font); | |
72 void playlistwin_set_sinfo_scroll(gboolean scroll); | |
73 gint playlistwin_list_get_visible_count(void); | |
74 gint playlistwin_list_get_first(void); | |
75 | |
76 extern GtkWidget *playlistwin; | |
77 | |
78 extern gboolean playlistwin_focus; | |
79 | |
80 #endif /* AUDACIOUS_UI_PLAYLIST_H */ |