Quantcast preparing a new ui - LoTROInterface
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > XML modification help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 08-04-2007, 12:01 AM
Aalwein's Avatar
Aalwein Aalwein is offline
GM, Scarlet Underground
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 163
preparing a new ui

Alright guys, how do I generate the numbers needed to be subtracted from the X and Y values of the "ToolbarField."

I'm looking for the values in the formulas:
*screen resolution width* / 2 - *X VALUE*
and
*screen resolution height* - *Y VALUE*

I'm assuming the value is derived from the size of the letterbox image, but I can't figure out how to generate it.
Reply With Quote
  #2  
Unread 08-04-2007, 06:43 AM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
Are you trying to center the toolbar on the bottom of the screen? If so, then here are the fomulas:

X = (screenwidth/2) - (toolbarwidth/2)
Y = screenheight - toolbarheight
Reply With Quote
  #3  
Unread 08-04-2007, 01:29 PM
Aalwein's Avatar
Aalwein Aalwein is offline
GM, Scarlet Underground
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 163
Thanks hicks, thats exactly what i was looking for.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:33 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui