aboutsummaryrefslogtreecommitdiff
path: root/src/tool_image.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-10-13 23:31:15 +0200
committerThomas White <taw@bitwiz.org.uk>2011-10-13 23:31:15 +0200
commit2e0f09d78f28c576d9a10dfcd1eeaae81e3baa07 (patch)
tree9be7b14eefb4451ac6c2a2dccce24625dc3bf7af /src/tool_image.h
parent7c54f36c7a5352dfd34322397ed322bb377b1abb (diff)
Add image handling basics
Diffstat (limited to 'src/tool_image.h')
-rw-r--r--src/tool_image.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/tool_image.h b/src/tool_image.h
new file mode 100644
index 0000000..d4d613b
--- /dev/null
+++ b/src/tool_image.h
@@ -0,0 +1,41 @@
+/*
+ * tool_image.h
+ *
+ * Colloquium - A tiny presentation program
+ *
+ * Copyright (c) 2011 Thomas White <taw@bitwiz.org.uk>
+ *
+ * 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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/>.
+ *
+ */
+
+#ifndef TOOL_IMAGE_H
+#define TOOL_IMAGE_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <gtk/gtk.h>
+
+
+extern struct toolinfo *initialise_image_tool(void);
+
+extern struct object *add_image_object(struct slide *s, double x, double y,
+ double bb_width, double bb_height,
+ char *filename, struct style *sty,
+ struct image_store *is,
+ struct toolinfo *ti);
+
+#endif /* TOOL_IMAGE_H */