EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Hmm I made a soilid black window WHY :) ?? (https://www.eq2interface.com/forums/showthread.php?t=6700)

Soulzjd 09-05-2006 07:35 PM

Hmm I made a soilid black window WHY :) ??
 
FIRST OFF I DONT USE XML ... all I ever program are stupid little window apps in VB.NET or C# ....

Now.... when I /show_window this all i get is a black window nothing else. :confused: I move the mouse to where the close button is on the window and i can close it or right click and go to window settings and such..

So if someone could tell me why Id love to know :D

Also I spliced this using the code in eq2ui_journals_quest.xml so I am guessing i removed something i shouldnt have or picked the one xml file that isnt a complete window :eek: ... so any info would be great :rolleyes:
Code:

<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" eq2usescomwndcontrols="true" Location="11,118" MinimumSize="390,427" Name="tabstuff" ScrollExtent="400,610" Size="400,610" UserMovable="true" UserResizable="true" version="1.1">
<Page AbsorbsInput="false" Activated="true" Name="WindowFrame" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="400,610" Size="400,610">
<DataSource Name="TabSource">
<Data Name="T1" target="T1" text="T1"/>
<Data Name="T2" target="T2" text="T2"/>
<Data Name="T3" target="T3" text="T3"/>
<Data Name="T4" target="T4" text="T4"/>
<Data Name="T5" target="T5" text="T5"/>
<Data Name="T6" target="T6" text="T6"/>
<Data Name="T7" target="T7" text="T7"/>
</DataSource>
<TabbedPane ActiveTab="0" DataSource="TabSource" Location="30,38" Name="TabPane" PackLocation="left,top" PackLocationProp="0030/0001,0038/0001" PackSize="absolute,fixed" PackSizeProp="0060/0001,0002/0003" ScrollExtent="340,32" Size="340,32" Style="/WindowElements.WindowFrame.data.tab_data.tabbed_pane_style" TargetPage="TabPages"/>
<Page Location="20,70" Name="TabPages" PackLocation="left,top" PackLocationProp="0020/0001,0070/0001" PackSize="absolute,absolute" PackSizeProp="0040/0001,0095/0001" RStyleDefault="/FrameStyles.win_gold_plain" RStyleMouseOver=" " RStyleMouseOverActivated=" " RStyleMouseOverSelected=" " RStyleSelected=" " ScrollExtent="360,515" Size="360,515">
<Page BackgroundColor="#554736" Name="T1" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T1 stuff" Location="10,10" Name="T1" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T2" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T2 Stuff" Location="10,10" Name="T2" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T3" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T3 Stuff" Location="10,10" Name="T3" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T4" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T4 Stuff" Location="10,10" Name="T4" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T5" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T5 Stuff" Location="10,10" Name="T5" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T6" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T6 Stuff" Location="10,10" Name="T6" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
<Page BackgroundColor="#554736" Enabled="false" Name="T7" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="360,515" Size="360,515" Visible="false">
<Text LocalText="T7 Stuff" Location="10,10" Name="T7" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="340,495" Size="340,495"></Text>
</Page>
</Page>
<Button LocalTooltip="Window Settings" Location="342,8" Name="Settings" PackLocation="right,top" PackLocationProp="-058/0001,0008/0001" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.settings.style" Tooltip="Window Settings" UserMovable="true"></Button>
<Button LocalTooltip="Help" Location="347,8" Name="Help" PackLocation="right,top" PackLocationProp="-053/0001,0008/0001" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.help.style" Tooltip="Help" UserMovable="true" Visible="false"></Button>
<Button LocalTooltip="Close" Location="364,8" Name="Close" PackLocation="right,top" PackLocationProp="-036/0001,0008/0001" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.close.style" Tooltip="Close" UserMovable="true"></Button>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="LeftGrouper" RStyleDefault="/WindowElements.WindowFrame.data.left_grouper.rect" ScrollExtent="300,70" Size="300,70">
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" LocalText="other text" Location="30,3" MaxLines="1" Name="Title" PackSize="absolute,fixed" PackSizeProp="0130/0001,0002/0003" ScrollExtent="170,20" ShadowStyle="/ShadowStylesNew.Outline.style" Size="170,20" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">other text</Text>
</Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="230,0" Name="RightGrouper" PackLocation="right,top" PackLocationProp="-170/0001,0000/0001" RStyleDefault="/WindowElements.WindowFrame.data.right_grouper.rect" ScrollExtent="170,70" Size="170,70"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" RStyleDefault="/WindowElements.WindowFrame.data.frame.rect" ScrollExtent="400,610" Size="400,610"/>
<Page AbsorbsInput="false" backdropcontrol="true" BackgroundOpacity="1.000" Name="UpperTabBkg" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" PackSize="a,f" PackSizeProp="0000/0001,0002/0003" RStyleDefault="/WindowElements.WindowFrame.data.upper_tab_bkg.rect" ScrollExtent="400,70" Size="400,70"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,35" Name="Bkg" PackLocation="left,top" PackLocationProp="0000/0001,0035/0001" PackSize="absolute,absolute" PackSizeProp="0000/0001,0035/0001" RStyleDefault="/WindowElements.WindowFrame.data.bkg.rect" ScrollExtent="400,575" Size="400,575"/>
</Page>
</Page>

If you are reading this text down here thx :) if your looking for more input from me im lost as to what else might need to be said

:nana: <<-- i just like this so :nana: :D

lordebon 09-05-2006 09:30 PM

You said when you /show_window

Are you typing the name after that EXACTLY as it appears in your folder?

EX: If the file you have is eq2ui_FuN.Banana.xml

You would have to type /show_window FuN.Banana
/show_window Fun.Banana or anything else will have bad results.

Also, if its a new window, I think you have to add it as an include in the major name thing for it.

For example, if its named eq2ui_MainHUD.Banana.xml you have to edit eq2ui_MainHUD.xml to include your file.

Nitefang 09-05-2006 09:36 PM

not sure I will be of much help - but I'll give it a shot - hopefully someone with more knowledge than I will respond as well...
couple questions first,

1. are you using the UIBuilder to make this window ? if so, do all the elements like buttons and tabs and text show up in the builder ?

and #2, where is the window being called from ? eq2ui_journals.xml ? or somewhere else ?

Soulzjd 09-05-2006 10:00 PM

:eek: :eek: :eek: :nana: :nana: :nana: :mad: :mad: :mad:

This is why I like messing with any programming.

STUPID mistakes when learning

This fixed it.....
Quote:

For example, if its named eq2ui_MainHUD.Banana.xml you have to edit eq2ui_MainHUD.xml to include your file.
ya so i just copyed the eq2_mainhud.xml and added the include for my new window.

Still dont have text showing up under the tabs but if i cant figure that out ill be back

Thx for the info

And Nitefang
answers
1) yes/no I use the uibuilder to see the xml file in a treeview (pages/objects etc) and to allow a visual look to the Locations of the pages (btw is there any uibuilders out there that show the GRAPHICAL look not just simple squares?) ... but alot of editing i just load up VS(Visual Studio)
2) just in the chat window ingame .... /Show mainhud.<WindowName>

Also my uibuilder crashes when i try to move windows around in the visual side lol but oh well :)

lordebon 09-05-2006 10:49 PM

UI Builder is notoriously unstable and mem-leaky.

However, a new version might be coming down the pipes for us (yay!)... and it shouldn't be that crasy.

Are you opening the file with UI Builder? That is a problem: The only file you can "open" with UIBuilder is eq2ui.xml -- when you open that file, you'll be able to graphically edit all the files that eq2ui.xml works with (that entire UI set).

I'm guessing you might be opening the file itself with UIBuilder, which would cause a problem.

Nitefang 09-06-2006 07:43 AM

the link in this thread might help you get more use out of the UIBuilder - as buggy as it is, its a great tool. you've likely done much of whats in the intro already - but it may help fill in some gaps.



http://www.eq2interface.com/forums/showthread.php?t=858


All times are GMT -5. The time now is 10:31 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI