EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-05-2006, 07:35 PM
Soulzjd Soulzjd is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 5
Unhappy 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. 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

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 ... so any info would be great
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

<<-- i just like this so
Reply With Quote
  #2  
Unread 09-05-2006, 09:30 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

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.
Reply With Quote
  #3  
Unread 09-05-2006, 09:36 PM
Nitefang Nitefang is offline
A Griffon
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 124
Default

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 ?
Reply With Quote
  #4  
Unread 09-05-2006, 10:00 PM
Soulzjd Soulzjd is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 5
Default



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
Reply With Quote
  #5  
Unread 09-05-2006, 10:49 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

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.
Reply With Quote
  #6  
Unread 09-06-2006, 07:43 AM
Nitefang Nitefang is offline
A Griffon
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 124
Default

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

Last edited by Nitefang : 09-06-2006 at 07:46 AM.
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 09:37 PM.


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