DIRVIEW_TREE
} DirViewType;
+typedef enum {
+ FILEVIEW_LIST,
+ FILEVIEW_ICON
+} FileViewType;
+
typedef enum {
CMD_COPY = GQ_EDITOR_GENERIC_SLOTS,
CMD_MOVE,
typedef struct _FileDataChangeInfo FileDataChangeInfo;
typedef struct _LayoutWindow LayoutWindow;
+
typedef struct _ViewDir ViewDir;
typedef struct _ViewDirInfoList ViewDirInfoList;
typedef struct _ViewDirInfoTree ViewDirInfoTree;
+
+typedef struct _ViewFile ViewFile;
typedef struct _ViewFileList ViewFileList;
typedef struct _ViewFileIcon ViewFileIcon;
LayoutLocation file_location;
+ ViewFile *vf;
+ FileViewType file_view_type;
+
ViewFileList *vfl;
ViewFileIcon *vfi;
GtkWidget *file_view;
gint busy_ref;
};
+
+struct _ViewFile
+{
+ FileViewType type;
+ gpointer info;
+
+ GtkWidget *widget;
+ GtkWidget *listview;
+
+ gchar *path;
+ GList *list;
+
+ SortType sort_method;
+ gint sort_ascend;
+
+ /* func list */
+ void (*func_thumb_status)(ViewFile *vf, gdouble val, const gchar *text, gpointer data);
+ gpointer data_thumb_status;
+
+ void (*func_status)(ViewFile *vf, gpointer data);
+ gpointer data_status;
+
+ LayoutWindow *layout;
+
+ GtkWidget *popup;
+};
+
struct _ViewFileList
{
GtkWidget *widget;
--- /dev/null
+/*
+ * Geeqie
+ * Copyright (C) 2008 The Geeqie Team
+ *
+ * Author: Laurent Monin
+ *
+ * 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!
+ */
+
+#include "main.h"
+#include "view_file.h"
+
+#include "debug.h"
+#include "view_file_list.h"
+#include "view_file_icon.h"
+
+
--- /dev/null
+/*
+ * Geeqie
+ * Copyright (C) 2008 The Geeqie Team
+ *
+ * Author: Laurent Monin
+ *
+ * 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!
+ */
+
+#ifndef VIEW_FILE_H
+#define VIEW_FILE_H
+
+#endif /* VIEW_FILE_H */