Skip to content

Commit

Permalink
[Code] improvements (beatmasterRS#529)
Browse files Browse the repository at this point in the history
* [Code] improvements

* [Code] improvements

* Update Includes_Home.xml

* [Code] improvements
  • Loading branch information
beatmasterRS authored Sep 22, 2021
1 parent 417afbf commit d335c17
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 385 deletions.
32 changes: 3 additions & 29 deletions 1080i/Custom_1297_Blur.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,35 +300,9 @@
<height>150</height>
<left>450</left>
<top>250</top>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[20186]...</label>
<textcolor>ffededed</textcolor>
</control>
<include content="BusySpinner">
<param name="color" value="ffededed" />
</include>
</control>
</control>
</control>
Expand Down
32 changes: 3 additions & 29 deletions 1080i/Custom_DialogBusy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,9 @@
<width>450</width>
<height>100</height>
<include>Animation.DelayFadeIn</include>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[20186]...</label>
<textcolor>ffededed</textcolor>
</control>
<include content="BusySpinner">
<param name="color" value="ffededed" />
</include>
</control>
</control>
</controls>
Expand Down
30 changes: 1 addition & 29 deletions 1080i/Custom_MovieDB_Movies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,7 @@
<visible>Container(9500).IsUpdating</visible>
<include>Animation.FadeIn</include>
<include>Animation.FadeOut</include>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[31138]...</label>
<textcolor>Dark1</textcolor>
</control>
<include>BusySpinner</include>
</control>
<control type="list" id="9500">
<visible allowhiddenfocus="true">!Container(9500).IsUpdating</visible>
Expand Down
30 changes: 1 addition & 29 deletions 1080i/Custom_MovieDB_Shows.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,7 @@
<visible>Container(9500).IsUpdating</visible>
<include>Animation.FadeIn</include>
<include>Animation.FadeOut</include>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[31138]...</label>
<textcolor>Dark1</textcolor>
</control>
<include>BusySpinner</include>
</control>
<control type="list" id="9500">
<visible allowhiddenfocus="true">!Container(9500).IsUpdating</visible>
Expand Down
32 changes: 3 additions & 29 deletions 1080i/DialogBusy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,9 @@
<width>450</width>
<height>100</height>
<include>Animation.DelayFadeIn</include>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[20186]...</label>
<textcolor>ffededed</textcolor>
</control>
<include content="BusySpinner">
<param name="color" value="ffededed" />
</include>
</control>
</control>
</controls>
Expand Down
35 changes: 35 additions & 0 deletions 1080i/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4601,4 +4601,39 @@
<value condition="Skin.HasSetting(home.netflix.autoplay.trailer)">special://skin/extras/playlists/Spotlight.xsp</value>
<value>special://skin/extras/playlists/RandomMovies.xsp</value>
</variable>

<include name="BusySpinner">
<param name="color" default="Dark1"/>
<definition>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<texture>dialog/loading-back.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="image">
<description>Busy animation</description>
<centerleft>54</centerleft>
<centertop>54</centertop>
<width>100</width>
<height>100</height>
<animation effect="rotate" condition="true" start="360" end="0" loop="true" time="1000" center="auto">Conditional</animation>
<texture colordiffuse="$VAR[ColorHighlight]">dialog/loading-spinner.png</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label">
<description>Busy label</description>
<posx>105</posx>
<posy>30</posy>
<width>720</width>
<height>48</height>
<align>left</align>
<label>$LOCALIZE[31138]...</label>
<textcolor>$PARAM[color]</textcolor>
</control>
</definition>
</include>
</includes>
Loading

0 comments on commit d335c17

Please sign in to comment.