richmondmathewson at gmail.com
Tue Feb 28 07:58:08 EST 2017
I have mentioned several times how I would like SVG import to be as
simple as PNG import,
and all handling subsequently as simple as other image formats. I
suspect the price of being able
to rotate SVG images (set the angle) in a way which means they don't go
"all fuzzy" is that they
cannot be handled like other images.
So . . . can any one tell me how to effect a "grab" (which is the same
whether with a PNG image, a button
or a graphic object) with a widget?
Very Possible Richmond.
On 2/28/17 2:41 pm, Graham Samuel via use-livecode wrote:
> I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don’t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which function in the same way as other images with respect to mouse messages etc.
> Does this make sense or have I entirely got the wrong end of the stick (wouldn’t surprise me)?
> Looking at that very interesting thread in the forum, I feel less comfortable than I ever have done about the development trajectory of LiveCode. I mean, extensions (like widgets) are fine, but what is not so fine IMHO is that ‘legacy’ ways of working should be deprecated when they have served developers so well for so long. OTOH I am getting old, so maybe that’s why I feel disturbed about it. You may see GOM (Grumpy Old Man) entering into the alphabet soup.
>> On 28 Feb 2017, at 04:10, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
>> This is not a bug because a widget is not an ordinary control:
>> Nearly all user interaction has to be allowed and scripted.
>> I implemented a kind of "grab" in some of my LC8-widget examples.
>> You can for example also Not focus on a widget from LC Script (that's
>> why the browser widget is 'robust' against commands like "click").
>> To the current handling of elementary mouse messages by widgets/LCB
>> see for example here, in the LC Builder forum
>> I don't know what's updated since then because the widget format changed
>> again with LC 9, so I wait first for a stable release before going on.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode