23 Commits

Author SHA1 Message Date
Tor Lillqvist
c59fce8b51 There is no touch_lo_render_windows() any more
Change-Id: I5a918a6ae4159dd561e46116f612037e194a4847
2014-05-07 13:15:40 +03:00
Michael Meeks
59197dea29 Targetted text updates, with seasonable changes before l10n freeze.
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13 17:00:07 +00:00
Tor Lillqvist
f3a59f5890 Make this compile for Android again
Change-Id: I0b476873f76e6dd480868ec4d443718cab36cf24
2013-11-17 14:34:25 +02:00
Ptyl Dragon
2a7ccf0c0a added units MLODpxes and MLORips
Change-Id: Ica09fbd0f6a822f464df302dba4cf40d1d089697
2013-11-15 16:51:58 +01:00
Tor Lillqvist
50db10cac3 Fix copypasta
Change-Id: Ib5e7162426ab08a1912a19d4e3a00c794e4fb80e
2013-11-15 16:51:58 +01:00
Ptyl Dragon
814ca0766e ready for integration with CATiledLayer
Change-Id: I50f519a37036ed3d17f73c80b33f4a9c4c19cb52
2013-11-15 16:51:57 +01:00
Ptyl Dragon
2c27c563ef created a long long unit for MLOContentSize
Change-Id: I41910058088161119d3cae8ca625d456652d890f
2013-11-15 16:51:56 +01:00
Ptyl Dragon
46f2b5388c changed to CGSize
Change-Id: Ic84fcadf4332210693586825cdd8e32ef0f2a727
2013-11-15 16:51:55 +01:00
Ptyl Dragon
53001c774a added the touch_lo_get_content_size to touch.h
Change-Id: I53287cbc84f99b56f575479860c3e8f890c49a35
2013-11-15 16:51:55 +01:00
Ptyl Dragon
2ffb7509ec refactored to allow copying FixedImage to ios
Change-Id: Icecdae8ea2bb68c228f038758af8fb688ce9dd4a
2013-11-15 16:51:51 +01:00
Tor Lillqvist
139bd9b440 Add first attempt at an error message etc API
Add a touch_ui_dialog_modal() function which in some way displays an
error or other message to the user, and possibly offers the
possibility to choose some "OK", "Cancel", "Retry", "Ignore" type of
response. Note that the "modality" is from the point of view of the LO
thread.

Change-Id: I1b2ad15854f8d76e2c30f93fb5356fad7e5d02ca
2013-11-01 00:21:38 +02:00
Tor Lillqvist
54ef5bd641 More work on selection handling in iOS
Got the selection start and end handle dragging working... The trick was not
to call SwWrtShell::SetCursor(), but SwCrsrShell::SetCrsr(). Sounds easy but
took a lot of guessing and experimentation to figure out. Anyway, now it does
what I had expected it to do a few das ago already.

There are glitches, especially in corner cases like if you move the start
handle past the end handle or vice versa.

more

Change-Id: Id6c1d99a4052531789bccf0d48165cfb41b89cfe
9b94c0dd55b04a7b6b3c40654562a9c51fa9b450
2013-10-23 00:19:20 +03:00
Tor Lillqvist
657a3a8182 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
2013-10-22 01:10:41 +03:00
Tor Lillqvist
4d8f12f57b More text selection WIP hacking
Change-Id: Ia29725295613faf875a688b3917b144a5f05bbe3
2013-10-18 18:48:03 +03:00
Tor Lillqvist
24f8446c9e Work in progress: Text selection handling for iOS
Change-Id: I31c6bcb9a4b26653d439601f78d71fd94d938eeb
2013-10-18 15:45:20 +03:00
Jan Holesovsky
f2202fed9e Tiles: Documentation of the parameters.
Change-Id: Ibe31a105972cee2aff9b6896cdd80bd93a1a0e7d
2013-10-17 11:11:39 +02:00
ptyl@cloudon.com
d8e8e6bcbe added draw tile signature and select all fix
Change-Id: I6118c55caa12d9ba52000f89e869e27b218859be
2013-10-17 11:11:39 +02:00
ptyl@cloudon.com
79d83741eb New iOS client code
does not work yet - needs fix by tor after refactoring of ios-bootstrap.h

Change-Id: I0728306beb734511bd3f16e2e4922fd726bb37da
2013-10-15 22:38:04 +03:00
Tor Lillqvist
12b1ca3236 Hacking on iOS keyboard handling
Change-Id: I0d842cc951cb5a3e7e990f835f541ccf1bd89df6
2013-10-13 23:17:39 +03:00
Tor Lillqvist
e9f260b380 Minor refactoring of iOS code
Rename functions so that functions called by the UI layer for actions
to happen in the LO layer and functions called by the LO layer for
things to happen in the UI layer use different prefixes. Move
declarations to the generic <touch/touch.h> and avoid iOS-specific
types in the API.

Change-Id: Ieb8979065e02a87c4a415c934163265f2790d011
2013-10-13 23:17:38 +03:00
Tor Lillqvist
fdba797bd9 These constants are needed also for some code inside HAVE_FEATURE_DESKTOP
Change-Id: I3c87ac7a4696bee732fdb2bb9120ac3d50e9e664
2013-10-09 17:42:37 +03:00
ptyl@cloudon.com
4e7495ac2c Fix for iOS scroll by pixels, and pinch to zoom
Minor further changes by tml to match the coding style of surrounding
code mainly.

Change-Id: Ied6087a264f1c6b00763ea36fba9808329afede4
Reviewed-on: https://gerrit.libreoffice.org/5742
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2013-10-09 14:37:46 +00:00
Bjoern Michaelsen
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00