Home Forum Downloads My Favorites Register FAQ

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

Reply
 
Thread Tools Display Modes
Old 10-10-2008, 01:27 AM   #1
Nastun
A Ghoul
 
Join Date: Dec 2003
Server: Mith Marr
Posts: 17
Interface Author - Click to view interfaces
Send a message via AIM to Nastun
Default Target Window Buff Area Issue

I didnt really want to start a new thread but I am sure there will be some that might be able to use this info. My coding is way rusty as its been since 2007 that I have posted a piece that I have updated. Anyways....this new target window has 2 screen items and buff window screen item is used as a piece of the main window. I would like to keep the ancoring so that I dont have to manually enter the loc's of 80+ icons. However I just want the buff icons to show and not the background.

Code:
<Screen item="Target_BuffWindow"> <ScreenID>BuffWindow</ScreenID> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>100</LeftAnchorOffset> <TopAnchorOffset>60</TopAnchorOffset> <RightAnchorOffset>100</RightAnchorOffset> <BottomAnchorOffset>0</BottomAnchorOffset> <BottomAnchorToTop>false</BottomAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference>Buffs on your target will show here</TooltipReference> <DrawTemplate>WDT_Inner</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> </Screen>


I know this controls the style of the box but when I delete it or change it I get a crash

<DrawTemplate>WDT_Inner</DrawTemplate>

So how do I remove the template but keep the ancoring? My con colors are also not working but thats the next thing to fix

In the attached image you can see the what I am explaining also the result of moving a buff to the main screen pieces area.
Attached Images
File Type: jpg Image1.jpg (14.2 KB, 30 views)
__________________

-=OUNVME=-
Nastun is offline   Reply With Quote
Old 10-10-2008, 08:02 AM   #2
shillingworth
A Predatory Creeper
 
Join Date: Dec 2002
Server: Bertoxxulous
Posts: 251
Interface Author - Click to view interfaces
Default

I like to keep an empty template around just for these kinds of situations, call mine WDT_Blank. The template references a single pixel that has an alpha value of 0 so that rectangle testing (for moving and resizing) still works. You could drop the pixel in it's own 1x1 image, but if you use images that have a pixel at alpha 0 then just use that instead so eq doesn't waste texture memory with a single pixel texture.

Another idea is to set Style_Transparent to true since that disables the draw template.
__________________

"Computers are like Air Conditioners, they stop working properly when you open Windows."
shillingworth is offline   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


All times are GMT -5. The time now is 06:05 PM.


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