diff options
author | rootavish <[email protected]> | 2014-08-14 07:41:35 +0530 |
---|---|---|
committer | rootavish <[email protected]> | 2014-08-14 07:41:35 +0530 |
commit | 700637ca1dd675ce18f2e9e56387dab86020a623 (patch) | |
tree | c442065088b57266d7d9519b07f3226474c8293d /libdocument/ev-document.c | |
parent | 89bf352b3d2725b11328e7641cef5c3cc2a8ea39 (diff) | |
download | atril-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.c')
-rw-r--r-- | libdocument/ev-document.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c index a242bdf6..667f89f1 100644 --- a/libdocument/ev-document.c +++ b/libdocument/ev-document.c @@ -910,3 +910,17 @@ ev_rect_cmp (EvRectangle *a, (ABS (a->x2 - b->x2) < EPSILON) && (ABS (a->y2 - b->y2) < EPSILON)); } + +void +ev_document_toggle_night_mode(EvDocument *document,gboolean night) +{ + EvDocumentClass *klass = EV_DOCUMENT_GET_CLASS(document); + return klass->toggle_night_mode(document,night) ; +} + +void +ev_document_check_add_night_sheet(EvDocument *document) +{ + EvDocumentClass *klass = EV_DOCUMENT_GET_CLASS(document); + return klass->check_add_night_sheet(document) ; +}
\ No newline at end of file |