Jump to content

Sign in to follow this  
Rocky

Locating a gauge in 2D Panel

Recommended Posts

Hello,I am trying to make a 2D panel "introspection".I have the X,Y coordinates of a point (relative to the FS Window) and I would like to locate what gauge, if any, is located at these coordinates.Do you know how this can be done?If possible, I would like to fetch the list of all the gauges, with their position (X,Y), width and height, but I don't know if this can be found...Thanks for any info.Eric

Share this post


Link to post
Share on other sites

Hi Eric,I haven't heard of such a program that does this kind of panel.cfg analysing...But you being a C++ programmer, it shouldn't be too difficult to make such a panel.cfg parsing program, should it ??Or maybe such a program could more easily be made in XML ?? :-)Cheers, Rob

Share this post


Link to post
Share on other sites

Hello Rob,I apreciate your humour :-) (seriously), but I'm not sure everyone will understand this joke...Indeed, one possible solution consists in parsing the panel.cfg file, but 1) it is complex (even in C++) and 2) I don't know how to find the name of the panel.cfg currently loaded.Thanks for your help anyway !!Eric

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...