Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > Graphics modification help.
User Name
Password

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-27-2004, 12:03 PM   #1
anjilek
A Ghoul
 
Join Date: Dec 2003
Server: MT
Posts: 19
Default How do I slim down my code for an item?

Whats the bare minimum code for calling up a graphic as an item?

Here is what I have as an item.
Code:
<Ui2DAnimation item = "CornerUL"> <Cycle>true</Cycle> <Frames> <Texture>dj_pw.tga</Texture> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>6</CX> <CY>6</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation>


No I am curious, I was going to use a cut an paste like -

Code:
<Label item="CornerUL"> <ScreenID>PW_CornerUL</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>6</CX> <CY>6</CY> </Size> <Text>.</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <NoWrap>true</NoWrap> <AlignCenter>True</AlignCenter> </Label>


What in here is extra?Seems to me like I could just use-
Code:
<Label item="CornerUL"> <ScreenID>PW_CornerUL</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>6</CX> <CY>6</CY> </Size> <AlignCenter>True</AlignCenter> </Label>


Would this work? I am using a 6*6 corner piece located at 0/0. Do I even need the <AlignCenter>? I am trying to minimize the code as much as possible and this would help a ton.
anjilek is offline   Reply With Quote
 




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


All times are GMT -5. The time now is 04:09 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI