Jump to content
  • Advertisement
Sign in to follow this  
GameMasterXL

Windows API

This topic is 4591 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does the windows API use bitmaps for the controls in a window like the border on a button and the buttons shape ect also the menus and everything esle is this all bitmaps? or are they drawn?

Share this post


Link to post
Share on other sites
Advertisement
I believe they are bitmaps. I don't have the proper tools for poking around in the resources of dlls installed on this pc, but my guess would be that the bitmaps are found in the resource section of system dlls like user32.dll, shell32.dll, comctl32.dll, comdlg32.dll, etc and maybe also win32k.sys.

Share this post


Link to post
Share on other sites
Why do you ask?

I'm reasonably sure that borders are drawn. It would be a huge waste to store them as bitmaps and wouldn't scale well if at all. Other UI elements are actually stored as characters in fonts, take a look at wingdings and you'll see some of the characters rather closely resemble the actual UI element (in some themes anyway), others are actually at bitmaps.

Share this post


Link to post
Share on other sites
Quote:
I'm reasonably sure that borders are drawn. It would be a huge waste to store them as bitmaps and wouldn't scale well if at all.


They're tiled bitmaps.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!