Purpose:
This patch is to show the name of the file in stacked mode. So if you clicked on Family Guy Volume 1, it would show all of the Discs for the various episodes, then at the bottom of the dialog box beneath the Discs, it shows the name of the currently selected episode. I never understood why this was not always normal functionality and I am not sure if my patch is the right way to do it.
This helps me find a particular episode easily and is a much needed feature. The screen shots show what I am referring to.
Patch: (Updated 11/14/2010)
-Added code to detect whether or not a skin has the necessary control to show the title. If not, it will behave as the current default method. If the control exists, then the new title functionality will turn on automatically.
-Updated against SVN 26774
-Cleaned up disc centering code to fix issues with centering when certain number of discs were shown.
-Updated attached files to reflect SVN26774
Read notes below...
--Older original info--
I am attaching the patch against SVN 26596. Plus I am including a ZIP file with the patched skin file for Blue3 and Blue2Wide (only requires one control added to each). The ZIP also contains a patched Dialog.dll file for others to try. Remember to clear your Media Portal Cache if you want to try it. There are simple instructions in the ZIP.
This patch modifies and adds to some of the GUIFileStacking code. Also, I have it centering the box in the screen along with title based on screen resolution, etc.
I add this in every release, so I hope that it would be useful enough to add into the main code base. Feel free to change the code if there is a better way to implement this.
NOTE: (Notes added on 11/14/2010)
The control for CD40 as seen below seems to still have a bug in it. The left control is 139, but the right control should be 101 and not 11. It appears to be a typo unless somebody can explain why it would go to 11 and what it is? This needs to be fixed in both of the Blue3 skins and is included in the attached patch.
NOTE 2:
Skin designers can add the following control right before the "CD1" control in "dialogFileStacking.xml" if they want the title support to be detected and show up in their skins. See the updated "dialogFileStacking.xml" files in the ZIP for a reference if necessary.
Hope everyone enjoys the change.
Thanks,
cyberfix
This patch is to show the name of the file in stacked mode. So if you clicked on Family Guy Volume 1, it would show all of the Discs for the various episodes, then at the bottom of the dialog box beneath the Discs, it shows the name of the currently selected episode. I never understood why this was not always normal functionality and I am not sure if my patch is the right way to do it.
This helps me find a particular episode easily and is a much needed feature. The screen shots show what I am referring to.
Patch: (Updated 11/14/2010)
-Added code to detect whether or not a skin has the necessary control to show the title. If not, it will behave as the current default method. If the control exists, then the new title functionality will turn on automatically.
-Updated against SVN 26774
-Cleaned up disc centering code to fix issues with centering when certain number of discs were shown.
-Updated attached files to reflect SVN26774
Read notes below...
--Older original info--
I am attaching the patch against SVN 26596. Plus I am including a ZIP file with the patched skin file for Blue3 and Blue2Wide (only requires one control added to each). The ZIP also contains a patched Dialog.dll file for others to try. Remember to clear your Media Portal Cache if you want to try it. There are simple instructions in the ZIP.
This patch modifies and adds to some of the GUIFileStacking code. Also, I have it centering the box in the screen along with title based on screen resolution, etc.
I add this in every release, so I hope that it would be useful enough to add into the main code base. Feel free to change the code if there is a better way to implement this.
NOTE: (Notes added on 11/14/2010)
The control for CD40 as seen below seems to still have a bug in it. The left control is 139, but the right control should be 101 and not 11. It appears to be a typo unless somebody can explain why it would go to 11 and what it is? This needs to be fixed in both of the Blue3 skins and is included in the attached patch.
Code:
<control>
<description>CD40</description>
<type>button</type>
<id>140</id>
<width>113</width>
<height>80</height>
<textureFocus>button-cd-focus.png</textureFocus>
<textureNoFocus>button-cd-nofocus.png</textureNoFocus>
<onright>11</onright>
<onleft>139</onleft>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="250">WindowClose</animation>
</control>
NOTE 2:
Skin designers can add the following control right before the "CD1" control in "dialogFileStacking.xml" if they want the title support to be detected and show up in their skins. See the updated "dialogFileStacking.xml" files in the ZIP for a reference if necessary.
Code:
<control>
<description>Movie Title value</description>
<type>fadelabel</type>
<id>20</id>
<posX>300</posX>
<posY>270</posY>
<width>720</width>
<label>-</label>
<font>font12</font>
<align>center</align>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
</control>
Hope everyone enjoys the change.
Thanks,
cyberfix