summaryrefslogtreecommitdiff
path: root/libdocument/ev-document.h
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-08-14 07:41:35 +0530
committerrootavish <[email protected]>2014-08-14 07:41:35 +0530
commit700637ca1dd675ce18f2e9e56387dab86020a623 (patch)
treec442065088b57266d7d9519b07f3226474c8293d /libdocument/ev-document.h
parent89bf352b3d2725b11328e7641cef5c3cc2a8ea39 (diff)
downloadatril-700637ca1dd675ce18f2e9e56387dab86020a623.tar.bz2
atril-700637ca1dd675ce18f2e9e56387dab86020a623.tar.xz
Inverted colors(night) viewing mode for ePub
Added the capability to view and epub document with inverted colors, yet to test for documents where we write the stylesheet, although the code is there.
Diffstat (limited to 'libdocument/ev-document.h')
-rw-r--r--libdocument/ev-document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index 24e31912..46a0971c 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -118,6 +118,9 @@ struct _EvDocumentClass
gboolean (* get_backend_info)(EvDocument *document,
EvDocumentBackendInfo *info);
gboolean (* support_synctex) (EvDocument *document);
+
+ void (* toggle_night_mode) (EvDocument *document,gboolean night);
+ void (*check_add_night_sheet)(EvDocument *document);
};
GType ev_document_get_type (void) G_GNUC_CONST;
@@ -184,6 +187,8 @@ EvMapping *ev_document_synctex_forward_search
gint ev_rect_cmp (EvRectangle *a,
EvRectangle *b);
+void ev_document_toggle_night_mode (EvDocument *document,gboolean night);
+void ev_document_check_add_night_sheet (EvDocument *document);
#define EV_TYPE_RECTANGLE (ev_rectangle_get_type ())
struct _EvRectangle