Sign in to follow this  
Guest titan_ve

ON/OFF Switch

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

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

Share this post


Link to post
Share on other sites

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