1 /* GSequencer - Advanced GTK Sequencer
2  * Copyright (C) 2005-2020 Joël Krähemann
3  *
4  * This file is part of GSequencer.
5  *
6  * GSequencer is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * GSequencer 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 GSequencer.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __AGS_ONLINE_HELP_WINDOW_CALLBACKS_H__
21 #define __AGS_ONLINE_HELP_WINDOW_CALLBACKS_H__
22 
23 #include <glib.h>
24 #include <glib-object.h>
25 
26 #include <gtk/gtk.h>
27 
28 #include <ags/libags.h>
29 #include <ags/libags-audio.h>
30 #include <ags/libags-gui.h>
31 
32 #include <ags/X/ags_online_help_window.h>
33 
34 G_BEGIN_DECLS
35 
36 #if defined(AGS_WITH_WEBKIT)
37 void ags_online_help_window_load_changed(WebKitWebView *web_view,
38 					 WebKitLoadEvent load_event,
39 					 AgsOnlineHelpWindow *online_help_window);
40 #endif
41 
42 gboolean ags_online_help_window_pdf_drawing_area_draw_callback(GtkWidget *pdf_drawing_area,
43 							       cairo_t *cr,
44 							       AgsOnlineHelpWindow *online_help_window);
45 
46 gboolean ags_online_help_window_pdf_drawing_area_configure_callback(GtkWidget *pdf_drawing_area,
47 								    GdkEvent  *event,
48 								    AgsOnlineHelpWindow *online_help_window);
49 
50 void ags_online_help_window_pdf_vscrollbar_value_changed_callback(GtkRange *vscrollbar,
51 								  AgsOnlineHelpWindow *online_help_window);
52 
53 void ags_online_help_window_pdf_hscrollbar_value_changed_callback(GtkRange *hscrollbar,
54 								  AgsOnlineHelpWindow *online_help_window);
55 
56 void ags_online_help_window_home_callback(GtkWidget *button,
57 					  AgsOnlineHelpWindow *online_help_window);
58 
59 void ags_online_help_window_next_callback(GtkWidget *button,
60 					  AgsOnlineHelpWindow *online_help_window);
61 
62 void ags_online_help_window_prev_callback(GtkWidget *button,
63 					  AgsOnlineHelpWindow *online_help_window);
64 
65 G_END_DECLS
66 
67 #endif /*__AGS_ONLINE_HELP_WINDOW_CALLBACKS_H__*/
68