summaryrefslogtreecommitdiff
path: root/vcl/inc/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-22 01:06:56 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-22 01:10:41 +0300
commit657a3a81828216240b6ff31377d62ca17e656368 (patch)
tree5729af9bbbd63c5d729ad183b14d52065d70fffa /vcl/inc/ios
parent36fb29338bbe2f3013ccedd244043e510b9ba0c1 (diff)
Try to handle selection resizing in a more "correct" way
Faking mouse clicks is a stupid way to do it of course. Try to do it "right". For now just worked on moving the end handle, but once that works, similar code should be used for the start handle, too. Does not work yet. It is hard to extract out from SwEditWin::MouseButtonDown() exactly what all is relevant, and what isn't, for this use case. Change-Id: I76a226f787facbac645aaff8b4852d693bcf4ccb
Diffstat (limited to 'vcl/inc/ios')
-rw-r--r--vcl/inc/ios/iosinst.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/ios/iosinst.hxx b/vcl/inc/ios/iosinst.hxx
index 2ff9e5784f14..0dfa7eb2f750 100644
--- a/vcl/inc/ios/iosinst.hxx
+++ b/vcl/inc/ios/iosinst.hxx
@@ -52,6 +52,7 @@ public:
void damaged( IosSalFrame *frame,
const basegfx::B2IBox& rDamageRect);
+ // Functions scheduled to be run as "user events" in the LO thread
typedef struct {
bool done;
CGContextRef context;
@@ -61,6 +62,12 @@ public:
DECL_LINK( DisplayConfigurationChanged, void* );
+ typedef struct {
+ const void *documentHandle;
+ int x, y;
+ } SelectionEndMoveArg;
+ DECL_LINK( SelectionEndMove, SelectionEndMoveArg* );
+
pthread_mutex_t m_aRenderMutex;
pthread_cond_t m_aRenderCond;
};