Skip to content

Commit

Permalink
Added Comic section
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgm authored and Mgm committed Jun 2, 2009
1 parent 8bab7f7 commit c532dfd
Show file tree
Hide file tree
Showing 14 changed files with 236 additions and 48 deletions.
39 changes: 35 additions & 4 deletions 720p/Customisation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,13 @@
<selected>!Skin.HasSetting(nopicturefanart)</selected>
</control>

<control type="radiobutton" id="707">
<include>Objects_SettingsDefaultRadioButton</include>
<label>32000</label>
<onclick>Skin.ToggleSetting(nocomicfanart)</onclick>
<selected>!Skin.HasSetting(nocomicfanart)</selected>
</control>

<control type="radiobutton" id="703">
<include>Objects_SettingsDefaultRadioButton</include>
<label>31279</label>
Expand All @@ -265,8 +272,9 @@
<onclick>Skin.Reset(nomoviefanart)</onclick>
<onclick>Skin.Reset(notvfanart)</onclick>
<onclick>Skin.Reset(nopicturefanart)</onclick>
<onclick>Skin.Reset(nocomicfanart)</onclick>
<onclick>Skin.Reset(noinfofanart)</onclick>
<visible>Skin.HasSetting(nomusicfanart) | Skin.HasSetting(nomoviefanart) | Skin.HasSetting(notvfanart) | Skin.HasSetting(nopicturefanart) | Skin.HasSetting(noinfofanart)</visible>
<visible>Skin.HasSetting(nomusicfanart) | Skin.HasSetting(nomoviefanart) | Skin.HasSetting(notvfanart) | Skin.HasSetting(nopicturefanart) | Skin.HasSetting(nocomicfanart) | Skin.HasSetting(noinfofanart)</visible>
</control>

<control type="button" id="706">
Expand All @@ -276,10 +284,11 @@
<onclick>Skin.SetBool(nomoviefanart)</onclick>
<onclick>Skin.SetBool(notvfanart)</onclick>
<onclick>Skin.SetBool(nopicturefanart)</onclick>
<onclick>Skin.SetBool(nocomicfanart)</onclick>
<onclick>Skin.SetBool(noinfofanart)</onclick>
<visible>![Skin.HasSetting(nomusicfanart) | Skin.HasSetting(nomoviefanart) | Skin.HasSetting(notvfanart) | Skin.HasSetting(nopicturefanart) | Skin.HasSetting(noinfofanart)]</visible>
</control>
<visible>![Skin.HasSetting(nomusicfanart) | Skin.HasSetting(nomoviefanart) | Skin.HasSetting(notvfanart) | Skin.HasSetting(nopicturefanart) | Skin.HasSetting(nocomicfanart) | Skin.HasSetting(noinfofanart)]</visible>
</control>

</control>

<control type="grouplist" id="14">
Expand Down Expand Up @@ -360,6 +369,28 @@
<selected>!Skin.HasSetting(nomediaflagsbutton)</selected>
</control>

</control>

<control type="grouplist" id="15">
<include>Objects_SettingsControlAreaVars</include>
<onup>15</onup>
<ondown>15</ondown>
<onleft>11</onleft>
<onright>11</onright>
<visible>Control.HasFocus(11) | ControlGroup(15).HasFocus</visible>

<control type="button" id="900">
<include>Objects_SettingsDefaultRadioButton</include>
<label>ENTER COMIC BOOK PATH (Current: $INFO[Skin.String(comicspath)])</label>
<onclick>Skin.SetPath(comicspath)</onclick>
</control>

<control type="button" id="901">
<include>Objects_SettingsDefaultRadioButton</include>
<label>ENTER PICTURES PATH (Current: $INFO[Skin.String(picturespath)])</label>
<onclick>Skin.SetPath(picturespath)</onclick>
</control>

</control>

<include>Furniture_SettingsFrontPanel</include>
Expand Down
7 changes: 7 additions & 0 deletions 720p/Includes_Backgrounds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
<info>Skin.String(CustomPictures)</info>
</include>

<include name="BackgroundVarsComics">
<icon>special://skin/media/backdrops/default_comics/default.png</icon>
<thumb>$INFO[Skin.String(CustomComics)]</thumb>
<imagepath>special://skin/media/backdrops/default_comics/default.png</imagepath>
<info>Skin.String(CustomComics)</info>
</include>

<include name="BackgroundVarsMovies">
<icon>special://skin/media/backdrops/default_movies/default.png</icon>
<thumb>$INFO[Skin.String(CustomMovies)]</thumb>
Expand Down
33 changes: 31 additions & 2 deletions 720p/Includes_MainMenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,20 @@
</item>
<item id="5">
<label>31012</label>
<include>BackgroundVarsPictures</include>
<onclick>XBMC.ActivateWindow(MyPictures)</onclick>
<include>BackgroundVarsPictures</include>
<onclick>Skin.SetBool(pictures)</onclick>
<onclick>Skin.Reset(comics)</onclick>
<onclick>XBMC.ActivateWindow(MyPictures,$INFO[Skin.String(picturespath)])</onclick>
<visible>!Skin.HasSetting(nopictures)</visible>
</item>
<item id="14">
<label>32001</label>
<include>BackgroundVarsComics</include>
<onclick>Skin.SetBool(comics)</onclick>
<onclick>Skin.Reset(pictures)</onclick>
<onclick>XBMC.ActivateWindow(MyPictures,$INFO[Skin.String(comicspath)])</onclick>
<visible>!Skin.HasSetting(nocomics)</visible>
</item>
<item id="6">
<label>31013</label>
<include>BackgroundVarsMovies</include>
Expand Down Expand Up @@ -275,6 +285,13 @@
<onclick>SetFocus(92)</onclick>
<visible>!Skin.HasSetting(nopictures)</visible>
</item>
<item id="14">
<label>32001</label>
<include>BackgroundVarsComics</include>
<onclick>Skin.SetString(custom,CustomComics)</onclick>
<onclick>SetFocus(92)</onclick>
<visible>!Skin.HasSetting(nocomics)</visible>
</item>
<item id="6">
<label>31013</label>
<include>BackgroundVarsMovies</include>
Expand Down Expand Up @@ -446,6 +463,18 @@
<onclick>Skin.Reset(nopictures)</onclick>
<visible>Skin.HasSetting(nopictures)</visible>
</item>
<item id="11">
<label>32001</label>
<include>BackgroundVarsPictures</include>
<onclick>Skin.SetBool(nocomics)</onclick>
<visible>!Skin.HasSetting(nocomics)</visible>
</item>
<item id="11">
<label2>32001</label2>
<include>BackgroundVarsPictures</include>
<onclick>Skin.Reset(nocomics)</onclick>
<visible>Skin.HasSetting(nocomics)</visible>
</item>
<item id="6">
<label>31013</label>
<include>BackgroundVarsMovies</include>
Expand Down
4 changes: 2 additions & 2 deletions 720p/Includes_Objects.xml
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
<onclick>Skin.ToggleSetting(smallmoviewall)</onclick>
<onclick>XBMC.ReloadSkin</onclick>
<visible>Control.IsVisible(53)</visible>
<visible>[Window.IsActive(1) | Window.IsActive(24) | Window.IsActive(25)] + !Container.Content(episodes)</visible>
<visible>[Window.IsActive(1) | Window.IsActive(24) | Window.IsActive(25)] + !Container.Content(episodes) | Window.IsActive(2) + Skin.HasSetting(comics)</visible>
</control>
<control type="togglebutton" id="923">
<include>Objects_MediaMenuButton</include>
Expand All @@ -523,7 +523,7 @@
<onclick>Skin.ToggleSetting(smallmusicwall)</onclick>
<onclick>XBMC.ReloadSkin</onclick>
<visible>Control.IsVisible(53)</visible>
<visible>[Window.IsActive(500) | Window.IsActive(501) | Window.IsActive(502) | Window.IsActive(2) | [Window.IsActive(25) + Container.Content(episodes)]]</visible>
<visible>[Window.IsActive(500) | Window.IsActive(501) | Window.IsActive(502) | Window.IsActive(2) + Skin.HasSetting(pictures) | [Window.IsActive(25) + Container.Content(episodes)]]</visible>
</control>
</include>

Expand Down
2 changes: 2 additions & 0 deletions 720p/Includes_Reset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<onclick>Skin.SetString(gametrailerpath,Gametrailers)</onclick>
<onclick>Skin.SetString(movietrailerpath,Movietrailers)</onclick>
<onclick>Skin.SetString(comicspath,Comics)</onclick>
<onclick>Skin.SetString(picturespath,Pictures)</onclick>
</include>

<include name="keepusersettings">
Expand All @@ -32,6 +33,7 @@
<onclick>Skin.Reset(tvlibrary)</onclick>
<onclick>Skin.Reset(clips)</onclick>
<onclick>Skin.Reset(nopictures)</onclick>
<onclick>Skin.Reset(nocomics)</onclick>
<onclick>Skin.Reset(weather)</onclick>
<onclick>Skin.Reset(adult)</onclick>
<onclick>Skin.Reset(keepiconaspect)</onclick>
Expand Down
40 changes: 39 additions & 1 deletion 720p/Includes_Settings_LabelsButtons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@
<onclick>SetFocus(400)</onclick>
<onleft>400</onleft>
<onright>400</onright>
<onup>10</onup>
<onup>11</onup>
<ondown>7</ondown>
<visible allowhiddenfocus="true">![Control.HasFocus(6) | ControlGroup(20).HasFocus]</visible>
</control>
Expand Down Expand Up @@ -956,6 +956,44 @@
<include>Objects_SettingsSectionMenuButtonSubtitle</include>
<visible>Control.HasFocus(10) | ControlGroup(14).HasFocus</visible>
</control>
<control type="button" id="11">
<description>Purge</description>
<posy>290</posy>
<label>32002</label>
<include>Objects_SettingsSectionMenuButton</include>
<onup>10</onup>
<ondown>6</ondown>
<onleft>900</onleft>
<onright>900</onright>
<visible allowhiddenfocus="true">![Control.HasFocus(11) | ControlGroup(15).HasFocus]</visible>
</control>
<control type="button">
<description>Purge</description>
<posy>290</posy>
<label>32002</label>
<include>Objects_SettingsSectionMenuButtonFocused</include>
<onup>9</onup>
<ondown>6</ondown>
<onleft>40</onleft>
<onright>40</onright>
<visible>Control.HasFocus(11) | ControlGroup(15).HasFocus</visible>
</control>
<control type="label">
<description>My Weather Sub Unfocused</description>
<posy>322</posy>
<label>32003</label>
<textcolor>FFf5f5f5</textcolor>
<include>Objects_SettingsSectionMenuButtonSubtitle</include>
<visible>![Control.HasFocus(11) | ControlGroup(15).HasFocus]</visible>
</control>
<control type="label">
<description>My Weather Sub Unfocused</description>
<posy>322</posy>
<label>32003</label>
<textcolor>FF262728</textcolor>
<include>Objects_SettingsSectionMenuButtonSubtitle</include>
<visible>Control.HasFocus(11) | ControlGroup(15).HasFocus</visible>
</control>
</control>
</include>

Expand Down
16 changes: 8 additions & 8 deletions 720p/Includes_Submenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
<control type="button" id="40">
<include>Submenu_Button</include>
<include>MovieShortcutBools</include>
<label>31920</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,recentlyaddedmovies,return)</onclick>
<label>Trailers</label>
<onclick>XBMC.ActivateWindow(25,plugin://video/apple movie trailers lite/,return)</onclick>
</control>
<control type="button" id="41">
<include>Submenu_Button</include>
<include>MovieShortcutBools</include>
<label>31921</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,movietitles,return)</onclick>
<label>31920</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,recentlyaddedmovies,return)</onclick>
</control>
<control type="button" id="42">
<include>Submenu_Button</include>
Expand All @@ -79,14 +79,14 @@
<control type="button" id="45">
<include>Submenu_Button</include>
<include>MovieShortcutBools</include>
<label>31925</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,moviedirectors,return)</onclick>
<label>Plugins</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,plugins,return)</onclick>
</control>
<control type="button" id="46">
<include>Submenu_Button</include>
<include>MovieShortcutBools</include>
<label>31926</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,moviestudios,return)</onclick>
<label>31932</label>
<onclick>XBMC.ActivateWindow(MyVideoFiles)</onclick>
</control>
</control>

Expand Down
34 changes: 30 additions & 4 deletions 720p/MyPics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<width>0</width>
<height>0</height>
<texture>-</texture>
<visible>!Skin.HasSetting(nopicturefanart) + [Control.HasFocus(57) | Control.HasFocus(60) | Control.HasFocus(94)] + [!Container(57).OnNext + !Container(57).OnPrevious]</visible>
<visible>![Skin.HasSetting(nopicturefanart) | Skin.HasSetting(nocomicfanart)] + [Control.HasFocus(57) | Control.HasFocus(60) | Control.HasFocus(94)] + [!Container(57).OnNext + !Container(57).OnPrevious]</visible>
<animation effect="fade" start="0" end="100" time="150" delay="3000">Visible</animation>
</control>

Expand All @@ -31,23 +31,31 @@
</control>

<control type="multiimage">
<visible>Window.IsActive(2) + Skin.HasSetting(pictures)</visible>
<include>BackgroundVarsGlobal</include>
<include>BackgroundVarsPictures</include>
<visible>!Control.IsVisible(668)</visible>
</control>

<control type="multiimage">
<visible>Window.IsActive(2) + Skin.HasSetting(comics)</visible>
<include>BackgroundVarsGlobal</include>
<include>BackgroundVarsComics</include>
<visible>!Control.IsVisible(668)</visible>
</control>

<control type="image">
<include>FullscreenDimensions</include>
<texture>windows/fanart_back.png</texture>
<visible>!Skin.HasSetting(nopicturefanart) + !Control.IsVisible(53) + !Control.IsVisible(50) + !IsEmpty(listitem.filenameandpath)</visible>
<visible>![Skin.HasSetting(nopicturefanart) | Skin.HasSetting(nocomicfanart)] + !Control.IsVisible(53) + !Control.IsVisible(50) + !IsEmpty(listitem.filenameandpath)</visible>
<visible>substring(listitem.filenameandpath,jpg) | substring(listitem.filenameandpath,bmp) | substring(listitem.filenameandpath,png) | substring(listitem.filenameandpath,tif)</visible>
<animation effect="fade" end="0" time="200">WindowClose</animation>
<animation effect="fade" start="0" end="100" time="400">VisibleChange</animation>
</control>

<control type="largeimage" id="71">
<include>FullscreenDimensions</include>
<visible>!Skin.HasSetting(nopicturefanart) + !Control.IsVisible(53) + !Control.IsVisible(50) + !IsEmpty(listitem.filenameandpath)</visible>
<visible>![Skin.HasSetting(nopicturefanart) | Skin.HasSetting(nocomicfanart)] + !Control.IsVisible(53) + !Control.IsVisible(50) + !IsEmpty(listitem.filenameandpath)</visible>
<visible>substring(listitem.filenameandpath,jpg) | substring(listitem.filenameandpath,bmp) | substring(listitem.filenameandpath,png) | substring(listitem.filenameandpath,tif)</visible>
<animation effect="fade" end="0" time="200">WindowClose</animation>
<animation effect="fade" start="0" end="100" time="400">VisibleChange</animation>
Expand Down Expand Up @@ -86,6 +94,13 @@

<control type="label">
<label>31031</label>
<visible>Window.IsActive(2) + Skin.HasSetting(pictures)</visible>
<include>Objects_MediaLabel</include>
</control>

<control type="label">
<label>32001</label>
<visible>Window.IsActive(2) + Skin.HasSetting(comics)</visible>
<include>Objects_MediaLabel</include>
</control>

Expand Down Expand Up @@ -145,7 +160,16 @@
<usealttexture>Skin.HasSetting(nopicturefanart)</usealttexture>
<onclick>Skin.SetBool(nopicturefanart)</onclick>
<altclick>Skin.Reset(nopicturefanart)</altclick>
<visible>Window.IsActive(2) + Control.IsVisible(57)</visible>
<visible>Window.IsActive(2) + Skin.HasSetting(pictures) + Control.IsVisible(57)</visible>
</control>

<control type="togglebutton" id="902">
<include>Objects_MediaMenuButton</include>
<include>Objects_FanartToggleStrings</include>
<usealttexture>Skin.HasSetting(nocomicfanart)</usealttexture>
<onclick>Skin.SetBool(nocomicfanart)</onclick>
<altclick>Skin.Reset(nocomicfanart)</altclick>
<visible>Window.IsActive(2) + Skin.HasSetting(comics) + Control.IsVisible(57)</visible>
</control>

<include>Objects_WallGridButton</include>
Expand All @@ -155,12 +179,14 @@
<control type="button" id="6">
<label>108</label>
<include>Objects_MediaMenuButton</include>
<visible>Window.IsActive(2) + Skin.HasSetting(pictures)</visible>
</control>

<control type="togglebutton" id="9">
<label>$LOCALIZE[31051]: $LOCALIZE[31078]</label>
<altlabel>$LOCALIZE[31051]: $LOCALIZE[31077]</altlabel>
<include>Objects_MediaMenuButton</include>
<visible>Window.IsActive(2) + Skin.HasSetting(pictures)</visible>
</control>

<control type="togglebutton" id="996">
Expand Down
Loading

0 comments on commit c532dfd

Please sign in to comment.