<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
On 1/3/2021 5:42 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:7015f7cc-b228-75e7-1e2c-de83a5e64fff@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">Juan,<br>
</font></p>
<p><font size="+1">The patch you provided works nicely:</font></p>
<p><img moz-do-not-send="false"
src="cid:part1.00080201.08020708@jvuletich.org" alt=""
height="368" width="373"></p>
<p>The ChevronMorph (actionable buttons in the circular bar, both
with or without icon) are kind of PluggableButton. To get the
expected behavior when clicking the chevron, I have to write
morphContain: to respond always true. It makes the behavior
working when mouseUp (I have not tested the other behaviors). It
does not seem to affect the other behavior of the chevron.</p>
</blockquote>
<br>
Well, it is a hack I don't like, but the easiest solution until we
draw everything with VectorCanvas, and then #morphContainsPoint: is
no longer needed.<br>
<br>
<blockquote cite="mid:7015f7cc-b228-75e7-1e2c-de83a5e64fff@drgeo.eu"
type="cite">
<p>Code for try out at: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://github.com/hilaire/cuis-xp">https://github.com/hilaire/cuis-xp</a>,
Morphic-Circular package<br>
</p>
<p>A few remarks:</p>
<ul>
<li>An option to not rotate the icon would be nice. See the
toolbar, at the bottom the icon is up side down and may not be
easy to recognize.</li>
</ul>
</blockquote>
<br>
Just added it.<br>
<br>
<blockquote cite="mid:7015f7cc-b228-75e7-1e2c-de83a5e64fff@drgeo.eu"
type="cite">
<ul>
<li>When there is an error in the drawOn: method, I noted Cuis
gets lock in a loop. The red rectangle we usually have on
drawing error does not show up.<br>
</li>
</ul>
</blockquote>
<br>
Oh, yes. That was a bug in HybridCanvas. Just fixed it. Thanks!<br>
<br>
<blockquote cite="mid:7015f7cc-b228-75e7-1e2c-de83a5e64fff@drgeo.eu"
type="cite">
<p>Thanks</p>
<p>Hilaire<br>
</p>
<div class="moz-cite-prefix">Le 03/01/2021 à 16:37, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:5FF1E4CE.4070500@jvuletich.org">Well,
the idea is to add support for drawing Forms to VectorEngine. I
haven't given that priority yet, because I think in general
vector graphics are preferable (if it is possible to choose).<br>
<br>
The attach is a hack using the venerable WarpBlt, that can
rotate and scale Forms. Please try it. It might suffice until we
have the VectorEngine VM plugin. If it works for you, I'll later
merge it.<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://pouet.chapril.org/@hilaire">https://pouet.chapril.org/@hilaire</a></pre>
</blockquote>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>