diff options
Diffstat (limited to 'libview/ev-document-model.h')
-rw-r--r-- | libview/ev-document-model.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h index fdec1433..4dda24cb 100644 --- a/libview/ev-document-model.h +++ b/libview/ev-document-model.h @@ -41,6 +41,12 @@ typedef enum { EV_SIZING_AUTOMATIC, } EvSizingMode; +typedef enum { + EV_PAGE_LAYOUT_SINGLE, + EV_PAGE_LAYOUT_DUAL, + EV_PAGE_LAYOUT_AUTOMATIC, +} EvPageLayout; + typedef struct _EvDocumentModel EvDocumentModel; typedef struct _EvDocumentModelClass EvDocumentModelClass; @@ -68,6 +74,9 @@ gdouble ev_document_model_get_min_scale (EvDocumentModel *model); void ev_document_model_set_sizing_mode (EvDocumentModel *model, EvSizingMode mode); EvSizingMode ev_document_model_get_sizing_mode (EvDocumentModel *model); +void ev_document_model_set_page_layout (EvDocumentModel *model, + EvPageLayout layout); +EvPageLayout ev_document_model_get_page_layout (EvDocumentModel *model); void ev_document_model_set_rotation (EvDocumentModel *model, gint rotation); gint ev_document_model_get_rotation (EvDocumentModel *model); @@ -79,9 +88,6 @@ gboolean ev_document_model_get_inverted_colors (EvDocumentModel *model); void ev_document_model_set_continuous (EvDocumentModel *model, gboolean continuous); gboolean ev_document_model_get_continuous (EvDocumentModel *model); -void ev_document_model_set_dual_page (EvDocumentModel *model, - gboolean dual_page); -gboolean ev_document_model_get_dual_page (EvDocumentModel *model); void ev_document_model_set_dual_page_odd_pages_left (EvDocumentModel *model, gboolean odd_left); gboolean ev_document_model_get_dual_page_odd_pages_left (EvDocumentModel *model); @@ -89,6 +95,14 @@ void ev_document_model_set_fullscreen (EvDocumentModel *model, gboolean fullscreen); gboolean ev_document_model_get_fullscreen (EvDocumentModel *model); +/* deprecated */ + +EV_DEPRECATED_FOR(ev_document_model_set_page_layout) +void ev_document_model_set_dual_page (EvDocumentModel *model, + gboolean dual_page); +EV_DEPRECATED_FOR(ev_document_model_get_page_layout) +gboolean ev_document_model_get_dual_page (EvDocumentModel *model); + G_END_DECLS #endif /* __EV_DOCUMENT_MODEL_H__ */ |