View Single Post
Old 02-24-2010, 11:42 AM   #2
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 204
Interface Author - Click to view interfaces
Default

The easy answer is Windows_Pieces01.tga. There are several border pieces in that file, so I will also give the long answer.

In order to be sure that you have the right place, begin by looking in the EQUI_Templates.xml file, and search for the entry for WDT_Rounded. Under there, find the <border> tag. In there, all of the pieces are defined (bottom, top left, etc). These will be names of animations.

Next, look in EQUI_Animations.xml file. Search for the border piece from the templates file; in this case for example, A_RoundedFrameBottom. One of the tags describes the source texture file. In the default, this is described as Windows_Pieces01.tga.

I mention the long answer, because if you are using a custom UI, these may not necessarily be in the default locations. This means, you may can find custom templates and animations defined directly in the UI piece it is used in, so knowing how to track it down can be handy.

Below is samples from the default UI to illustrate what I am referring to.

EQUI_Templates.xml:

Code:
<Border> <TopLeft>A_RoundedFrameWithTitleTopLeft</TopLeft> <Top>A_RoundedFrameWithTitleTop</Top> <TopRight>A_RoundedFrameWithTitleTopRight</TopRight> <RightTop>A_RoundedFrameWithTitleRightTop</RightTop> <Right>A_RoundedFrameRight</Right> <RightBottom>A_RoundedFrameRightBottom</RightBottom> <BottomRight>A_RoundedFrameBottomRight</BottomRight> <Bottom>A_RoundedFrameBottom</Bottom> <BottomLeft>A_RoundedFrameBottomLeft</BottomLeft> <LeftTop>A_RoundedFrameWithTitleLeftTop</LeftTop> <Left>A_RoundedFrameLeft</Left> <LeftBottom>A_RoundedFrameLeftBottom</LeftBottom> <OverlapLeft>0</OverlapLeft> <OverlapTop>0</OverlapTop> <OverlapRight>0</OverlapRight> <OverlapBottom>0</OverlapBottom> </Border>


EQUI_Animations.xml (A_RoundedFrameBottom):

Code:
<Ui2DAnimation item="A_RoundedFrameBottom"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>190</X> <Y>182</Y> </Location> <Size> <CX>5</CX> <CY>5</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation>
valaury3169 is offline   Reply With Quote