From 0135d5d5c2a41bc306062334db731b98438a6caf Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 10 Feb 2015 14:15:42 +0100 Subject: lokdocview: allow dragging the middle handle Change-Id: I83ef2797c17c8de8f8e9b5f3dcbe9adb34eb4313 --- include/LibreOfficeKit/LibreOfficeKitGtk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index d3e663d96ec8..95288cd9557b 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -60,6 +60,10 @@ struct _LOKDocView cairo_surface_t* m_pHandleStart; /// Bitmap of the text selection middle handle. cairo_surface_t* m_pHandleMiddle; + /// Rectangle of the text selection middle handle, to know if the user clicked on it or not + GdkRectangle m_aHandleMiddleRect; + /// If we are in the middle of a drag of the text selection middle handle. + gboolean m_bInDragMiddleHandle; /// Bitmap of the text selection end handle. cairo_surface_t* m_pHandleEnd; }; -- cgit