]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xo-paint.h
paste images and text directly from and to other applications
[xournal.git] / src / xo-paint.h
index cd7b2ea37f7708c21103c531a516821695d2e7d2..9a30df86c2001ec4b334e4c4780b834b142c0a50 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
+ */
+
+
 void set_cursor_busy(gboolean busy);
 void update_cursor(void);
 void update_cursor_for_resize(double *pt);
@@ -22,8 +38,6 @@ void continue_resizesel(GdkEvent *event);
 void finalize_resizesel(void);
 
 void selection_delete(void);
-void selection_to_clip(void);
-void clipboard_paste(void);
 
 void recolor_selection(int color_no, guint color_rgba);
 void rethicken_selection(int val);
@@ -38,5 +52,6 @@ void end_text(void);
 void update_text_item_displayfont(struct Item *item);
 void rescale_text_items(void);
 struct Item *click_is_in_text(struct Layer *layer, double x, double y);
+struct Item *click_is_in_text_or_image(struct Layer *layer, double x, double y);
 void refont_text_item(struct Item *item, gchar *font_name, double font_size);
 void process_font_sel(gchar *str);