1280 X 960
For centering your bottom bar graphic, divide the width by 1/2.
Minus the width of 1/2 your graphic from that.
Ie; 1280 / 2 = 640
Say your graphic is 480 wide.
480 / 2 = 240
640 - 240 = 400
400 becomes your x position for a centered bottom bar.
Now for the y position, take the height of your graphic and minus it from your screen height number.
Ie; Say your graphic is 145 height.
960 - 145 = 815
815 becomes your y position.
This puts it at the extreme bottom and centered in your resolution.
|