Thread: curses window
View Single Post
  #1  
Unread 07-21-2011, 12:08 PM
dx2 dx2 is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 43
Default curses window

Trying to get this running. Window shall show curses when they appear:

I am looking for something that is equivalent to ontextchanged just for icons (like oniconchanged) (is there some kind of workaround?)

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="248,321" MaximumSize="16384,16384" MinimumSize="100,31" Name="CurseActivity" PackLocation="center,bottom" ScrollExtent="196,31" Size="196,31" UserMovable="true" UserResizable="true">
<Text DynamicData="GameData.Self.Subclass" Name="ini" OnTextChanged="show_window Custom.CurseActivity" />
<TextStyle Algorithm="Simple" FontName="Arial" Language="english" Leading="-2" Name="FontArial13T" PointSize="13" UseCachedFont="true" />
<Composite AbsorbsInput="false" Location="1,1" Name="Composite" PackSize="a,a" ScrollExtent="194,29" Size="194,29" SpacingType="Fill">

<Page AbsorbsInput="false" Location="2,0" MaximumSize="16384,27" MinimumSize="95,27" Name="1" OnHide="Icon.DynamicData=&apos;&apos;" OnShow="Icon.DynamicData=&apos;/GameData.Raid.Member_1.Effect5&apos;" PackSize="a,f" ScrollExtent="191,27" Size="191,27" Visible="true">
<Text AbsorbsInput="false" DynamicData="Parent.Parent.Parent.MainHUD.Raid.Volume.Group1.Member1.Basic.Name.Text" Font="/TextStyles.Normal.NormalStyle" Location="29,14" Name="Target" Opacity="0.900" PackLocation="NNN" PackSize="a,f" ScrollExtent="96,12" ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="96,12" TextAlignment="Left" TextColor="#D5D5D5" />
<Button BackgroundColor="#FF0000" BackgroundOpacity="0.000" Location="29,15" Name="TargetButton" OnHoverIn="BackgroundOpacity='0.300' TRG=Parent.Parent.Raid.Volume.Group1.Member1.Basic.Name.Text" OnHoverOut="BackgroundOpacity='0.000'" OnPress="target TRG" PackLocation="NNN" PackSize="a,f" ScrollExtent="96,11" Size="96,11" Style="/ButtonStyles.BoxButton" Tooltip="Target" />
<Icon AbsorbsInput="false" DynamicData="/GameData.Raid.Member_1.Effect5" BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="0,2" MouseOverColor="#FFFF00" Name="Icon" PackLocation="Left,Top" ScrollExtent="25,25" Size="25,25" Visible="false" />
</Page>

<Page AbsorbsInput="false" Location="2,29" MaximumSize="16384,27" MinimumSize="95,27" Name="2" OnHide="Icon.DynamicData=&apos;&apos;" OnShow="Icon.DynamicData=&apos;/GameData.Raid.Member_2.Effect5&apos;" PackSize="a,f" ScrollExtent="191,27" Size="191,27" Visible="true">
<Text AbsorbsInput="false" DynamicData="Parent.Parent.Parent.MainHUD.Raid.Volume.Group1.Member1.Basic.Name.Text" Font="/TextStyles.Normal.NormalStyle" Location="29,14" Name="Target" Opacity="0.900" PackLocation="NNN" PackSize="a,f" ScrollExtent="96,12" ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="96,12" TextAlignment="Left" TextColor="#D5D5D5" />
<Button BackgroundColor="#FF0000" BackgroundOpacity="0.000" Location="29,15" Name="TargetButton" OnHoverIn="BackgroundOpacity='0.300' TRG=Parent.Target.LocalText" OnHoverOut="BackgroundOpacity='0.000'" OnPress="target TRG" PackLocation="NNN" PackSize="a,f" ScrollExtent="96,11" Size="96,11" Style="/ButtonStyles.BoxButton" Tooltip="Target" />
<Icon AbsorbsInput="false" DynamicData="/GameData.Raid.Member_2.Effect5" BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="0,2" MouseOverColor="#FFFF00" Name="Icon" PackLocation="Left,Top" ScrollExtent="25,25" Size="25,25" Visible="false" />
</Page>
 
...
...
...

</Composite>
<Page AbsorbsInput="false" Name="WindowFrame" PackSize="a,a" ScrollExtent="196,31" Size="196,31">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="-1,-2" Name="Frame" PackLocation="left,top" PackSize="a,a" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="198,34" Size="198,34" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="-1,-2" Name="Bkg" PackLocation="left,top" PackSize="a,a" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="201,36" Size="201,36" />
</Page>
</Page>
realized that auto cures would be possible with icon change event ^^

Last edited by dx2 : 07-21-2011 at 12:35 PM. Reason: :D
Reply With Quote