X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-utils.h;h=ac89b1ea6914a21a7fae0aa6de9437af4934d2ad;hb=e62fbd4433b5039abab3986590c900d661ffe67a;hp=084a2851b3cac38971067edae8ebd559ed7c72cf;hpb=ca0836cb912f3b88834cae97774079314727c6e2;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 084a2851..ac89b1ea 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -22,12 +22,29 @@ #define __EV_UTILS_H__ #include +#include G_BEGIN_DECLS -GdkPixbuf *ev_pixbuf_add_shadow (GdkPixbuf *src, int size, - int x_offset, int y_offset, double opacity); +GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, + int x_offset, int y_offset, double opacity); +void ev_print_region_contents (GdkRegion *region); + +void ev_gui_menu_position_tree_selection (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); + +gint get_num_monitors (GtkWindow * window); + +gdouble get_screen_dpi (GtkWindow * window); + +void file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser); +GdkPixbufFormat* get_gdk_pixbuf_format_by_extension (gchar *uri); + +char* escape_uri_for_display (const char *uri); G_END_DECLS #endif /* __EV_VIEW_H__ */