I have added a new mover class to Realtime, and pushed an example to GitHub.
MODIFY CLASS mover of realtime.vcx
https://www.github.com/RickCHodgin/realtimeI have these additions validated:
(1) Overlay images -- tested, okay
(2) Save captured rectangle objects -- tested, okay
(3) Visible or not visible -- tested, okay
These are not yet implemented, but are planned:
(4) Alternate objects drawn during events -- such as when an object is dragged, it uses a different graphic
(5) Mask -- (Will only signal click, rightClick, mouseEnter, mouseLeave, dragDrop initially, other signals are planned)
Blessings,
Rick C. Hodgin
>The Realtime project has been posted:
https://github.com/RickCHodgin/realtime>
>It was originally designed for someone who monitors real-time production flow in a commercial facility. It's been stripped down to a raw screen and the options which exist are very generic to demonstrate some of the range of abilities. I'll make it look nicer in the days to come. :-)
>
>To run, download or clone, then go to the "realtime" directory and run "realtime.exe" or from VFP type "do go". Click the green buttons to show the controls. MouseDown over the hideous orange boxes to speed up or slow down the refresh, and to introduce points other than the auto-generated sine wave. MouseDown and moving back and forth speeds up/slows down, and introduces the points.
>
>To view the class settings code:
>
MODIFY FORM frmMain
>MODIFY CLASS realtime_dll OF realtime.vcx
>MODIFY CLASS gauge OF realtime.vcx
>MODIFY CLASS graph OF realtime.vcx
>
>
>Please report any bugs (
www.visual-freepro.org email address in upper-left). Thanks! :-)
>
>
>
UPDATE: A new version was pushed out to GitHub. Now, on the graph, it removes data points to the left of the margin and uses a second color for the background horizontal bars.