]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xo-selection.h
split off selection code from xo-paint.c to xo-selection.c
[xournal.git] / src / xo-selection.h
diff --git a/src/xo-selection.h b/src/xo-selection.h
new file mode 100644 (file)
index 0000000..bf5bce4
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ *  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 <http://www.gnu.org/licenses/>.
+ */
+
+
+void start_selectrect(GdkEvent *event);
+void finalize_selectrect(void);
+
+gboolean start_movesel(GdkEvent *event);
+void start_vertspace(GdkEvent *event);
+void continue_movesel(GdkEvent *event);
+void finalize_movesel(void);
+
+gboolean start_resizesel(GdkEvent *event);
+void continue_resizesel(GdkEvent *event);
+void finalize_resizesel(void);
+
+void selection_delete(void);
+
+void recolor_selection(int color_no, guint color_rgba);
+void rethicken_selection(int val);