void bar_notify_selection(GtkWidget *bar, gint count);
gboolean bar_event(GtkWidget *bar, GdkEvent *event);
-gint bar_get_width(GtkWidget *bar);
-
GtkWidget *bar_pane_expander_title(const gchar *title);
void bar_update_expander(GtkWidget *pane);
gboolean bar_pane_translate_title(PaneType type, const gchar *id, gchar **title);
CacheData *cache_sim_data_load(const gchar *path);
void cache_sim_data_set_dimensions(CacheData *cd, gint w, gint h);
-void cache_sim_data_set_date(CacheData *cd, time_t date);
void cache_sim_data_set_md5sum(CacheData *cd, guchar digest[16]);
void cache_sim_data_set_similarity(CacheData *cd, ImageSimilarityData *sd);
gint cache_sim_data_filled(ImageSimilarityData *sd);
void collection_info_free(CollectInfo *ci);
void collection_info_set_thumb(CollectInfo *ci, GdkPixbuf *pixbuf);
-gboolean collection_info_load_thumb(CollectInfo *ci);
void collection_list_free(GList *list);
/* no op */
}
-void color_man_start_bg(ColorMan *UNUSED(cm), ColorManDoneFunc UNUSED(done_func), gpointer UNUSED(done_data))
-{
- /* no op */
-}
-
gboolean color_man_get_status(ColorMan *UNUSED(cm), gchar **UNUSED(image_profile), gchar **UNUSED(screen_profile))
{
return FALSE;
void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h);
-void color_man_start_bg(ColorMan *cm, ColorManDoneFunc don_func, gpointer done_data);
-
gboolean color_man_get_status(ColorMan *cm, gchar **image_profile, gchar **screen_profile);
guchar *heif_color_profile(FileData *fd, guint *profile_len);
gboolean editor_no_param(const gchar *key);
const gchar *editor_get_error_str(EditorFlags flags);
-const gchar *editor_get_name(const gchar *key);
-
gboolean is_valid_editor_command(const gchar *key);
gboolean editor_blocks_file(const gchar *key);
void file_cache_put(FileCacheData *fc, FileData *fd, gulong size);
void file_cache_dump(FileCacheData *fc);
void file_cache_set_size(FileCacheData *fc, gulong size);
-gulong file_cache_get_max_size(FileCacheData *fc);
gulong file_cache_get_size(FileCacheData *fc);
void file_cache_set_max_size(FileCacheData *fc, gulong size);
gint filelist_sort_compare_filedata(FileData *fa, FileData *fb);
gint filelist_sort_compare_filedata_full(FileData *fa, FileData *fb, SortType method, gboolean ascend);
GList *filelist_sort(GList *list, SortType method, gboolean ascend);
-GList *filelist_insert_sort(GList *list, FileData *fd, SortType method, gboolean ascend);
GList *filelist_sort_full(GList *list, SortType method, gboolean ascend, GCompareFunc cb);
GList *filelist_insert_sort_full(GList *list, gpointer data, SortType method, gboolean ascend, GCompareFunc cb);
GList *file_data_filter_class_list(GList *list, guint filter);
-gint file_data_get_user_orientation(FileData *fd);
-void file_data_set_user_orientation(FileData *fd, gint value);
-
gchar *file_data_sc_list_to_string(FileData *fd);
gchar *file_data_get_sidecar_path(FileData *fd, gboolean existing_only);
void fullscreen_prefs_get_geometry(gint screen, GtkWidget *widget, gint *x, gint *y, gint *width, gint *height,
GdkScreen **dest_screen, gboolean *same_region);
-gint fullscreen_prefs_find_screen_for_widget(GtkWidget *widget);
-
GtkWidget *fullscreen_prefs_selection_new(const gchar *text, gint *screen_value, gboolean *above_value);
pixbuf_renderer_set_orientation(reinterpret_cast<PixbufRenderer *>(imd->pr), imd->orientation);
}
-gboolean image_get_overunderexposed(ImageWindow *imd)
-{
- return imd->overunderexposed;
-}
-
void image_set_ignore_alpha(ImageWindow *imd, gboolean ignore_alpha)
{
pixbuf_renderer_set_ignore_alpha(reinterpret_cast<PixbufRenderer *>(imd->pr), ignore_alpha);
void image_set_focus_in_func(ImageWindow *imd,
void (*func)(ImageWindow *, gpointer),
gpointer data);
-void image_set_scroll_notify_func(ImageWindow *imd,
- void (*func)(ImageWindow *imd, gint x, gint y, gint width, gint height, gpointer data),
- gpointer data);
void image_set_complete_func(ImageWindow *imd,
void (*func)(ImageWindow *imd, gint preload, gpointer data),
gpointer data);
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 */
gdouble image_zoom_get_default(ImageWindow *imd);
/* stereo */
-gint image_stereo_get(ImageWindow *imd);
void image_stereo_set(ImageWindow *imd, gint stereo_mode);
-void image_stereo_swap(ImageWindow *imd);
StereoPixbufData image_stereo_pixbuf_get(ImageWindow *imd);
void image_stereo_pixbuf_set(ImageWindow *imd, StereoPixbufData stereo_mode);
const gchar *layout_image_get_path(LayoutWindow *lw);
-const gchar *layout_image_get_name(LayoutWindow *lw);
FileData *layout_image_get_fd(LayoutWindow *lw);
CollectionData *layout_image_get_collection(LayoutWindow *lw, CollectInfo **info);
gint layout_image_get_index(LayoutWindow *lw);
void layout_image_set_desaturate(LayoutWindow *lw, gboolean desaturate);
gboolean layout_image_get_desaturate(LayoutWindow *lw);
void layout_image_set_overunderexposed(LayoutWindow *lw, gboolean overunderexposed);
-gboolean layout_image_get_overunderexposed(LayoutWindow *lw);
void layout_image_set_ignore_alpha(LayoutWindow *lw, gboolean ignore_alpha);
void layout_image_rating(LayoutWindow *lw, const gchar *rating);
void layout_image_animate_toggle(LayoutWindow *lw);
-void layout_image_overlay_toggle(LayoutWindow *lw);
-
void layout_image_notify_cb(FileData *fd, NotifyType type, gpointer data);
void layout_image_reset_orientation(LayoutWindow *lw);
#endif
void layout_refresh(LayoutWindow *lw);
void layout_thumb_set(LayoutWindow *lw, gboolean enable);
-gboolean layout_thumb_get(LayoutWindow *lw);
void layout_marks_set(LayoutWindow *lw, gboolean enable);
-gboolean layout_marks_get(LayoutWindow *lw);
void layout_file_filter_set(LayoutWindow *lw, gboolean enable);
gboolean layout_geometry_get_dividers(LayoutWindow *lw, gint *h, gint *v);
void layout_views_set(LayoutWindow *lw, DirViewType dir_view_type, FileViewType file_view_type);
-gboolean layout_views_get(LayoutWindow *lw, DirViewType *dir_view_type, FileViewType *file_view_type);
void layout_views_set_sort(LayoutWindow *lw, SortType method, gboolean ascend);
void metadata_cache_free(FileData *fd);
gboolean metadata_write_queue_remove(FileData *fd);
-gboolean metadata_write_queue_remove_list(GList *list);
gboolean metadata_write_perform(FileData *fd);
gboolean metadata_write_queue_confirm(gboolean force_dialog, FileUtilDoneFunc done_func, gpointer done_data);
void metadata_notify_cb(FileData *fd, NotifyType type, gpointer data);
gint filter_classes;
};
-void pan_filter_toggle_visible(PanWindow *pw, gboolean enable);
-void pan_filter_activate(PanWindow *pw);
void pan_filter_activate_cb(const gchar *text, gpointer data);
void pan_filter_toggle_cb(GtkWidget *button, gpointer data);
void pan_filter_toggle_button_cb(GtkWidget *button, gpointer data);
PixbufRenderer *pixbuf_renderer_new();
void pixbuf_renderer_set_parent(PixbufRenderer *pr, GtkWindow *window);
-GtkWindow *pixbuf_renderer_get_parent(PixbufRenderer *pr);
/**
* @headerfile pixbuf_renderer_set_pixbuf
GdkPixbuf *pixbuf_renderer_get_pixbuf(PixbufRenderer *pr);
void pixbuf_renderer_set_orientation(PixbufRenderer *pr, gint orientation);
-gint pixbuf_renderer_get_orientation(PixbufRenderer *pr);
/**
* @headerfile pixbuf_renderer_set_stereo_data
* actual size of the PixbufRenderer window minus borders,
* x and y are the scroll offset and include zoom factor.
*/
-gboolean pixbuf_renderer_get_virtual_rect(PixbufRenderer *pr, GdkRectangle *rect);
+//gboolean pixbuf_renderer_get_virtual_rect(PixbufRenderer *pr, GdkRectangle *rect);
/**
* @headerfile pixbuf_renderer_set_color
gboolean pixbuf_to_file_as_png (GdkPixbuf *pixbuf, const gchar *filename);
-gboolean pixbuf_to_file_as_jpg(GdkPixbuf *pixbuf, const gchar *filename, gint quality);
void pixbuf_inline_register_stock_icons();
gboolean register_theme_icon_as_stock(const gchar *key, const gchar *icon);
gint x, gint y, gint w, gint h,
gint r, gint g, gint b, gint a);
-void pixbuf_draw_rect(GdkPixbuf *pb,
- gint x, gint y, gint w, gint h,
- gint r, gint g, gint b, gint a,
- gint left, gint right, gint top, gint bottom);
-
void pixbuf_set_rect_fill(GdkPixbuf *pb,
gint x, gint y, gint w, gint h,
gint r, gint g, gint b, gint a);
gboolean read_color_option(const gchar *option, const gchar *label, const gchar *value, GdkColor *color);
void write_int_option(GString *str, gint indent, const gchar *label, gint n);
gboolean read_int_option(const gchar *option, const gchar *label, const gchar *value, gint *n);
-void write_ushort_option(GString *str, gint indent, const gchar *label, guint16 n);
gboolean read_ushort_option(const gchar *option, const gchar *label, const gchar *value, guint16 *n);
void write_uint_option(GString *str, gint indent, const gchar *label, guint n);
gboolean read_uint_option(const gchar *option, const gchar *label, const gchar *value, guint *n);
void image_sim_alternate_set(gboolean enable);
-gboolean image_sim_alternate_enabled();
void image_sim_alternate_processing(ImageSimilarityData *sd);
gboolean is_readable_file(const gchar *s);
gboolean access_file(const gchar *s, gint mode);
gboolean unlink_file(const gchar *s);
-gboolean symlink_utf8(const gchar *source, const gchar *target);
gboolean mkdir_utf8(const gchar *s, gint mode);
gboolean rmdir_utf8(const gchar *s);
gboolean copy_file_attributes(const gchar *s, const gchar *t, gint perms, gint mtime);
GList *string_list_copy(const GList *list);
gchar *unique_filename(const gchar *path, const gchar *ext, const gchar *divider, gboolean pad);
-gchar *unique_filename_simple(const gchar *path);
const gchar *filename_from_path(const gchar *path);
gchar *remove_level_from_path(const gchar *path);
GtkWidget *help_window_new(const gchar *title,
const gchar *subclass,
const gchar *path, const gchar *key);
-void help_window_set_file(GtkWidget *window, const gchar *path, const gchar *key);
void help_window_set_key(GtkWidget *window, const gchar *key);
-GtkWidget *help_window_get_box(GtkWidget *window);
-
-
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */
GtkWidget *path_selection_new_with_files(GtkWidget *entry, const gchar *path,
const gchar *filter, const gchar *filter_desc);
-GtkWidget *path_selection_new(const gchar *path, GtkWidget *entry);
void path_selection_sync_to_entry(GtkWidget *entry);
GtkWidget *spinner_new(const gchar *path, gint interval);
void spinner_set_interval(GtkWidget *spinner, gint interval);
-void spinner_step(GtkWidget *spinner, gboolean reset);
-
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */
* @headerfile tree_path_to_row
* utility to return row position of given GtkTreePath
*/
-gint tree_path_to_row(GtkTreePath *tpath);
+//gint tree_path_to_row(GtkTreePath *tpath);
/**
*
* shift_value is 1 to 100, representing the percent of the shift.
*/
-void style_shift_color(GtkStyle *style, GtkStateType type, gshort shift_value, gint direction);
+//void style_shift_color(GtkStyle *style, GtkStateType type, gshort shift_value, gint direction);
/**
* @def STYLE_SHIFT_STANDARD
void file_dialog_add_path_widgets(FileDialog *fd, const gchar *default_path, const gchar *path,
const gchar *history_key, const gchar *filter, const gchar *filter_desc);
-void file_dialog_add_filter(FileDialog *fd, const gchar *filter, const gchar *filter_desc, gboolean set);
void file_dialog_clear_filter(FileDialog *fd);
void file_dialog_sync_history(FileDialog *fd, gboolean dir_only);
/* working directory is used only as a fallback when the filelist is empty */
void file_util_start_editor_from_filelist(const gchar *key, GList *list, const gchar *working_directory, GtkWidget *parent);
-void file_util_start_filter_from_file(const gchar *key, FileData *fd, const gchar *dest_path, GtkWidget *parent);
void file_util_start_filter_from_filelist(const gchar *key, GList *list, const gchar *dest_path, GtkWidget *parent);
void file_util_delete_dir(FileData *source_fd, GtkWidget *parent);
void vd_set_select_func(ViewDir *vdl, void (*func)(ViewDir *vdl, FileData *fd, gpointer data), gpointer data);
-void vd_set_layout(ViewDir *vdl, LayoutWindow *layout);
-
gboolean vd_set_fd(ViewDir *vdl, FileData *dir_fd);
void vd_refresh(ViewDir *vdl);
gboolean vd_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter);
-const gchar *vd_row_get_path(ViewDir *vdl, gint row);
-
void vd_color_set(ViewDir *vd, FileData *fd, gint color_set);
void vd_popup_destroy_cb(GtkWidget *widget, gpointer data);
void vd_dnd_drop_scroll_cancel(ViewDir *vd);
void vd_dnd_init(ViewDir *vd);
-void vd_menu_position_cb(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data);
-
void vd_activate_cb(GtkTreeView *tview, GtkTreePath *tpath, GtkTreeViewColumn *column, gpointer data);
void vd_color_cb(GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data);
guint vficon_count(ViewFile *vf, gint64 *bytes);
GList *vficon_get_list(ViewFile *vf);
-gboolean vficon_index_is_selected(ViewFile *vf, gint row);
guint vficon_selection_count(ViewFile *vf, gint64 *bytes);
GList *vficon_selection_get_list(ViewFile *vf);
GList *vficon_selection_get_list_by_index(ViewFile *vf);
guint vflist_count(ViewFile *vf, gint64 *bytes);
GList *vflist_get_list(ViewFile *vf);
-gboolean vflist_index_is_selected(ViewFile *vf, gint row);
guint vflist_selection_count(ViewFile *vf, gint64 *bytes);
GList *vflist_selection_get_list(ViewFile *vf);
GList *vflist_selection_get_list_by_index(ViewFile *vf);