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.

ON/OFF Switch

Featured Replies

Hello!!, Im trying to do a switch for an ON/OFF operation, i'm using the MAKE_ICON macro but I dont find where should put both image for ON and OFF positions, does anyone know about a good tutorial for this?? Im reading the FS tutorial but I dont still find the way to do thisThank you in advance

The documentation of the MAKE_ICON macro is in the FS Panel SDK, and in the gauge.h file.The FS SDK comes with sample instruments demonstrating each element type, and you can use that code as a study aid.Have you had a look at those yet?

Yes, I have read it!, it talks about Fuel Selector example, but where should I specifically write to use the images...??thanx

  • Moderator

Hmmm... not to be a smart alek, but it would take writing a tutorial to reply to your question.Why not simply download and study Dai Griffith's masterpiece, along with the sample gauge code in the Panels & Gauges SDK?Look for sd2gau18.zip here or at flightsim.com

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Ok i'll try to discover how things work!!, thank you!! I'll research through the gauge example =)

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.