I am working on converting SARS4 (EQPC) to work on the EQMac server Al'Kabor and I have encountered another odd behaviour which I cannot explain and I hope you can shed some light on it...
SARS4 uses the right-hand side of the EQUI_HotButtonWnd screen to hold two tabs for quick access to inventory items such as bags and clicky items. I can get the inventory items to display correctly and the tabs to work properly but despite setting the parent window Fade Opacity to 100, I can see that the quick access tabs are still fading when idle.
It works like this...
Code:
<Screen item = "HotButtonWnd">
<ScreenID/>
<Font>2</Font>
<RelativePosition>false</RelativePosition>
<Location>
<X>100</X>
<Y>100</Y>
</Location>
<Size>
<CX>237</CX>
<CY>350</CY>
</Size>
<DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
<Style_Transparent>true</Style_Transparent>
<Style_Titlebar>false</Style_Titlebar>
<Style_Closebox>false</Style_Closebox>
<Style_Minimizebox>false</Style_Minimizebox>
<Style_Border>false</Style_Border>
<Style_Sizable>false</Style_Sizable>
... snip out all the other <Pieces> for clarity of reading...
<Pieces>Inv_Subwindows</Pieces>
</Screen>
The sub windows are defined as follows...
Code:
<!-- TabBox Brings all Tab Pages Together -->
<TabBox item="Inv_Subwindows">
<ScreenID>Inv_Subwindows</ScreenID>
<RelativePosition>true</RelativePosition>
<Style_Border>false</Style_Border>
<AutoStretch>false</AutoStretch>
<Location>
<X>150</X>
<Y>68</Y>
</Location>
<Size>
<CX>90</CX>
<CY>250</CY>
</Size>
<TabBorderTemplate>FT_BlankTabBorder</TabBorderTemplate>
<PageBorderTemplate>FT_BlankPageBorder</PageBorderTemplate>
<Pages>Tab_1_Page</Pages>
<Pages>Tab_2_Page</Pages>
</TabBox>
<!-- Tab Page 1 -->
<Page item="Tab_1_Page">
<ScreenID>Tab_1_Page</ScreenID>
<RelativePosition>true</RelativePosition>
<Style_Transparent>true</Style_Transparent>
<Style_Border>false</Style_Border>
<DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
<TabIcon>A_Inv1TabIcon</TabIcon>
<TabIconActive>A_Inv1TabActiveIcon</TabIconActive>
<Pieces>Quick1</Pieces>
<Pieces>Quick2</Pieces>
<Pieces>Quick3</Pieces>
<Pieces>Quick4</Pieces>
<Pieces>Quick5</Pieces>
<Pieces>Quick6</Pieces>
<Pieces>Quick7</Pieces>
<Pieces>Quick8</Pieces>
<Pieces>Quick9</Pieces>
<Pieces>Quick10</Pieces>
</Page>
<!-- Tab Page 2 -->
<Page item="Tab_2_Page">
<ScreenID>Tab_2_Page</ScreenID>
<RelativePosition>true</RelativePosition>
<Style_Transparent>true</Style_Transparent>
<Style_Border>false</Style_Border>
<DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
<TabIcon>A_Inv2TabIcon</TabIcon>
<TabIconActive>A_Inv2TabActiveIcon</TabIconActive>
<Pieces>Quick11</Pieces>
<Pieces>Quick12</Pieces>
<Pieces>Quick13</Pieces>
<Pieces>Quick14</Pieces>
<Pieces>Quick15</Pieces>
<Pieces>Quick16</Pieces>
<Pieces>Quick17</Pieces>
<Pieces>Quick18</Pieces>
<Pieces>Quick19</Pieces>
<Pieces>Quick20</Pieces>
</Page>
The QuickXX pieces are defined like this...
Code:
<InvSlot item = "Quick1">
<ScreenID>InvSlot19</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<Background>A_InvPrimary</Background>
<EQType>13</EQType>
</InvSlot>
The expected behaviour would be for that right-hand window to inherit and use the parent's Fade opacity just like the left-hand block of hot buttons (which works perfectly), but in fact it appears to be ignoring the parent Fade Opacity completely and still fading to 50%.
Interestingly it is just the icons and boxes that fade - the tab buttons are always at 100% all the time.
Any clues? A better way to handle this?