Jump to content
Sign in to follow this  
Guest titan_ve

ON/OFF Switch

Recommended Posts

Guest titan_ve

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

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

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?

Share this post


Link to post
Share on other sites
Guest titan_ve

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest titan_ve

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

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...