Jump to content
Sign in to follow this  
Guest newmav

Limit of 10 icons in MAKE_ICON?

Recommended Posts

Guest newmav

I am trying to make an icon that is composed of 15 images (including the background), but it will only recognize return values of 0 - 9. Is there a 10 image limit, or am I doing the memory mapping wrong? Here is what I have:#define BMP_ICON_BACKGROUND 0x2700#define BMP_ICON_45LEFT 0x2701#define BMP_ICON_30LEFT 0x2702#define BMP_ICON_45LEFT30PITCH 0x2703#define BMP_ICON_45LEFT45PITCH 0x2704#define BMP_ICON_30LEFT45PITCH 0x2705#define BMP_ICON_30LEFT30PITCH 0x2706#define BMP_ICON_45PITCH 0x2707#define BMP_ICON_30PITCH 0x2708#define BMP_ICON_45RIGHT 0x2709#define BMP_ICON_30RIGHT 0x2710#define BMP_ICON_45RIGHT30PITCH 0x2711#define BMP_ICON_45RIGHT45PITCH 0x2712#define BMP_ICON_30RIGHT45PITCH 0x2713#define BMP_ICON_30RIGHT30PITCH 0x2714Thanks for any help!

Share this post


Link to post
Share on other sites
Guest bartels

Don't use hex indices or count hex properly:#define BMP_ICON_30RIGHT 0x270A#define BMP_ICON_45RIGHT30PITCH 0x270B#define BMP_ICON_45RIGHT45PITCH 0x270C#define BMP_ICON_30RIGHT45PITCH 0x270D#define BMP_ICON_30RIGHT30PITCH 0x270E....0x270F....0x2710...

Share this post


Link to post
Share on other sites
Guest newmav

Thank you much! I forgot my hex.

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...