EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-14-2004, 06:20 PM
Imadruid Imadruid is offline
A Dervish Cutthroat
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 38
Default Any ideas how the Pack... properties work?

I undertsand the concepts of PACKing UI objects from Java. I'm just having a hard time wrapping my brain around things like:

PackLocationProp="-027/0001,-001/0001"
PackSize="absolute,absolute"
PackSizeProp="-013/0001,-003/0001"

I can't seem to make sense of those numbers and size values. Most of my modding seems to be working without me ever touching these values.

Does anyone know what they are referring too? Please give me some indication if you are guessing or 100% sure. Thanks.

BTW, is there a manual somewhere (accessible) that lists what all these parameters are? I have searched their site and the install directories, and I haven't come arosss anything that resembles a developer manual.

Last edited by Imadruid : 11-14-2004 at 10:00 PM.
Reply With Quote
  #2  
Unread 01-01-2005, 02:08 PM
Rainheart's Avatar
Rainheart Rainheart is offline
A Young Mystail Rat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Befallen
Posts: 7
Default

I don't understand the modifications for these parameters yet..but here's a quote from the manual (which I don't understand either)

------------
8.7.2 PackLocation
Type:UIString
The PackLocation determines how a widget is re-positioned when it's parent changes size. The locations are represented as simple relationships between a widget edge, and a parent edge. The Child edge goes first, followed by the relationship, then finally the Parent edge. The two relationships are:

· Fixed - maintain a fixed number of pixels between the 2 edge
· Proportional - maintain the proportion between the edge distances and the parent widget size

The edges that may be referred to are:

· Near - Left for horizontal, Top for vertical
· Far - Right for horizontal, Bottom for vertical
· Center - The center point x value for horizontal, y value for vertical

Syntax example:

NFN,CPF

Horizontal: Child Near Edge - Fixed - Parent Near Edge
Vertical: Child Center - Proportional - Parent Far Edge

Horizontally, the near edge of the widget is kept a fixed distance from the near edge of the parent. Vertically, the center of the widget is kept a proportional distance from the far edge of the parent. Some combinations, obviously, are more useful than others.



8.7.3 PackSize
Type: UIString
PackSize indicates how the widget is re-sized when its parent changes size. The relationships are:

· Fixed - keep the size constant
· Proportional - keep the proportion between the widget's size and parent's size constant
· Absolute - keep the difference between the widget's size and parent's size constant

Syntax example:

A,F

Horizontal: Maintain a constant distance between Child and Parent Edges
Vertical: Keep the Child size constant

This example would work for stretching the menu on the map when it is resized to full screen.

Keep the widget a fixed size horizontally, but expand/contract vertically to maintain a fixed difference between the widget's height and parent's height.
----------------

In other words...it's all about how the resizing of the parent window affects it's sub-windows.
The manual for the UIBuilder is in the UIBuilder's root Directory btw
__________________
Amateur Modder
Talonis - Guardian - Befallen Server

"Better to remain silent and be thought a fool, than to speak and remove all doubt"
Reply With Quote
  #3  
Unread 01-02-2005, 04:44 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

RainHeart pretty much summed up PackLocation and PackSize. (On a side note, thanks for that image. Was that in the doc file? Wordpad didn't show that.)

PackLocationProp and PackSizeProp don't do anything, they're simply there for reference (helps making sure things are just up against the right edge, for example) and alter themselves if you move things around.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #4  
Unread 01-02-2005, 04:47 AM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Doc Viewer:
http://www.microsoft.com/downloads/d...displaylang=EN
Reply With Quote
Reply



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:34 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI