A Simple Discrete-Event Simulation: Part 88

Direct link for mobile devices.

Today I updated the code to define DisplayGroups for all non-Path components, which means the internal data for each component will become visible when the relevant component is clicked. Moreover, each visible DisplayGroup object can be dragged to a new location. These operations work for both mouse and touch operations. Try it out and see what you think.

I’m still highly annoyed that the intersection test doesn’t always generate the proper result, which causes the pointer not to be displayed, but the effect is otherwise pretty smooth.

I cleaned up some code that caused the frame colors for the DisplayGroups to not be consistent (mostly by commenting out some old stuff) and shortened up the definition function for DisplayGroups to use default colors that can be customized separately.

Here’s the code for handling events, made consistent for mouse and touch ops.

This entry was posted in Software and tagged , , , , , . Bookmark the permalink.

Leave a Reply