X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxo-callbacks.h;h=bce8b486e40daf0c8b537f66713d44d95303ffe0;hb=f3c08d8490989618c199859c3a20cf4e24a66e4a;hp=4234703e16dc4e946cb7e2cb20b5b8e9e46cfd8c;hpb=ddd27893ae44eb5eb62c80e5751a6943a4782fe2;p=xournal.git diff --git a/src/xo-callbacks.h b/src/xo-callbacks.h index 4234703..bce8b48 100644 --- a/src/xo-callbacks.h +++ b/src/xo-callbacks.h @@ -1,3 +1,19 @@ +/* + * 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; either + * version 2 of the License, or (at your option) any later version. + * + * This software 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 . + */ + + #include void @@ -403,6 +419,11 @@ on_canvas_enter_notify_event (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data); +gboolean +on_canvas_leave_notify_event (GtkWidget *widget, + GdkEventCrossing *event, + gpointer user_data); + gboolean on_canvas_expose_event (GtkWidget *widget, GdkEventExpose *event, @@ -471,15 +492,10 @@ void on_optionsButtonMappings_activate (GtkMenuItem *menuitem, gpointer user_data); -void -on_optionsAntialiasBG_activate (GtkMenuItem *menuitem, - gpointer user_data); - void on_optionsProgressiveBG_activate (GtkMenuItem *menuitem, gpointer user_data); - void on_mru_activate (GtkMenuItem *menuitem, gpointer user_data); @@ -556,3 +572,91 @@ void on_button3CopyBrush_activate (GtkMenuItem *menuitem, gpointer user_data); + +void +on_viewSetZoom_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_spinZoom_value_changed (GtkSpinButton *spinbutton, + gpointer user_data); + +void +on_radioZoom_toggled (GtkToggleButton *togglebutton, + gpointer user_data); + +void +on_radioZoom100_toggled (GtkToggleButton *togglebutton, + gpointer user_data); + +void +on_radioZoomWidth_toggled (GtkToggleButton *togglebutton, + gpointer user_data); + +void +on_radioZoomHeight_toggled (GtkToggleButton *togglebutton, + gpointer user_data); + +void +on_toolsHand_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_button2Hand_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_button3Hand_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_optionsPrintRuling_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_optionsAutoloadPdfXoj_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_fontButton_font_set (GtkFontButton *fontbutton, + gpointer user_data); + +void +on_optionsLeftHanded_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_optionsShortenMenus_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_optionsAutoSavePrefs_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_toolsReco_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_optionsPressureSensitive_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_buttonColorChooser_set (GtkColorButton *colorbutton, + gpointer user_data); + +void +on_optionsButtonsSwitchMappings_activate(GtkMenuItem *menuitem, + gpointer user_data); + +void +on_toolsImage_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_button2Image_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_button3Image_activate (GtkMenuItem *menuitem, + gpointer user_data);