02-13-08, 07:43 PM | #1 |
Making panels show up
So I wrote some xml to try and get the three panels in this screen shot to show up on screen. The problem is, when I start WoW, they don't show up.
Here is the XML code: Code:
<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> <Frame name="Chim_Unit_Frames" toplevel="false" frameStrata="low" enableMouse="true" movable="true" parent="UIParent" clampedToScreen="true"> <Size> <AbsDimension x="100" y="54" /> </Size> <Anchors> <Anchor point="CENTER" realtiveTo="BOTTOM"> <Offset> <AbsDimension x="20" y="0" /> </Offset> </Anchor> </Anchors> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltop-Border" bgFile="Interface\AddOns\Chime\Textures\PlainBackdrop"> <BackgroundInsets> <AbsInset left="4" right="4" top="4" bottom="4" /> </BackgroundInsets> <EdgeSize> <AbsValue val="16" /> </EdgeSize> <Color r="0.07450980392156863" g="0.203921568627451" b="0.3725490196078432" a="0.8100000000000001" /> <BorderColor r="0" g="0.2117647058823529" b="0.6705882352941176" /> </Backdrop> </Frame> <Frame name="Chim_Button" toplevel="false" frameStrata="medium" enableMouse="true" movable="true" parent="Chim_Unit_Frames" clampedToScreen="true"> <Size> <AbsDimension x="9" y="49" /> </Size> <Anchors> <Anchor point="CENTER" relativeTo="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\AddOns\Chim\Textures\PlainBackdrop"> <BackgroundInsets> <AbsInset left="1" right="1" top="1" bottom="1" /> </BackgroundInsets> <EdgeSize> <AbsValue val="4" /> </EdgeSize> <Color r="0.07450980392156863" g="0.203921568627451" b="0.3725490196078432" a="0.6" /> <BorderColor r="0" g="0.2078431372549019" b="0.6980392156862745" a="0.3725490196078432" /> </Backdrop> </Frame> <Frame name="Chim_ActionBar" toplevel="false" frameStrata="medium" enableMouse="true" movable="true" parent="Chim_Button" clampedToScreen="true"> <Size> <AbsDimension x="100" y="54" /> </Size> <Anchors> <Anchor point="CENTER" relativeTo="CENTER"> <Offset> <AbsDimension x="5" y="0" /> </Offset> </Anchor> </Anchors> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltop-Border" bgFile="Interface\AddOns\Chime\Textures\PlainBackdrop"> <BackgroundInsets> <AbsInset left="4" right="4" top="4" bottom="4" /> </BackgroundInsets> <EdgeSize> <AbsValue val="16" /> </EdgeSize> <Color r="0.07450980392156863" g="0.203921568627451" b="0.3725490196078432" a="0.8100000000000001" /> <BorderColor r="0" g="0.2117647058823529" b="0.6705882352941176" /> </Backdrop> </Frame> <Frame name="Chim_Map_Border" toplevel="false" frameStrata="low" enableMouse="true" movable="true" parent="UIParent" clampeToScreen="true"> <Size> <AbsDimension x="107" y="108" /> </Size> <Anchors> <Anchor point="TOPRIGHT"> <Offset> <AbsDimension x="0" y="0" /> </Offset> </Anchor> </Anchors> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltop-Border" bgFile="Interface\AddOns\Chim\Textures\PlainBackdrop"> <BackgroundInsets> <AbsInset left="4" right="4" top="4" bottom="4" /> </BackgroundInsets> <EdgeSize> <AbsValue val="16" /> </EdgeSize> <Color r="0.2235294117647059" g="0.2627450980392157" b="0.3725490196078432" /> <BorderColor r="0.4705882352941176" g="0.5529411764705883" b="0.788235294117647" /> </Backdrop> </Frame> <Frame name="Chim_Map_Buttons" toplevel="false" frameStrata="low" enableMouse="true"moveble="true" parent="Chim_Map_Border" clampedToScreen="true"> <Size> <AbsDimension x="107" y="33" /> </Size> <Anchors> <Anchor point="TOPRIGHT"> <Offset> <AbsDimension x="109" y="0" /> </Offset> </Anchor> </Anchors> <Backdrop edgeFile="Interface\Tooltips\UI-Tooltop-Border" bgFile="Interface\AddOns\Chim\Textures\PlainBackdrop"> <BackgroundInsets> <AbsInset left="4" right="4" top="4" bottom="4" /> </BackgroundInsets> <EdgeSize> <AbsValue val="16" /> </EdgeSize> <Color r="0.2235294117647059" g="0.2627450980392157" b="0.3725490196078432" /> <BorderColor r="0.4705882352941176" g="0.5529411764705883" b="0.788235294117647" /> </Backdrop> </Frame> <Frame parent="UIParent"> <Scripts> <OnLoad> Chim_OnLoad(self) </OnLoad> </Scripts> </Frame> </Ui> Code:
function Chim_OnLoad(self) end Thanks for any help.
__________________
Funtoo - Plan 9 - Windows 7 |
|
WoWInterface » Developer Discussions » Lua/XML Help » Making panels show up |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Switch to Hybrid Mode |
Threaded Mode |
|
|