EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > UI User Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 07-23-2010, 03:37 AM
oOTopsyOo oOTopsyOo is offline
A Young Mystail Rat
 
Join Date: Oct 2009
Server: Unkown
Posts: 5
Default show own createt window but iz dosnt work :(

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="1,1" Name="Testwindow" PackLocation="left,top" ScrollExtent="155,300" Size="155,300" UserMovable="true">
    <ImageStyle Name="bkgr">
        <ImageFrame Name="bkgr" Source="/images/fetish_background.dds" SourceRect="0,0,512,512" />
    </ImageStyle>
    <Image Name="bkgr" ScrollExtent="155,300" Size="155,300" Style="/bkgr" />

    <Page AbsorbsInput="false" Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="155,300" Size="155,300" Visible="false">
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="155,300" Size="155,300" />
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="155,300" Size="155,300" />
    </Page>
</Page>
adding the line <include>_testwindow.xml</include> in the eq2ui.custom.xml

build a macro with /show_window Custom.testwindow

but nothing happens. grrrrrrr i like to eat my keyboard xD whats wrong about my code ??

like to open a window with backround an frame *hmpf

This one:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="1,1" MaximumSize="200,40" MinimumSize="200,40" Name="Haste" PackLocation="left,top" ScrollExtent="200,40" Size="200,40" UserMovable="true">
    <Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" Location="9,10" Margin="0,0,5,0" Name="HasteLabel" ScrollExtent="52,19" Size="52,19" TextAlignment="Right" TextColor="#C7CFC7">Haste:</Text>
    <Text DynamicData="/GameData.Stats.Haste" Font="/TextStyles.Normal.NormalStyle" Location="60,10" Name="HasteValue" ScrollExtent="50,19" Size="50,19">500.0</Text>
    <Page Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="200,40" Size="200,40" Visible="false">
        <Page AbsorbsInput="false" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="200,40" Size="200,40" />
        <Page AbsorbsInput="false" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="200,40" Size="200,40" />
    </Page>
</Page>
works great ... shows my actually Haste:89


thx for helping

Last edited by oOTopsyOo : 07-23-2010 at 09:51 AM.
Reply With Quote
  #2  
Unread 07-23-2010, 08:42 AM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

*shrug*

Your include line has no file extension. I want to assume your custom XML file has an .xml extension.

Your /show_window command does not capitalize the window name correctly, thus parts of it will break.
Reply With Quote
  #3  
Unread 07-23-2010, 09:46 AM
oOTopsyOo oOTopsyOo is offline
A Young Mystail Rat
 
Join Date: Oct 2009
Server: Unkown
Posts: 5
Default

Quote:
Originally Posted by EQAditu View Post
*shrug*

Your include line has no file extension. I want to assume your custom XML file has an .xml extension.

Your /show_window command does not capitalize the window name correctly, thus parts of it will break.

ups sry forget to write .xml ..

the file extension is ok the 2. code works fine with /show_window Custom.Hate but the first on doe nothing.. in uibuilder i have the window with the backround from fetish, but on testserver i'll see nothing if i press the macro..

like to have an window with backround and borders, that can bee change in windowsettings ingame.. don't know what the mistake is in my code
Reply With Quote
  #4  
Unread 07-23-2010, 04:36 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I didn't look long, but if in your XML file it's: Name="Testwindow"

Then I believe caps matter:
/show_window Custom.Testwindow
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #5  
Unread 07-28-2010, 05:27 AM
oOTopsyOo oOTopsyOo is offline
A Young Mystail Rat
 
Join Date: Oct 2009
Server: Unkown
Posts: 5
Default

hmm well ok found my mistake, ty for help
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 02:31 PM.


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