diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-10 14:15:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-16 09:20:47 +0100 |
commit | 0135d5d5c2a41bc306062334db731b98438a6caf (patch) | |
tree | 03b8da29a821dea214d4e9b2f0f64a68d90cd7c4 /include | |
parent | lokdocview: avoid loading the handle bitmaps again and again (diff) | |
download | core-0135d5d5c2a41bc306062334db731b98438a6caf.tar.gz core-0135d5d5c2a41bc306062334db731b98438a6caf.zip |
lokdocview: allow dragging the middle handle
Change-Id: I83ef2797c17c8de8f8e9b5f3dcbe9adb34eb4313
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; }; |