Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SSJCORY

About windows Rectangles

This topic is 5389 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

In my book it only showed how to make a rectangle the size of a window. It never showed how to position a rectangle if you wanted one within your window could someone plz show an example of how to do this, it would be greatly appreciated. THNX
Favorite Quotes:Gandalf: You shall not pass!|Gollum: My Precious!|Smeagol: My little hobbitses.|

Share this post


Link to post
Share on other sites
Advertisement
All you need to do is change the values...
Rect.left, Rect.right, Rect.top, Rect.bottom

or you could declare them like this...

RECT Rect = { x, y, w, h };

Share this post


Link to post
Share on other sites

  • 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!