more help with vc integration

Recommended Posts

so i had a play with drawing the rxp 530 screen on top of the laminar 530 in the STMA PC12. it displays, but i must have the numbers wrong, because its way out from where it shold be. the two numbers worked out from the panel preview give an xand y co-ords of where to graw the screen? maybe i got them wrong, but what do the other two numbers mean?

will have another fiddle around tomorrow.



Share this post

Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

It is hard to tell without at least a screenshot! However, are you sure you've properly set your "top" value?

As documented page 16 of the User's Manual:

(height of the Panel_Preview.png - Y1)

The two points your picking up are just the top left and bottom right corners of the GNS screen as captured in the panel preview screenshot. This permits you to compute width and height of the screen (simple subtractions). And you have to do the (Height - Y1) for the 'top' value because the panel coordinate system starts from the bottom, instead of the top of the image.


Share this post

Link to post
Share on other sites

This looks great, congratulations on the integration!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now