Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Locating a gauge in 2D Panel

Featured Replies

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

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

  • Author

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.