diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-10 11:41:59 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-16 09:20:47 +0100 |
commit | 13de1b87b80fede4179a56f720534f64a74a15c7 (patch) | |
tree | bd380af1f64ac26c5b191199c178621e5c04bc6c /include | |
parent | 2e70fa6968bd77bca3a21685974c869d55f79dec (diff) |
lokdocview: avoid loading the handle bitmaps again and again
Change-Id: I767a1c0ddce4e06d421b6bb951aa6d0451943f89
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 04d61adebfb7..d3e663d96ec8 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -52,8 +52,16 @@ struct _LOKDocView guint32 m_nLastButtonReleaseTime; /// Rectangles of the current text selection. GList* m_pTextSelectionRectangles; + /// Position and size of the selection start (as if there would be a cursor caret there). GdkRectangle m_aTextSelectionStart; + /// Position and size of the selection end. GdkRectangle m_aTextSelectionEnd; + /// Bitmap of the text selection start handle. + cairo_surface_t* m_pHandleStart; + /// Bitmap of the text selection middle handle. + cairo_surface_t* m_pHandleMiddle; + /// Bitmap of the text selection end handle. + cairo_surface_t* m_pHandleEnd; }; struct _LOKDocViewClass |