summaryrefslogtreecommitdiff
path: root/libreofficekit/Executable_gtktiledviewer.mk
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-08 08:54:13 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-12 05:19:12 +0200
commita864ab2ef17e02930df5ae91112b5104bdea1e39 (patch)
treeecd53e8aa034a7eb02197795be6bf9923a7206f4 /libreofficekit/Executable_gtktiledviewer.mk
parentdfdc9f5ba4493369a0c6fb3a1d7c5781deeb5bc2 (diff)
Implement a (qa-only) quad-tiled viewer.
I.e. we subdivide the document into 4 tiles: one at 100% scaling, one at 200%, one at 50%, one at 25% -- these are then post-scaled in gdk) and assembled to show as one document again. This is specifically a test only widget, primarily to be able to quickly spot any tile positioning/border-transition issues. We could theoretically make this widget inherit from the original widget, however that would mean having to introduce virtual methods etc., which is not something that we'd want in production -- in the longer run that widget will hopefully be extended to have proper tile composition etc., which would then break this widget too if it were inheriting from there. Change-Id: Ib880a1614f89724135e753013cf91aec25973e39
Diffstat (limited to 'libreofficekit/Executable_gtktiledviewer.mk')
-rw-r--r--libreofficekit/Executable_gtktiledviewer.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/Executable_gtktiledviewer.mk b/libreofficekit/Executable_gtktiledviewer.mk
index 0ce922288165..d4ef643693d1 100644
--- a/libreofficekit/Executable_gtktiledviewer.mk
+++ b/libreofficekit/Executable_gtktiledviewer.mk
@@ -42,6 +42,10 @@ $(eval $(call gb_Executable_add_libs,gtktiledviewer,\
))
endif
+$(eval $(call gb_Executable_add_cobjects,gtktiledviewer,\
+ libreofficekit/qa/lokdocview_quad/lokdocview_quad \
+))
+
$(eval $(call gb_Executable_add_exception_objects,gtktiledviewer,\
libreofficekit/qa/gtktiledviewer/gtktiledviewer \
))