comparison src/crossfade/callbacks.h @ 3059:2e241e90494a

Import work in progress xmms-crossfade rewrite.
author William Pitcock <nenolod@atheme.org>
date Fri, 24 Apr 2009 05:57:35 -0500
parents
children
comparison
equal deleted inserted replaced
3058:2e649bf16ebc 3059:2e241e90494a
1 /*
2 * XMMS Crossfade Plugin
3 * Copyright (C) 2000-2007 Peter Eisenlohr <peter@eisenlohr.org>
4 *
5 * based on the original OSS Output Plugin
6 * Copyright (C) 1998-2000 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21 * USA.
22 */
23
24 #ifndef _CALLBACKS_H_
25 #define _CALLBACKS_H_
26
27 #include <gtk/gtk.h>
28
29 /* configure.c*/
30 void on_config_ok_clicked(GtkButton * button, gpointer user_data);
31 void on_config_apply_clicked(GtkButton * button, gpointer user_data);
32 void on_output_oss_radio_toggled(GtkToggleButton * togglebutton, gpointer user_data);
33 void on_output_plugin_radio_toggled(GtkToggleButton * togglebutton, gpointer user_data);
34 void on_output_none_radio_toggled(GtkToggleButton * togglebutton, gpointer user_data);
35 void on_config_adevice_alt_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
36 void on_config_mdevice_alt_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
37 void on_osshwb_maxbuf_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
38 void on_config_crossfade_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
39 void on_config_mixopt_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
40 void on_output_plugin_configure_button_clicked(GtkButton * button, gpointer user_data);
41 void on_output_plugin_about_button_clicked(GtkButton * button, gpointer user_data);
42 void on_op_throttle_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
43 void on_op_maxblock_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
44 void on_op_maxblock_spin_changed(GtkEditable * editable, gpointer user_data);
45 void on_op_forcereopen_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
46 void on_ep_configure_button_clicked(GtkButton * button, gpointer user_data);
47 void on_ep_about_button_clicked(GtkButton * button, gpointer user_data);
48 void on_ep_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
49 void on_volnorm_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
50 void on_xftfp_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
51 void on_xftfp_length_spin_changed(GtkEditable * editable, gpointer user_data);
52 void on_xftffi_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
53 void on_xftffi_length_spin_changed(GtkEditable * editable, gpointer user_data);
54 void on_xftffi_volume_spin_changed(GtkEditable * editable, gpointer user_data);
55 void on_pause_length_spin_changed(GtkEditable * editable, gpointer user_data);
56 void on_simple_length_spin_changed(GtkEditable * editable, gpointer user_data);
57 void on_xf_buffer_spin_changed(GtkEditable * editable, gpointer user_data);
58 void on_xf_autobuf_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
59 void on_fadeout_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
60 void on_xfofs_none_radiobutton_toggled(GtkToggleButton * togglebutton, gpointer user_data);
61 void on_xfofs_none_radiobutton_clicked(GtkButton * button, gpointer user_data);
62 void on_xfofs_lockout_radiobutton_toggled(GtkToggleButton * togglebutton, gpointer user_data);
63 void on_xfofs_lockout_radiobutton_clicked(GtkButton * button, gpointer user_data);
64 void on_xfofs_lockin_radiobutton_toggled(GtkToggleButton * togglebutton, gpointer user_data);
65 void on_xfofs_lockin_radiobutton_clicked(GtkButton * button, gpointer user_data);
66 void on_xfofs_custom_radiobutton_toggled(GtkToggleButton * togglebutton, gpointer user_data);
67 void on_xfofs_custom_radiobutton_clicked(GtkButton * button, gpointer user_data);
68 void on_xfofs_custom_spin_changed(GtkEditable * editable, gpointer user_data);
69 void on_fadein_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
70 void on_fadein_lock_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
71 void on_lgap_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
72 void on_tgap_enable_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
73 void on_tgap_lock_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
74 void on_fadeout_length_spin_changed(GtkEditable * editable, gpointer user_data);
75 void on_fadeout_volume_spin_changed(GtkEditable * editable, gpointer user_data);
76 void on_fadein_length_spin_changed(GtkEditable * editable, gpointer user_data);
77 void on_fadein_volume_spin_changed(GtkEditable * editable, gpointer user_data);
78 void on_lgap_length_spin_changed(GtkEditable * editable, gpointer user_data);
79 void on_lgap_level_spin_changed(GtkEditable * editable, gpointer user_data);
80 void on_tgap_length_spin_changed(GtkEditable * editable, gpointer user_data);
81 void on_tgap_level_spin_changed(GtkEditable * editable, gpointer user_data);
82 void on_gapkiller_default_button_clicked(GtkButton * button, gpointer user_data);
83 void on_moth_songchange_spin_changed(GtkEditable * editable, gpointer user_data);
84 void on_moth_opmaxused_check_toggled(GtkToggleButton * togglebutton, gpointer user_data);
85 void on_misc_default_button_clicked(GtkButton * button, gpointer user_data);
86 void on_presets_list_click_column(GtkCList * clist, gint column, gpointer user_data);
87
88 /* monitor.c */
89 gboolean on_monitor_display_drawingarea_expose_event(GtkWidget * widget, GdkEventExpose * event, gpointer user_data);
90 gboolean on_monitor_win_delete_event(GtkWidget * widget, GdkEvent * event, gpointer user_data);
91
92 /* help.c (not yet implemented) */
93 void on_help_close_button_clicked(GtkButton * button, gpointer user_data);
94
95 #endif /* _CALLBACKS_H_ */
96
97 void
98 on_monitor_seekeof_button_clicked (GtkButton *button,
99 gpointer user_data);