SCROLL_TO_KEEP_POSITION,
SCROLL_TO_PAGE_POSITION,
SCROLL_TO_CENTER,
+ SCROLL_TO_FIND_LOCATION,
} PendingScroll;
typedef enum {
EV_VIEW_CURSOR_DRAG
} EvViewCursor;
+typedef enum {
+ EV_PRESENTATION_NORMAL,
+ EV_PRESENTATION_BLACK,
+ EV_PRESENTATION_WHITE,
+ EV_PRESENTATION_END
+} EvPresentationState;
+
struct _EvView {
GtkWidget parent_instance;
gboolean presentation;
EvSizingMode sizing_mode;
+ /* Presentation */
+ EvPresentationState presentation_state;
+ EvSizingMode sizing_mode_saved;
+ double scale_saved;
+ guint trans_timeout_id;
+
/* Common for button press handling */
int pressed_button;
/* Links */
GtkWidget *link_tooltip;
EvLink *hovered_link;
+
+ /* Goto Popup */
+ GtkWidget *goto_window;
+ GtkWidget *goto_entry;
};
struct _EvViewClass {
gboolean horizontal);
void (*zoom_invalid) (EvView *view);
void (*external_link) (EvView *view,
- EvLink *link);
+ EvLinkAction *action);
void (*popup_menu) (EvView *view,
EvLink *link);
};