Thread: GUI scaling
View Single Post
  #14  
Old 12-26-2009, 08:55 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Something like this would be cool:
PHP Code:
new GuiControl(TestControl)
{
  
scale = true; // something like this, to show it should be proportional to the screen size
  
x = .4; // equivalent to screenwidth*.4
  
y = .5; // equivalent to screenheight*.5
  
width = .5; // half the width of the screen
  
height = .2; // 1/4th the height of the screen
} 
Edit: If it was actually proportional to the parent control, that would be best.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote