Mercurial > audlegacy-plugins
view src/skins/ui_playlist.h @ 3188:68bb898b8ae0
alsa-ng: Some fixes
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 19 Jun 2009 09:10:13 -0500 |
parents | 1ffcad5f406c |
children |
line wrap: on
line source
/* BMP - Cross-platform multimedia player * Copyright (C) 2003-2004 BMP development team. * * Based on XMMS: * Copyright (C) 1998-2003 XMMS development team. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; under version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses>. * * The Audacious team does not consider modular code linking to * Audacious or using our public API to be a derived work. */ #ifndef AUDACIOUS_UI_PLAYLIST_H #define AUDACIOUS_UI_PLAYLIST_H #include <glib.h> #include "ui_main.h" #include <audlegacy/plugin.h> #include "skins_cfg.h" #define PLAYLISTWIN_FRAME_TOP_HEIGHT 20 #define PLAYLISTWIN_FRAME_BOTTOM_HEIGHT 38 #define PLAYLISTWIN_FRAME_LEFT_WIDTH 12 #define PLAYLISTWIN_FRAME_RIGHT_WIDTH 19 #define PLAYLISTWIN_MIN_WIDTH MAINWIN_WIDTH #define PLAYLISTWIN_MIN_HEIGHT MAINWIN_HEIGHT #define PLAYLISTWIN_WIDTH_SNAP 25 #define PLAYLISTWIN_HEIGHT_SNAP 29 #define PLAYLISTWIN_SHADED_HEIGHT MAINWIN_SHADED_HEIGHT #define PLAYLISTWIN_WIDTH config.playlist_width #define PLAYLISTWIN_HEIGHT \ (config.playlist_shaded ? PLAYLISTWIN_SHADED_HEIGHT : config.playlist_height) #define PLAYLISTWIN_DEFAULT_WIDTH 275 #define PLAYLISTWIN_DEFAULT_HEIGHT 232 #define PLAYLISTWIN_DEFAULT_POS_X 295 #define PLAYLISTWIN_DEFAULT_POS_Y 20 #define PLAYLISTWIN_DEFAULT_FONT "Sans Bold 8" gboolean playlistwin_is_shaded(void); gint playlistwin_get_width(void); gint playlistwin_get_height(void); void playlistwin_update_list(Playlist *playlist); gboolean playlistwin_item_visible(gint index); gint playlistwin_get_toprow(void); void playlistwin_set_toprow(gint top); void playlistwin_set_shade_menu_cb(gboolean shaded); void playlistwin_set_shade(gboolean shaded); void playlistwin_shade_toggle(void); void playlistwin_create(void); void playlistwin_hide_timer(void); void playlistwin_set_time(gint time, gint length, TimerMode mode); void playlistwin_show (char show); void playlistwin_scroll(gint num); void playlistwin_scroll_up_pushed(void); void playlistwin_scroll_down_pushed(void); void playlistwin_select_playlist_to_load(const gchar * default_filename); void playlistwin_set_sinfo_font(gchar *font); void playlistwin_set_sinfo_scroll(gboolean scroll); gint playlistwin_list_get_visible_count(void); gint playlistwin_list_get_first(void); extern GtkWidget *playlistwin; extern gboolean playlistwin_focus; #endif /* AUDACIOUS_UI_PLAYLIST_H */