Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #164 from seadog/ratekeyboard
Browse files Browse the repository at this point in the history
Improved the keyboard navigation of the rating ui.
  • Loading branch information
Manromen committed Jul 30, 2012
2 parents 669162b + a08c41a commit 3a3dde6
Showing 1 changed file with 80 additions and 135 deletions.
215 changes: 80 additions & 135 deletions resources/skins/Default/720p/rate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,86 +73,64 @@
<fadetime>20</fadetime>
<aspectratio>scale</aspectratio>
</control>
<control type="button" id="101">
<description>Current not rated</description>
<posx>20</posx>
<posy>60</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-no-rating.png</texturefocus>
<texturenofocus diffuse="44000000">current-no-rating.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label>Unrated</label>
<textcolor>ff666666</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>80ffffff</disabledcolor>
<align>center</align>
<aligny>center</aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>105</onup>
<ondown>102</ondown>
<onleft>104</onleft>
<onright>102</onright>
<font>font12</font>
</control>
<control type="button" id="102">
<description>Current love</description>
<posx>20</posx>
<posy>60</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-love.png</texturefocus>
<texturenofocus diffuse="44000000">current-love.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label> Unrate</label>
<textcolor>ff666666</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>80ffffff</disabledcolor>
<align>center</align>
<aligny>center</aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>101</onup>
<ondown>103</ondown>
<onleft>101</onleft>
<onright>103</onright>
<font>font12</font>
</control>
<control type="button" id="103">
<description>Current hate</description>
<control type="group" id="95">
<description>Current Rating Group</description>
<visible>true</visible>
<posx>20</posx>
<posy>60</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-hate.png</texturefocus>
<texturenofocus diffuse="44000000">current-hate.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label> Unrate</label>
<colordiffuse>ffffff</colordiffuse>
<textcolor>ff666666</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>80ffffff</disabledcolor>
<align>center</align>
<aligny>center</aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>102</onup>
<ondown>105</ondown>
<onleft>102</onleft>
<onright>104</onright>
<font>font12</font>
<control type="button" id="101">
<description>Current not rated</description>
<posx>0</posx>
<posy>0</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-no-rating.png</texturefocus>
<texturenofocus diffuse="44000000">current-no-rating.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>Unrated</label>
<font>font12</font>
<onright>104</onright>
<ondown>97</ondown>
</control>
<control type="button" id="102">
<description>Current love</description>
<posx>0</posx>
<posy>0</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-love.png</texturefocus>
<texturenofocus diffuse="44000000">current-love.png</texturenofocus>
<textoffsetx>23</textoffsetx>
<label>Unrate</label>
<font>font12</font>
<onright>104</onright>
<ondown>97</ondown>
</control>
<control type="button" id="103">
<description>Current hate</description>
<posx>0</posx>
<posy>0</posy>
<width>100</width>
<height>25</height>
<visible></visible>
<texturefocus>current-hate.png</texturefocus>
<texturenofocus diffuse="44000000">current-hate.png</texturenofocus>
<textoffsetx>23</textoffsetx>
<label>Unrate</label>
<font>font12</font>
<onright>104</onright>
<ondown>97</ondown>
</control>
</control>
<control type="button" id="104">
<description>Skip</description>
Expand All @@ -164,74 +142,48 @@
<texturefocus>skip-rating.png</texturefocus>
<texturenofocus diffuse="44000000">skip-rating.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label></label>
<textcolor>ff666666</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>80ffffff</disabledcolor>
<align>center</align>
<aligny>center</aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>106</onup>
<ondown>106</ondown>
<onleft>103</onleft>
<onright>101</onright>
<font>font12</font>
<onleft>95</onleft>
<ondown>97</ondown>
</control>
<control type="button" id="105">
<description>Love</description>
<control type="group" id="97">
<description>Love Hate Control Group</description>
<posx>20</posx>
<posy>105</posy>
<width>100</width>
<width>120</width>
<height>75</height>
<visible>true</visible>
<texturefocus>love.png</texturefocus>
<texturenofocus diffuse="44000000">love_f.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label></label>
<textcolor>ffffffff</textcolor>
<focusedcolor>ffaaaaaa</focusedcolor>
<disabledcolor>80ffffff</disabledcolor>
<align></align>
<aligny></aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>103</onup>
<ondown>101</ondown>
<onleft>106</onleft>
<onright>106</onright>
</control>
<control type="button" id="106">
<description>Hate</description>
<posx>140</posx>
<posy>105</posy>
<width>100</width>
<height>75</height>
<visible>true</visible>
<texturefocus>hate.png</texturefocus>
<texturenofocus diffuse="44000000">hate_f.png</texturenofocus>
<colordiffuse>ffffffff</colordiffuse>
<label></label>
<textcolor>ffffffff</textcolor>
<disabledcolor>80ffffff</disabledcolor>
<focusedcolor>ffffffff</focusedcolor>
<align></align>
<aligny></aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<pulseonselect>true</pulseonselect>
<onclick>-</onclick>
<onfocus>-</onfocus>
<onup>104</onup>
<ondown>104</ondown>
<onleft>105</onleft>
<onright>105</onright>
<defaultcontrol>105</defaultcontrol>
<control type="button" id="105">
<description>Love</description>
<posx>0</posx>
<posy>0</posy>
<width>100</width>
<texturefocus>love.png</texturefocus>
<texturenofocus diffuse="44000000">love_f.png</texturenofocus>
<onup>104</onup>
<ondown>108</ondown>
<onright>106</onright>
</control>
<control type="button" id="106">
<description>Hate</description>
<posx>0r</posx>
<posy>0</posy>
<width>100</width>
<texturefocus>hate.png</texturefocus>
<texturenofocus diffuse="44000000">hate_f.png</texturenofocus>
<onup>104</onup>
<ondown>108</ondown>
<onleft>105</onleft>
</control>
</control>
<control type="image" id="107">
<description>extention for rate show button</description>
Expand All @@ -251,18 +203,11 @@
<angle>0</angle>
<align>center</align>
<aligny>center</aligny>
<textoffsetx></textoffsetx>
<textoffsety></textoffsety>
<font>font13</font>
<colordiffuse>FFFFFFFF</colordiffuse>
<textcolor>FF666666</textcolor>
<focusedcolor>FFAAAAAA</focusedcolor>
<texturefocus></texturefocus>
<texturenofocus></texturenofocus>
<onup>102</onup>
<ondown>101</ondown>
<onleft>105</onleft>
<onright>105</onright>
<onup>97</onup>
</control>
</controls>
</window>
</window>

0 comments on commit 3a3dde6

Please sign in to comment.