PDA

View Full Version : making a standardframe window from within Wacs\winamp\winamp\xml.. how???


Plague
10th March 2003, 23:31
oh, and the path above is in #493..
in #488 it's Wacs\xml\winamp\xml I think..

I can get a window working, but I cannot use any of the stdframe gfx or the stdframe itself, without having to reconstruct the whole thing myself (ie: copying xml + images into my dir..).

Anyone knows how to do it?

I've tried:

<Wasabi:StandardFrame:NoStatus
x="0" y="0" w="0" h="0" relatw="1" relath="1"
content="wnd.content"
/>

aswell as:

<group
id="wasabi.standardframe.nostatusbar"
notify="content,popplermanual.content"
x="0" y="0"
w="0" h="0"
relatw="1"
relath="1"
/>

aswell as simply trying to use components.basetexture as my Layout background.
Nothing works without copying it to the dir I'm using..

also, I cannot use any of this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WinampAbstractionLayer version="0.8">

because I'm working from an xml file which already has it..

Please help...
This is starting to piss me off..

-Plague

Digitalhigh
11th March 2003, 03:09
So...you're trying to create a standardframe window just by calling the default winamp graphics/code?

Plague
11th March 2003, 03:18
yes..
it should work, I dont get it...?

-Plague

Digitalhigh
11th March 2003, 03:32
Maybe an <include> line for the standardframe's .xml file in wacs\winamp\whatever in skin.xml?

Plague
11th March 2003, 03:37
I don't have a skin.xml.
That's the point.
This isn't a normal skin.
I'm just trying to add a window.

-Plague

Vica
11th March 2003, 03:38
I just looked at BizzyD's mIRC script and apparently it uses your second method but with statusbar instead. Other wasabi layout types (nonstatus, modal) would crash build 488.

Would using the statusbar layout a viable alternative??

Plague
11th March 2003, 03:56
doesn't matter, don't work with any of the stdframes..
The problem is probably that it's not a standalone skin, it's incorporated inside the xml of a component.
I have gotten it to give me a window though and if I don't install multi-user support in Wa3, then it finds the stdframe too (I just got that to work).
The big problem is that it won't work in #488 and it won't work with multiuser installations of wa3..

-Plague

Plague
11th March 2003, 21:10
Ok, I think I'm gonna skip the window for older builds, making the installer choose which build is running and install different files depending on that...
Unless someone has a better idea...

-Plague