annotate src/skins/skins_cfg.h @ 3161:6dd886b5c72b

revive stdio plugin for now. gio cannot write id3 tags.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 13 Jul 2009 23:53:41 +0900
parents 1ffcad5f406c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
1 /*
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
2 * Audacious - a cross-platform multimedia player
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
3 * Copyright (c) 2008 Tomasz Moń
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
4 *
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
7 * the Free Software Foundation; under version 3 of the License.
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
8 *
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
12 * GNU General Public License for more details.
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
13 *
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
15 * along with this program. If not, see <http://www.gnu.org/licenses>.
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
16 *
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
17 * The Audacious team does not consider modular code linking to
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
18 * Audacious or using our public API to be a derived work.
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
19 */
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
20
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
21 #ifndef SKINS_CFG_H
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
22 #define SKINS_CFG_H
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
23
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
24 #include <glib.h>
2793
mf0102 <0102@gmx.at>
parents: 2690
diff changeset
25 #include <gtk/gtk.h>
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
26
2583
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
27 #define MAINWIN_DEFAULT_POS_X 20
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
28 #define MAINWIN_DEFAULT_POS_Y 20
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
29 #define EQUALIZER_DEFAULT_POS_X 20
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
30 #define EQUALIZER_DEFAULT_POS_Y 136
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
31 #define PLAYLISTWIN_DEFAULT_WIDTH 275
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
32 #define PLAYLISTWIN_DEFAULT_HEIGHT 232
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
33 #define PLAYLISTWIN_DEFAULT_POS_X 295
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
34 #define PLAYLISTWIN_DEFAULT_POS_Y 20
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
35
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
36
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
37 typedef struct {
2584
c9e40418a74c use plugin's own config
Tomasz Mon <desowin@gmail.com>
parents: 2583
diff changeset
38 gint player_x, player_y;
2583
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
39 gint equalizer_x, equalizer_y;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
40 gint playlist_x, playlist_y;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
41 gint playlist_width, playlist_height;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
42 gint snap_distance;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
43 gboolean snap_windows, save_window_position;
2592
8f5999909416 add ui_main - with huge amount of #if 0 to sort out later
Tomasz Mon <desowin@gmail.com>
parents: 2586
diff changeset
44 gboolean scaled, autoscroll;
2602
7cd898f08f31 work in progress - add ui_manager and ui_main_evlisteners
Tomasz Mon <desowin@gmail.com>
parents: 2592
diff changeset
45 gboolean always_on_top, sticky;
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
46 gfloat scale_factor;
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
47 gboolean always_show_cb;
2614
c9463d350985 Added ui_fileopener
mf0102 <0102@gmx.at>
parents: 2606
diff changeset
48 gboolean close_dialog_open;
c9463d350985 Added ui_fileopener
mf0102 <0102@gmx.at>
parents: 2606
diff changeset
49 gboolean close_dialog_add;
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
50 gchar *skin;
2614
c9463d350985 Added ui_fileopener
mf0102 <0102@gmx.at>
parents: 2606
diff changeset
51 gchar *filesel_path;
2592
8f5999909416 add ui_main - with huge amount of #if 0 to sort out later
Tomasz Mon <desowin@gmail.com>
parents: 2586
diff changeset
52 gboolean player_visible, equalizer_visible, playlist_visible;
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
53 gboolean player_shaded, equalizer_shaded, playlist_shaded;
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
54 gboolean dim_titlebar;
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
55 gboolean show_wm_decorations;
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
56 gboolean easy_move;
2584
c9e40418a74c use plugin's own config
Tomasz Mon <desowin@gmail.com>
parents: 2583
diff changeset
57 gboolean allow_broken_skins;
c9e40418a74c use plugin's own config
Tomasz Mon <desowin@gmail.com>
parents: 2583
diff changeset
58 gboolean disable_inline_gtk;
c9e40418a74c use plugin's own config
Tomasz Mon <desowin@gmail.com>
parents: 2583
diff changeset
59 gboolean analyzer_peaks;
2586
88009fb3fbe6 add ui_skinned_textbox
Tomasz Mon <desowin@gmail.com>
parents: 2584
diff changeset
60 gboolean twoway_scroll;
2583
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
61 gint timer_mode;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
62 gint vis_type;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
63 gint analyzer_mode, analyzer_type;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
64 gint scope_mode;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
65 gint voiceprint_mode;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
66 gint vu_mode, vis_refresh;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
67 gint analyzer_falloff, peaks_falloff;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
68 gint playlist_position;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
69 gint mouse_change;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
70 gint colorize_r; gint colorize_g; gint colorize_b;
294232665cb0 more work on config
Tomasz Mon <desowin@gmail.com>
parents: 2582
diff changeset
71 gint scroll_pl_by;
2592
8f5999909416 add ui_main - with huge amount of #if 0 to sort out later
Tomasz Mon <desowin@gmail.com>
parents: 2586
diff changeset
72 gboolean warn_about_win_visibility;
8f5999909416 add ui_main - with huge amount of #if 0 to sort out later
Tomasz Mon <desowin@gmail.com>
parents: 2586
diff changeset
73 gboolean warn_about_broken_gtk_engines;
8f5999909416 add ui_main - with huge amount of #if 0 to sort out later
Tomasz Mon <desowin@gmail.com>
parents: 2586
diff changeset
74 gboolean mainwin_use_bitmapfont;
2606
b53841a1b5d3 add ui_equalizer
Tomasz Mon <desowin@gmail.com>
parents: 2602
diff changeset
75 gboolean eq_scaled_linked;
2620
2d6e08c81c09 add playlistwindow
Tomasz Mon <desowin@gmail.com>
parents: 2614
diff changeset
76 gboolean show_numbers_in_pl, show_separator_in_pl;
2642
c2603047a1a3 add few more config items
Tomasz Mon <desowin@gmail.com>
parents: 2620
diff changeset
77 gchar *playlist_font, *mainwin_font;
2679
fb5375e86a03 make setting random skin on play working
Tomasz Mon <desowin@gmail.com>
parents: 2642
diff changeset
78 gboolean random_skin_on_play;
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
79 } skins_cfg_t;
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
80
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
81 extern skins_cfg_t config;
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
82
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
83 skins_cfg_t * skins_cfg_new(void);
2582
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
84 void skins_cfg_free();
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
85 void skins_cfg_load();
9b4dfc007b87 use more local configuration options
Tomasz Mon <desowin@gmail.com>
parents: 2581
diff changeset
86 void skins_cfg_save();
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
87
2793
mf0102 <0102@gmx.at>
parents: 2690
diff changeset
88 GtkWidget* skins_configure(void);
2837
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
89 void on_skin_view_drag_data_received(GtkWidget * widget,
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
90 GdkDragContext * context,
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
91 gint x, gint y,
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
92 GtkSelectionData * selection_data,
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
93 guint info, guint time,
bdc4fbf878ec make use of new InterfaceOps
Tomasz Mon <desowin@gmail.com>
parents: 2793
diff changeset
94 gpointer user_data);
2690
a8328c40a5c1 more work on skins plugin settings
Tomasz Mon <desowin@gmail.com>
parents: 2680
diff changeset
95
2572
d0daee216c8d stub (really incomplete) for skin engine plugin
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
96 #endif