[Cuis-dev] Showing Embed Morph Targets

Juan Vuletich juan at jvuletich.org
Wed Jan 13 07:08:50 PST 2021

Hi Folks,

Please take a look at the attached. Here, I integrated highlighting into 
the framework, with a cheap boolean property in every morph, and drawing 
done by the canvas. It avoids touching Display directly, although the 
VectorCanvas implementation should be cleaner.


On 1/9/2021 6:59 PM, Hilaire Fernandes via Cuis-dev wrote:
> Tested. It does the job.
> May be just a flashing frame around the morph? Okay maybe not.
> In DrGeo I make the morph to blink as long as the mouse cursor is over 
> the matching menu item. The menu is translucent, so you can see 
> underneath. But I use the step mechanism, not desirable here, in the 
> other hand it renders more nicely than flashing directly with Display.
> Hilaire
> Le 09/01/2021 à 22:25, ken.dickey--- via Cuis-dev a écrit :
>> It was suggested at Juan's talk that embedding a Morph via (sub)menu 
>> should show/highlight the target Morph.
>> Attached is a quick proof-of-concept.
>> It does the job, but I am not quite happy with it.
>> Perhaps someone could clean this up?
>> Cheers,
>> -KenD
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> https://pouet.chapril.org/@hilaire

Juan Vuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210113/2d361916/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4521-CuisCore-JuanVuletich-2021Jan13-12h02m-jmv.001.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210113/2d361916/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UnsavedChangesTo-VectorGraphics-jmv.005.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210113/2d361916/attachment-0001.ksh>

More information about the Cuis-dev mailing list