Include a Other Software section in Help file
[geeqie.git] / src / image.h
index 9f7c7c4..b8233ff 100644 (file)
@@ -1,16 +1,24 @@
 /*
- * Geeqie
- * (C) 2004 John Ellis
- * Copyright (C) 2008 - 2012 The Geeqie Team
+ * Copyright (C) 2004 John Ellis
+ * Copyright (C) 2008 - 2016 The Geeqie Team
  *
  * Author: John Ellis
  *
- * This software is released under the GNU General Public License (GNU GPL).
- * Please read the included file COPYING for more information.
- * This software comes with no warranty of any kind, use at your own risk!
+ * 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 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, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-
 #ifndef IMAGE_H
 #define IMAGE_H
 
@@ -28,7 +36,7 @@ void image_set_button_func(ImageWindow *imd,
        void (*func)(ImageWindow *, GdkEventButton *event, gpointer),
        gpointer data);
 void image_set_drag_func(ImageWindow *imd,
-       void (*func)(ImageWindow *, GdkEventButton *event, gdouble dx, gdouble dy, gpointer),
+       void (*func)(ImageWindow *, GdkEventMotion *event, gdouble dx, gdouble dy, gpointer),
        gpointer data);
 void image_set_scroll_func(ImageWindow *imd,
        void (*func)(ImageWindow *, GdkEventScroll *event, gpointer),
@@ -55,7 +63,10 @@ const gchar *image_get_path(ImageWindow *imd);
 const gchar *image_get_name(ImageWindow *imd);
 FileData *image_get_fd(ImageWindow *imd);
 
-/* merely changes path string, does not change the image! */
+/**
+ * @headerfile image_set_fd
+ * merely changes path string, does not change the image!
+ */
 void image_set_fd(ImageWindow *imd, FileData *fd);
 
 /* load a new image */
@@ -77,9 +88,12 @@ void image_scroll_to_point(ImageWindow *imd, gint x, gint y,
                           gdouble x_align, gdouble y_align);
 void image_get_scroll_center(ImageWindow *imd, gdouble *x, gdouble *y);
 void image_set_scroll_center(ImageWindow *imd, gdouble x, gdouble y);
-void image_alter_orientation(ImageWindow *imd, AlterType type);
+void image_alter_orientation(ImageWindow *imd, FileData *fd, AlterType type);
 void image_set_desaturate(ImageWindow *imd, gboolean desaturate);
 gboolean image_get_desaturate(ImageWindow *imd);
+void image_set_overunderexposed(ImageWindow *imd, gboolean overunderexposed);
+gboolean image_get_overunderexposed(ImageWindow *imd);
+void image_set_ignore_alpha(ImageWindow *imd, gboolean ignore_alpha);
 
 /* zoom */
 void image_zoom_adjust(ImageWindow *imd, gdouble increment);
@@ -100,13 +114,22 @@ void image_stereo_swap(ImageWindow *imd);
 StereoPixbufData image_stereo_pixbuf_get(ImageWindow *imd);
 void image_stereo_pixbuf_set(ImageWindow *imd, StereoPixbufData stereo_mode);
 
-/* read ahead, pass NULL to cancel */
+/**
+ * @headerfile image_prebuffer_set
+ * read ahead, pass NULL to cancel
+ */
 void image_prebuffer_set(ImageWindow *imd, FileData *fd);
 
-/* auto refresh */
+/**
+ * @headerfile image_auto_refresh_enable
+ * auto refresh
+ */
 void image_auto_refresh_enable(ImageWindow *imd, gboolean enable);
 
-/* allow top window to be resized ? */
+/**
+ * @headerfile image_top_window_set_sync
+ * allow top window to be resized ?
+ */
 void image_top_window_set_sync(ImageWindow *imd, gboolean allow_sync);
 
 /* background of image */
@@ -124,10 +147,16 @@ void image_color_profile_set_use(ImageWindow *imd, gboolean enable);
 gboolean image_color_profile_get_use(ImageWindow *imd);
 gboolean image_color_profile_get_status(ImageWindow *imd, gchar **image_profile, gchar **screen_profile);
 
-/* set delayed page flipping */
+/**
+ * @headerfile image_set_delay_flip
+ * set delayed page flipping
+ */
 void image_set_delay_flip(ImageWindow *imd, gint delay);
 
-/* wallpaper util */
+/**
+ * @headerfile image_to_root_window
+ * wallpaper util
+ */
 void image_to_root_window(ImageWindow *imd, gboolean scaled);
 
 
@@ -139,9 +168,13 @@ void image_set_image_as_tiles(ImageWindow *imd, gint width, gint height,
                              gpointer data,
                              gdouble zoom);
 
-/* reset default options */
+/**
+ * @headerfile image_options_sync
+ * reset default options
+ */
 void image_options_sync(void);
 
-
+void image_get_rectangle(gint *x1, gint *y1, gint *x2, gint *y2);
+void image_update_title(ImageWindow *imd);
 #endif
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */