EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-23-2006, 12:10 PM
Virodeath Virodeath is offline
A Fallen Diplomat
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 54
Default Can someone explain these var's please

<Page Activated="true" eq2usescomwndcontrols="true" Location="489,26" MaximumSize="1024,1024" MinimumSize="20,20" Name="Bag" ScrollExtent="35,50" Size="35,50" UserMovable="true">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,-1" Name="WC_Frame" PackLocation="left,top" PackLocationProp="0000/0001,-001/0001" PackSize="absolute,absolute" PackSizeProp="-005/0001,-002/0001"
RStyleDefault="/FrameStyles.win_gold_plain" ScrollExtent="40,52" Size="40,52" UserScrollable="false" Visible="false"/>
<Button LocalTooltip="Close" Name="WC_CloseButton" PackLocation="right,top" PackLocationProp="-035/0001,0000/0001"ScrollExtent="15,15" Size="15,15" Style="/ButtonStyles.close_button" Tooltip="Close" UserMovable="true"></Button>
<Button LocalTooltip="Window Options" Location="20,0" Name="WC_OptionsButton" PackLocation="right,top" PackLocationProp="-015/0001,0000/0001" ScrollExtent="15,15" Size="15,15"
Style="/ButtonStyles.options_button" Tooltip="Window Options" UserMovable="true"></Button>

What I am trying to do is convert the verticle bags mod from a 35,35 size to a 24,24 size and I understand the lower half of the code but I am not sure what the above settings are doing. Can anyone explain or point me to a location that explains it? Thanks!

Viro

P.S.

None of the above has been modified yet it is still original code from Weegie's Vert Bag Mod.
Reply With Quote
  #2  
Unread 05-23-2006, 07:01 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

There is a doc provided by SOE that explains most of this, its on your hard drive. Also be aware the bag window is hard coded to resize based on the number of slots in the actual bag. Changing the slot size means you'll have to use OnShow scripts to override SOE's autosizing. I stronly suggest you look at how other's have delt with this window.

<Page The most basic UI building block, a retangle container of other objects that can have its own graphic style

Activated="true" The page object's control state, usually used to trigger OnActivate and OnDeactivate script handlers. In this case there are no associated handlers

eq2usescomwndcontrols="true" the page uses the standard EQ2 window setting controls

Location="489,26" X and Y offset of the page's top left corner from its parent object's top left corner

MaximumSize="1024,1024" The Page's max width and height

MinimumSize="20,20" The Page's min width and height

Name="Bag" object name for internal referencing of scripts, hardcoded functions and slash commands

ScrollExtent="35,50" Size of the scrollable area within the page. When this matches the object's size, it doesn't scroll.

Size="35,50" Width and height of the object

UserMovable="true" The page can be moved ingame via mouse

>
<Page

AbsorbsInput="false" Page is mouse clickable and blocks clicking objects behind it

BackgroundOpacity="1.000" Transparency of the objects background graphics, 1.000 is fully opaque, 0.000 is fully transparent

Location="0,-1" Name="WC_Frame"

PackLocation="left,top" location relationship to the parent object. In this case the top left corner of this page is anchored to the parent object. This setting determines how this object changes position when the parent object resizes. When not otherwise specified, the parent object's anchor is always left,top. Read SOE's doc for more info.

PackLocationProp="0000/0001,-001/0001" Numerical distance of page's anchor to parent object's anchor. Speeds rendering but isn't required.

PackSize="absolute,absolute" size relationship to the parent object. Determins how the child's size changes when the parent is resized. Absolute retains a fixed distance between parent and child edges, Proportional scales the child by the same percentage the parent object was scaled, Fixed means the child does not resize with the parent.

PackSizeProp="-005/0001,-002/0001" Numerical settings for the child,parent size relashionship. Speeds rendering but is not required.
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 03:22 AM.


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