View Single Post
  #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