Advertisement
Guest User

Context Menu Includes

a guest
Oct 11th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. <!-- =================== -->
  2. <!-- == Context Menus == -->
  3. <!-- =================== -->
  4.  
  5.  
  6. <include name="ContextMenuContentInfo">
  7. <control type="group">
  8. <posx>45</posx>
  9. <posy>25</posy>
  10. <include>TopOptionsSlideAnimations</include>
  11. <visible>!Window.IsVisible(LockSettings) + !Window.IsActive(ProfileSettings)</visible>
  12. <control type="grouplist">
  13. <posx>0</posx>
  14. <posy>0</posy>
  15. <height>70</height>
  16. <width>1000</width>
  17. <align>left</align>
  18. <aligny>center</aligny>
  19. <itemgap>20</itemgap>
  20. <orientation>horizontal</orientation>
  21. <control type="label">
  22. <include>TopBigLabel</include>
  23. <label>31009</label>
  24. </control>
  25. <control type="label">
  26. <include>TopZoomedSmallLabel</include>
  27. <label>3</label>
  28. <visible>!Container.Content(Movies) + !Container.Content(TVShows) + !Container.Content(Seasons) + !Container.Content(Episodes) + !Window.IsVisible(MusicLibrary) + !Window.IsVisible(MusicFiles) + !Substring(Container.FolderPath,addons://)</visible>
  29. </control>
  30. <control type="label">
  31. <include>TopZoomedSmallLabel</include>
  32. <label>342</label>
  33. <visible>Container.Content(Movies)</visible>
  34. </control>
  35. <control type="label">
  36. <include>TopZoomedSmallLabel</include>
  37. <label>31002</label>
  38. <visible>Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)</visible>
  39. </control>
  40. <control type="label">
  41. <include>TopZoomedSmallLabel</include>
  42. <label>33054</label>
  43. <visible>Container.Content(Seasons)</visible>
  44. </control>
  45. <control type="label">
  46. <include>TopZoomedSmallLabel</include>
  47. <label>20360</label>
  48. <visible>Container.Content(Episodes)</visible>
  49. </control>
  50. <control type="label">
  51. <include>TopZoomedSmallLabel</include>
  52. <label>31021</label>
  53. <visible>Window.IsVisible(MusicLibrary) + ![StringCompare(Container.FolderPath,special://musicplaylists/) | Substring(Container.FolderPath,.m3u,Right) | Substring(Container.FolderPath,.xsp,Right)]</visible>
  54. </control>
  55. <control type="label">
  56. <include>TopZoomedSmallLabel</include>
  57. <label>31022</label>
  58. <visible>Window.IsVisible(MusicFiles)</visible>
  59. </control>
  60. <control type="label">
  61. <include>TopZoomedSmallLabel</include>
  62. <label>$LOCALIZE[2] $LOCALIZE[559]</label>
  63. <visible>StringCompare(Container.FolderPath,special://musicplaylists/) | Substring(Container.FolderPath,.m3u,Right) | Substring(Container.FolderPath,.xsp,Right)</visible>
  64. </control>
  65. <control type="label">
  66. <include>TopZoomedSmallLabel</include>
  67. <label>24001</label>
  68. <visible>Substring(Container.FolderPath,addons://) + !Window.IsVisible(MusicLibrary) + !Window.IsVisible(MusicFiles)</visible>
  69. </control>
  70. </control>
  71. </control>
  72. </include>
  73.  
  74.  
  75.  
  76. <include name="ContextMenuDefault">
  77. <control type="image" id="999">
  78. <description>background image</description>
  79. <posx>0</posx>
  80. <posy>0</posy>
  81. <width>380</width>
  82. <height>405</height>
  83. <texture>-</texture>
  84. <aspectratio aligny="center">stretch</aspectratio>
  85. <visible>false</visible>
  86. </control>
  87. <control type="grouplist" id="996">
  88. <posx>0</posx>
  89. <posy>0</posy>
  90. <width>380</width>
  91. <height max="405">auto</height>
  92. <itemgap>0</itemgap>
  93. <onleft>Close</onleft>
  94. <onright>Close</onright>
  95. <animation effect="fade" start="0" end="100" time="250" reversible="true">WindowOpen</animation>
  96. <animation effect="fade" start="100" end="0" time="200" reversible="true">WindowClose</animation>
  97. </control>
  98. <control type="button" id="1000">
  99. <description>button template</description>
  100. <width>380</width>
  101. <height>45</height>
  102. <textcolor>77white</textcolor>
  103. <focusedcolor>white</focusedcolor>
  104. <disabledcolor>44white</disabledcolor>
  105. <shadowcolor>99000000</shadowcolor>
  106. <align>center</align>
  107. <aligny>top</aligny>
  108. <textwidth>320</textwidth>
  109. <textoffsetx>23</textoffsetx>
  110. <textoffsety>7</textoffsety>
  111. <texturefocus>windows/filemanager/button_fo.png</texturefocus>
  112. <texturenofocus>-</texturenofocus>
  113. <pulseonselect>no</pulseonselect>
  114. <font>FontSize_22</font>
  115. </control>
  116. </include>
  117.  
  118.  
  119. <include name="ContextMenuOnTopLeft">
  120. <control type="image" id="999">
  121. <description>background image</description>
  122. <posx>0</posx>
  123. <posy>0</posy>
  124. <width>1280</width>
  125. <height>1280</height>
  126. <texture>-</texture>
  127. <aspectratio aligny="center">stretch</aspectratio>
  128. <visible>false</visible>
  129. </control>
  130. <control type="grouplist" id="996">
  131. <posx>45</posx>
  132. <posy>75</posy>
  133. <width>330</width>
  134. <height max="520">auto</height>
  135. <itemgap>0</itemgap>
  136. <onleft>Close</onleft>
  137. <onright>Close</onright>
  138. <include>TopOptionsSlideAnimations</include>
  139. </control>
  140. <control type="button" id="1000">
  141. <description>button template</description>
  142. <width>330</width>
  143. <height>40</height>
  144. <textcolor>77white</textcolor>
  145. <focusedcolor>white</focusedcolor>
  146. <disabledcolor>44white</disabledcolor>
  147. <shadowcolor>99000000</shadowcolor>
  148. <align>left</align>
  149. <aligny>top</aligny>
  150. <textwidth>320</textwidth>
  151. <textoffsetx>23</textoffsetx>
  152. <textoffsety>5</textoffsety>
  153. <texturefocus>buttons/contextmenu_fo.png</texturefocus>
  154. <texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
  155. <pulseonselect>no</pulseonselect>
  156. <font>FontSize_20</font>
  157. </control>
  158. </include>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement