Re: Touch support in Abiword

From: Carlos Garnacho <carlos_at_lanedo.com>
Date: Mon Sep 10 2012 - 16:04:06 CEST

Hey :),

Following up on old topics,

On mar, 2012-07-24 at 11:46 +0000, Martin Edmund Sevior wrote:

> [1] http://git.gnome.org/browse/gtk+/tree/gtk/gtktexthandleprivate.h?h=touch-text-selection
> -----------------------------------------------------------------------------------
>
> OK this should work quite well with abiword. The code would interact wih src/text/fmt/xp/Fv_View.(h,cpp). With can put the gtk specific code with in src/text/fmt/gtk where we already have code for gtk drang and drop.
>
> We will need to add code to change the start and end points of text selection but that should be straight forward.
>
> This will be fun :-)

I've been working on this, and just attached an implementation into:
http://bugzilla.abisource.com/show_bug.cgi?id=13410

On the patch it's been only made to enable selection handles for
touchscreen devices, so it could need some tweaking to test on eg. mice.
Here's a screenshot of the feature with the right theming bits in place:
http://www.lanedo.com/~carlos/abiword-handles.png

Cheers,
  Carlos
Received on Mon Sep 10 16:04:19 2012

This archive was generated by hypermail 2.1.8 : Mon Sep 10 2012 - 16:04:19 CEST