Mercurial > audlegacy-plugins
view src/skins/skins_cfg.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
/* * Audacious - a cross-platform multimedia player * Copyright (c) 2008 Tomasz Moń * * 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 SKINS_CFG_H #define SKINS_CFG_H #include <glib.h> #include <gtk/gtk.h> #define MAINWIN_DEFAULT_POS_X 20 #define MAINWIN_DEFAULT_POS_Y 20 #define EQUALIZER_DEFAULT_POS_X 20 #define EQUALIZER_DEFAULT_POS_Y 136 #define PLAYLISTWIN_DEFAULT_WIDTH 275 #define PLAYLISTWIN_DEFAULT_HEIGHT 232 #define PLAYLISTWIN_DEFAULT_POS_X 295 #define PLAYLISTWIN_DEFAULT_POS_Y 20 typedef struct { gint player_x, player_y; gint equalizer_x, equalizer_y; gint playlist_x, playlist_y; gint playlist_width, playlist_height; gint snap_distance; gboolean snap_windows, save_window_position; gboolean scaled, autoscroll; gboolean always_on_top, sticky; gfloat scale_factor; gboolean always_show_cb; gboolean close_dialog_open; gboolean close_dialog_add; gchar *skin; gchar *filesel_path; gboolean player_visible, equalizer_visible, playlist_visible; gboolean player_shaded, equalizer_shaded, playlist_shaded; gboolean dim_titlebar; gboolean show_wm_decorations; gboolean easy_move; gboolean allow_broken_skins; gboolean disable_inline_gtk; gboolean analyzer_peaks; gboolean twoway_scroll; gint timer_mode; gint vis_type; gint analyzer_mode, analyzer_type; gint scope_mode; gint voiceprint_mode; gint vu_mode, vis_refresh; gint analyzer_falloff, peaks_falloff; gint playlist_position; gint mouse_change; gint colorize_r; gint colorize_g; gint colorize_b; gint scroll_pl_by; gboolean warn_about_win_visibility; gboolean warn_about_broken_gtk_engines; gboolean mainwin_use_bitmapfont; gboolean eq_scaled_linked; gboolean show_numbers_in_pl, show_separator_in_pl; gchar *playlist_font, *mainwin_font; gboolean random_skin_on_play; } skins_cfg_t; extern skins_cfg_t config; skins_cfg_t * skins_cfg_new(void); void skins_cfg_free(); void skins_cfg_load(); void skins_cfg_save(); GtkWidget* skins_configure(void); void on_skin_view_drag_data_received(GtkWidget * widget, GdkDragContext * context, gint x, gint y, GtkSelectionData * selection_data, guint info, guint time, gpointer user_data); #endif