ZOOM_RESET_NONE = 2
} ZoomMode;
+typedef enum {
+ ZOOM_GEOMETRIC = 0,
+ ZOOM_ARITHMETIC = 1
+} ZoomStyle;
+
typedef enum {
CLIPBOARD_PRIMARY = 0,
CLIPBOARD_CLIPBOARD = 1,
FORMAT_CLASS_VIDEO,
FORMAT_CLASS_COLLECTION,
FORMAT_CLASS_DOCUMENT,
+ FORMAT_CLASS_ARCHIVE,
FILE_FORMAT_CLASSES
} FileFormatClass;
GdkPixbufAnimationIter *iter;
GdkPixbuf *gpb;
FileData *data_adr;
- guint delay;
+ gint delay;
gboolean valid;
GCancellable *cancellable;
GFile *in_file;
gboolean unknown; /**< failed to load image */
- ImageLoader *il; /**< FIXME - image loader should probably go to FileData, but it must first support
+ ImageLoader *il; /**< @FIXME image loader should probably go to FileData, but it must first support
sending callbacks to multiple ImageWindows in parallel */
gint has_frame; /**< not boolean, see image_new() */
const gchar *extension;
gchar *extended_extension;
FileFormatClass format_class;
+ gchar *format_name; /**< set by the image loader */
gchar *collate_key_name;
gchar *collate_key_name_nocase;
gint64 size;
gint y;
} log_window;
+ struct {
+ gint w;
+ gint h;
+ gint x;
+ gint y;
+ gint page_number;
+ } preferences_window;
+
struct {
gint w;
gint h;
gint y;
} dupe_window;
+ struct {
+ gint w;
+ gint h;
+ gint x;
+ gint y;
+ } advanced_exif_window;
+
gboolean tools_float;
gboolean tools_hidden;
gboolean toolbar_hidden;
struct _ViewFile
{
- FileViewType type;
- // TODO(xsdg): Turn this into a union (see VFLIST and VFICON from view_file.h).
+ FileViewType type; /**< @todo (xsdg): Turn this into a union (see VFLIST and VFICON from view_file.h). */
+
gpointer info;
GtkWidget *widget;
{
LayoutWindow *lw; /**< use this window to display the slideshow */
ImageWindow *imd; /**< use this window only if lw is not available,
- FIXME: it is probably required only by img-view.c and should be dropped with it */
+ @FIXME it is probably required only by img-view.c and should be dropped with it */
GList *filelist;
CollectionData *cd;