summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-10 10:12:02 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-16 09:38:03 +0100
commitd440dd241249efbd3f7357e38b1da5b2dd69d242 (patch)
tree012f4c30cb0bb0f8e56cff0f12f9bf3173aef362 /include/LibreOfficeKit
parent65726aae458d5af0e438dd8494a9812770c06186 (diff)
lokdocview: use lok::Document::setGraphicSelection()
With this, it's now possible to resize images in Writer. Change-Id: I2f557d6a64efda54959627d21406aef85160e470
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index ae0aa0e5b5ac..d83dbd28e804 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -82,7 +82,15 @@ struct _LOKDocView
gboolean m_bInDragEndHandle;
///@}
+ /// @name Graphic handles.
+ ///@{
+ /// Bitmap of a graphic selection handle.
cairo_surface_t* m_pGraphicHandle;
+ /// Rectangle of a graphic selection handle, to know if the user clicked on it or not.
+ GdkRectangle m_aGraphicHandleRects[8];
+ /// If we are in the middle of a drag of a graphic selection handle.
+ gboolean m_bInDragGraphicHandles[8];
+ ///@}
};
struct _LOKDocViewClass